Package Details: lightdm-unity-greeter 16.04.2-1

Git Clone URL: https://aur.archlinux.org/lightdm-unity-greeter.git (read-only)
Package Base: lightdm-unity-greeter
Description: The greeter (login screen) application for Unity. It is implemented as a LightDM greeter.
Upstream URL: https://launchpad.net/unity-greeter
Licenses: GPL3, LGPL3
Groups: unity
Submitter: chenxiaolong
Maintainer: horsemanoffaith
Last Packager: horsemanoffaith
Votes: 23
Popularity: 0.000187
First Submitted: 2011-10-02 20:35
Last Updated: 2016-03-25 03:03

Required by (3)

Sources (6)

Latest Comments

horsemanoffaith commented on 2016-04-29 04:12

I'm sorry for all the problems building this package. I have attempted to correct the problem, but so far have been unsuccessful. I am considering adding older files to the AUR so that I can get an older verison of the greeter running if it doesn't impact working packages. Stay tuned...

eraxe, I have a pkgbuild for gtk3-ubuntu 3.20, but it breaks the functionality of the greeter. I have been running a broken greeter for quite some time, because I need 3.20 to run gnome-terminal. I just built the unity-greeter for 16.10, but it has the same functionality problems. If I can figure out how to fix the problems, I will let you know. If you want to go back to original files, find the packages that were upgraded to the -ubuntu files, delete them, then reinstall the old non-ubuntu tagged files. That should revert you to Arch defaults.

eraxe commented on 2016-04-25 06:50

Makefile:480: recipe for target 'unity-greeter' failed
make[2]: *** [unity-greeter] Error 1
make[2]: Leaving directory '/home/philly/Downloads/lightdm-unity-greeter/src/unity-greeter-16.04.2/src'
Makefile:396: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/philly/Downloads/lightdm-unity-greeter/src/unity-greeter-16.04.2'
Makefile:337: recipe for target 'all' failed
make: *** [all] Error 2
----
How do i change the PKGBUILD to point to the 3.20 files?
- - - -
I totally regret installing unity greeter. It downloaded many dependencies and useless packages and replaced alot of my packages with -Ubuntu packages. I wasted an hour on this and i have no idea how to reverse the operation and replace the -ubuntu packages. Any help would be great.

m.en commented on 2016-04-24 23:11

I got this compiling with gtk3-ubuntu 3.18 with a dirty hack.
@@ -68,8 +69,11 @@
--sysconfdir=/etc \
--sbindir=/usr/bin \
--libexecdir=/usr/lib/lightdm
-
+
make || :
+ sed -i 's/gtk_widget_set_focus_on_click/gtk_button_set_focus_on_click/g' src/prompt-box.c
+ sed -i 's/gtk_widget_set_focus_on_click/gtk_button_set_focus_on_click/g' src/shutdown-dialog.c
+ sed -i 's/gtk_widget_set_focus_on_click/gtk_button_set_focus_on_click/g' src/main-window.c
sed -i '1i#include <gtk/gtkx.h>' src/menubar.c
make
}

But still gtk+ 3.20 is really needed, should wait longer.
I couldn't find any aur package on unity, so...
Does, anyone having problems regarding gtk+ 3.20 on unity regarding the title-bars or window-decorations?

horsemanoffaith commented on 2016-04-15 04:54

Unfortunately, this is a problem with gtk3-ubuntu. I downgraded gtk3-ubuntu to version 3.18 because 3.20 breaks the functionality of the greeter. Problem is, you need 3.20 to build this file. There's only a couple of options. #1, change the PKGBUILD to point to the 3.20 files, build gtk3-ubuntu on version 3.20, upgrade to 3.20, build lightdm-unity-greeter, then downgrade gtk3-ubuntu for the greeter to work properly (or you can use the broken greeter, but you'll be stuck with a single DE/WM and a poorly functioning greeter). The bad thing with this is I've found that it breaks other programs to downgrade gtk3-ubuntu (specifically gnome-terminal). The other option is to wait until Ubuntu starts developing 16.10 (16.04 development is frozen), and when they release unity-greeter that works correctly with gtk 3.20, I'll update the package. I'm still working on Unity-for-Arch packages, and if I stuble across a fix, I'll let you know.

Philipose commented on 2016-04-13 07:01

make[2]: Entering directory '/home/philly/Downloads/lightdm-unity-greeter/src/unity-greeter-16.04.2/src'
CC unity_greeter-menubar.o
CCLD unity-greeter
unity_greeter-main-window.o: In function `main_window_constructor':
main-window.c:(.text+0x16d8): undefined reference to `gtk_widget_set_focus_on_click'
unity_greeter-prompt-box.o: In function `prompt_box_real_create_name_grid':
prompt-box.c:(.text+0xcc1): undefined reference to `gtk_widget_set_focus_on_click'
unity_greeter-shutdown-dialog.o: In function `dialog_button_construct':
shutdown-dialog.c:(.text+0x2247): undefined reference to `gtk_widget_set_focus_on_click'
collect2: error: ld returned 1 exit status
Makefile:480: recipe for target 'unity-greeter' failed
make[2]: *** [unity-greeter] Error 1
make[2]: Leaving directory '/home/philly/Downloads/lightdm-unity-greeter/src/unity-greeter-16.04.2/src'
Makefile:396: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/philly/Downloads/lightdm-unity-greeter/src/unity-greeter-16.04.2'
Makefile:337: recipe for target 'all' failed
make: *** [all] Error 2


seems like the program cant find gtk_widget_set_focus_on_click. Any ideas?

horsemanoffaith commented on 2016-03-25 03:07

Zota,

I apologize. I removed libindicator3 from the AUR and replaced it with libindicator-gtk3-ubuntu, then did not update lightdm-unity-greeter. It is updated and builds correctly.

zota commented on 2016-03-20 17:37

Just after I started building it:

error: target not found: libindicator3

horsemanoffaith commented on 2016-01-20 07:09

Chenxiaolong orphaned this package, so I took it over. Package is updated and should build correctly.

horsemanoffaith commented on 2016-01-12 06:22

Okay, folks. I have added all the necessary files to the AUR to get this package working (libappindicator3 is up and running). I have heard nothing from Chenxiaolong for quite some time, so I'm not sure if he will continue to maintain this package, or if he will abandon it to someone else. If he were to abandon it, I'd take a stab at maintaining it in his stead.

horsemanoffaith commented on 2016-01-10 08:45

I was able to get this package to build without libappindicator3. When you try to build this package (I use yaourt, which makes it MUCH easier), it will get all the way to libappindicator, then will tell you that libappindicator depends on libindicator-gtk2 and 3. Well, earlier in the procedure we installed libindicator and libindicator3. Libindicator and libindicator-gtk2 conflict with each other, and so do libindicator3 and libindicator-gtk3. Here's the way around this problem, until I can get libappindicator3 uploaded: When yaourt asks you if you want to edit the PKGBUILD, say yes. Tell yaourt which one to use, and the PKGBUILD will pop up. Navigate down to the makedepends line, and where you see libindicator-gtk2 and libindicator-gtk3, edit them to say libindicator and libindicator3. Once you have that done, navigate down to package_libappindicator-gtk2 section, and do the same where libindicator-gtk2 is listed. Do the same in the libappindicator-gtk3 section. If you do this correctly, this package will build and you'll have the Unity greeter installed on your computer!

horsemanoffaith commented on 2016-01-10 08:01

To anyone who'd like to build this package- I have gotten just about everything this package needs either updated or created on the AUR. The only file that I'm missing right now is libappindicator3, which is currently owned by someone else. I have filed a request for that person to either upload a package or disown it so I can upload it. I'm pretty sure that after this is done, you'll be able to build this package successfully.

k3d3 commented on 2015-08-30 00:09

There's no libindicator3 package

mareke commented on 2015-05-29 13:26

Missing dependencies: unity-settings-daemon

pauloschilling commented on 2015-04-12 03:42

@eolien:

Unfortunately I didn't succeed, it asked me to install unity as well :(

I'm using lightdm-gtk-greeter from community repository instead: https://www.archlinux.org/packages/community/x86_64/lightdm-gtk-greeter/

Sorry for not being able to help you. =/

Cheers!

pauloschilling commented on 2015-04-12 03:41

@eolin:

Unfortunately I didn't succeed, it asked me to install unity as well :(

I'm using lightdm-gtk-greeter from community repository instead: https://www.archlinux.org/packages/community/x86_64/lightdm-gtk-greeter/

Sorry for not being able to help you. =/

Cheers!

eolien commented on 2015-04-09 09:16

pauloschilling, if I follow your link and try to makepkg -si, just for unity-settings-daemon, it requires all the tree of unity...

Is there any way to just install this missing dependancie and not all unity wm ?

pauloschilling commented on 2015-01-16 23:15

You can install libindicator-gtk3 from AUR.

https://aur.archlinux.org/packages/libindicator-gtk3/

But now it complains about unity-settings-daemon, found this:

https://github.com/chenxiaolong/Unity-for-Arch/tree/master/unity-settings-daemon

LiquidAurum commented on 2014-12-02 16:51

@MrJonAP After installing libindicator manually it still says libindicator dependency missing

Tyr3al commented on 2014-10-25 14:59

Or here if you have an 64bit system!
http://pkgbuild.com/~bgyorgy/ayatana/os/x86_64/

MrJonAP commented on 2014-09-10 08:01

You can get libindicator3 package in here:
http://pkgbuild.com/~bgyorgy/ayatana/os/i686/

ioquatix commented on 2014-07-11 11:43

Doesn't work for me.. issues with libindicator3 dependency.

progtologist commented on 2014-04-16 12:36

There is no light-themes package and the build fails.

Chazza commented on 2014-03-31 13:10

Hiya. For the ido problem, I've recently updated the ido-bzr package. Try using that instead. It should provide the required version of libido.

ak5 commented on 2014-03-13 07:48

Could you update this to use libindicator-gtk3 as dep?

xwildeyes commented on 2013-11-25 22:06

configure: error: Package requirements (
gtk+-3.0
gdk-x11-3.0
indicator3-0.4
libido3-0.1 >= 13.10.0
liblightdm-gobject-1 >= 1.4.0
freetype2
cairo-ft
libcanberra
x11
) were not met:

Requested 'libido3-0.1 >= 13.10.0' but version of libido is 12.10.2

Should I downgrade libido?

woowaa commented on 2013-11-11 07:30

It is a little confusing, as no link exists on AUR libindicator3's page.

Could this perhaps have something to do with why I cannot build indicator-applet (with dependencies)? I've compiled/installed libindicator-gtk3 seperately, which allows building of indicator-applet (beyond dependency check), but fails with:

unknown type name 'GtkActionGroup'
'GtkAction'
'GtkActionEntry'

woowaa commented on 2013-11-11 06:40

It is confusing

alucryd commented on 2013-10-14 12:33

Hey, I'll be renaming libindicator3 to libindicator-gtk3. Even if Ubuntu uses that name, it is just confusing, and a number at the end usually indicates a different package version on arch.

stidn commented on 2013-10-07 12:06

@ PositronicTomato

You need to install 'libindicator' you can find it at Chenxiaolong's git repo:

https://github.com/chenxiaolong/Unity-for-Arch/tree/master/libindicator

This'll also include libindicator3 if you haven't already installed it.

Anonymous comment on 2013-09-27 05:55

The build has been failing for me with this error:

-----------------
CC unity_greeter-menubar.o
menubar.c:47:39: fatal error: libindicator/indicator-ng.h: No such file or directory
#include "libindicator/indicator-ng.h"
^
compilation terminated.
----------------------------------

chenxiaolong commented on 2013-08-15 22:25

@Wimute: Unfortunately, ido in the AUR has not been updated yet. You'll need to install newer dependencies from my git repo:

https://github.com/chenxiaolong/Unity-for-Arch/tree/master/ido

chenxiaolong commented on 2013-08-15 22:20

@Wimute: Unfortunately, ido in the AUR has not been updated yet. You'll need to install newer dependencies from my git repo:

https://github.com/chenxiaolong/Unity-for-Arch/tree/master/ido

Anonymous comment on 2013-08-14 20:15

Hi, package is not building, due to wrong version of ido/libido3:
Part of log:
configure: error: Package requirements (
gtk+-3.0
gdk-x11-3.0
indicator3-0.4
libido3-0.1 >= 13.10.0
liblightdm-gobject-1 >= 1.4.0
freetype2
cairo-ft
libcanberra
x11
) were not met:

Requested 'libido3-0.1 >= 13.10.0' but version of libido is 12.10.2

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables UNITY_GREETER_CFLAGS
and UNITY_GREETER_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Anonymous comment on 2013-07-08 07:41

Hey guys i'm facing this error while instaling the unity greeter

error: failed retrieving file 'qt5-base-5.0.2-2-x86_64.pkg.tar.xz' from mirror.nl.leaseweb.net : The requested URL returned error: 404 Not Found
error: failed retrieving file 'qt5-base-5.0.2-2-x86_64.pkg.tar.xz' from mirror.de.leaseweb.net : The requested URL returned error: 404 Not Found
error: failed retrieving file 'qt5-base-5.0.2-2-x86_64.pkg.tar.xz' from mirror.us.leaseweb.net : The requested URL returned error: 404 Not Found
error: failed retrieving file 'qt5-base-5.0.2-2-x86_64.pkg.tar.xz' from ftp.tku.edu.tw : The requested URL returned error: 404 Not Found
error: failed retrieving file 'qt5-base-5.0.2-2-x86_64.pkg.tar.xz' from archlinux.polymorf.fr : The requested URL returned error: 404 Not Found
error: failed retrieving file 'qt5-base-5.0.2-2-x86_64.pkg.tar.xz' from archlinux.c3sl.ufpr.br : The requested URL returned error: 404 Not Found
error: failed retrieving file 'qt5-base-5.0.2-2-x86_64.pkg.tar.xz' from ftp.tku.edu.tw : Protocol rsync not supported or disabled in libcurl
error: failed retrieving file 'qt5-base-5.0.2-2-x86_64.pkg.tar.xz' from mirror.de.leaseweb.net : Protocol rsync not supported or disabled in libcurl
warning: failed to retrieve some files
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.
==> Restart building lightdm-ubuntu ? [y/N]

Any ideas?
Thanks

chenxiaolong commented on 2013-05-02 19:45

The package should build fine now. I've created a vala0.18 package (which coexists with the regular vala) and added it to the dependencies.

The reason the build is failing is because, once again, the vala developers are not documenting the API properly. The website[1] still says:

public void property_change (Window window, Atom property, Atom type, int format, PropMode mode, uint8[] data)

while vala 0.20.* requires

public void property_change (Window window, Atom property, Atom type, int format, PropMode mode, uint8[] data, int nelements)

[1] http://www.valadoc.org/#!api=gdk-3.0/Gdk.property_change

Anonymous comment on 2013-05-01 07:54

@sherlock.h:
Downgrade to vala-0.18.1-1
Rebuild and install
Upgrade back to vala (latest build)

Anonymous comment on 2013-04-30 06:01

I have installed all the dependencies but I'm getting few errors relating to 'vala' package.

make[2]: Entering directory `/tmp/packerbuild-0/lightdm-unity-greeter/lightdm-unity-greeter/src/unity-greeter-13.04.2/src'
VALAC unity_greeter_vala.stamp
background.vala:684.9-689.39: error: 1 missing arguments for `void Gdk.property_change (Gdk.Window window, Gdk.Atom property, Gdk.Atom type, int format, Gdk.PropMode mode, uint8[] data, int nelements)'
flat-button.vala:61.13-61.24: warning: Gtk.Button.pressed has been deprecated since 2.8. Use Gtk.Widget.button_press_event
flat-button.vala:64.9-64.21: warning: Gtk.Button.released has been deprecated since 2.8. Use Gtk.Widget.button_release_event
Compilation failed: 1 error(s), 2 warning(s)
make[2]: *** [unity_greeter_vala.stamp] Error 1

Thanks

chenxiaolong commented on 2013-03-30 17:27

@Zeroedout: Not a dumb question at all :) My lightdm-ubuntu package contains the patches necessary for extra features, such as the guest session and remote login to work properly.

Zeroedout commented on 2013-03-30 11:02

Is there any reason this depends on lightdm-ubuntu rather than lightdm in the official Community repo?

Sorry for the possibly dumb question but Google and the comments here turned up nothing (or I'm blind and didn't see it).

Anonymous comment on 2013-01-04 22:44

Recent upgrade to automake 1.13 breaks the package installation. 'AM_CONFIG_HEADER' problem. ? that this may be related to this:

http://momentarypause.blogspot.com/2006/02/acconfigheaders-vs-amconfigheaders.html

Though I am pretty sure I uninstalled automake 1.12...also, see:

http://www.gnu.org/software/automake/manual/html_node/Optional.html

Can be installed by downgrading automake back to 1.12.*.

Thanks for all your hard work.

Jristz commented on 2012-12-06 17:06

@YamashitaRen Know Issue onlightdm because lightdm use consolekit for is, you need live with it until a patch is found or upstream fix it or you deside use the deprecated consolekit

@chenxiaolong the background goes black besided if backgound have a valid path is a know bug. proably (or not) related to consolekit (see above)

YamashitaRen commented on 2012-07-25 23:37

That's weird. I have installed the indicator session package but when i click on the shutdown button, nothing happens ...
Plus, there isn't a restart button. Is it an issue ?

chenxiaolong commented on 2012-07-17 15:09

@danniezazen: This package itself will provide the Ubuntu style/theme. The other two packages should allow the user background function to work. If it doesn't work, please let me know :)

donniezazen commented on 2012-07-16 23:06

Does this (along with gnome-settings-daemon-ubuntu and accountservice-ubuntu) convert the current lightdm/lightdm-gtk-greeter into Ubuntu style lightdm ( log-in options on side transparent column and user background function?

Thanks.

chenxiaolong commented on 2012-06-10 01:49

@jiuren: Actually, gnome-settings-daemon-ubuntu is needed too.

chenxiaolong commented on 2012-06-10 01:36

@jiuren: To get the user background function, just install accountsservice-ubuntu, restart your computer, change your background to something else, and then it back :)

jiuren commented on 2012-06-10 00:20

Hi, how can I change the background of lightdm?
On ubuntu 12.04, it's supposed to be the same as the desktop background.
But on arch, it doesn't work. The only thing I can get is ubuntu's background.
And there is no unity-greeter.conf anymore.

Thanks!

chenxiaolong commented on 2012-06-06 03:14

@aliasbody: Installing the indicator-session package should solve the issue :)

chenxiaolong commented on 2012-06-06 03:14

@toudi: I run it from runlevel 3 too. "/etc/rc.d/lightdm start" always works for me. Also, you should be able to recover from the black screen by using the Magic SysRq key: https://wiki.archlinux.org/index.php/Keyboard_Shortcuts#Kernel. Pressing Alt+SysRq+R and then Ctrl+Alt+F1/F2/etc should get you back to a TTY.

I don't know who else you could ask to solve the issue though. I'd normally suggest to report a bug for lightdm at Launchpad, but from the logs, it looked like a Xorg issue.

Sorry I wasn't able to help you any further.

aliasbody commented on 2012-06-06 02:25

I've installed this package, but I don't have the shutdown button on the top right... why is that :S ?
Thanks in advance,

Anonymous comment on 2012-06-04 05:41

No, i do not. It is a fresh install of archlinux. The xorg packages i used were:

xorg-server xorg-xinit xf86-video-vesa (in order to have some graphic drivers)

The initlevel i use is 3. Maby that's the problem? I wanted to test unity-greeter before i set it to runlevel 5. So basically what i do right now is this:

(log in)
(as a regular user) lightdm --test-mode (this gives me blank screen, however i am able to recover from it by pressing Ctrl-F2 and then Ctrl-F1 which gives me back the text mode)
(as a root user) /etc/rc.d/lightdm start (this gives me blank screen, but i am not able to recover from it by any keys combination)

best regards.

chenxiaolong commented on 2012-06-04 01:24

@toudi: No problem :) The logs seem to show that the issue is with Xorg, not LightDM (or unity-greeter). It's trying to start 2 Xorg servers and both of them are hanging on this line:

(==) Using config directory: "/etc/X11/xorg.conf.d"

Do you have a custom xorg.conf or any extra files in /etc/X11/xorg.conf.d/ ?

Anonymous comment on 2012-06-03 21:59

Hey!

Sorry it took so long. Yes, i changed greeter-session under SeatDefaults section. First time i got blank screen was at work. Now i repeated this scenario at home, on a new virtual machine. I am using yaourt for building this greeter, if that changes something. (and i don't edit any files like PKGBUILD / install during that process)

Here's the link to compressed log directory:

http://db.tt/dSr0Rbnw

chenxiaolong commented on 2012-05-30 02:36

Hmm, that's strange. The black screen usually happens when greeter-session isn't set. Just to make sure, you changed the greeter-session under "[SeatDefaults]", right?

If so, could you remove the /var/log/lightdm folder and restart the virtual machine (for clean logs) and then tar/zip and upload it? Maybe the logs will help me find the cause of the issue. Also, you are correct that 'plymouth --ping' is harmless. It will not stop LightDM from loading :)

Anonymous comment on 2012-05-29 22:08

Hello.

I tried installing this package in virtualbox in order to test it before using it on real machine :)

The compilation / installation went just fine, however lightdm gives me blank screen.
In order to execute dconf like it was stated here, i installed xorg-twm. I executed dconf-editor and the settings for unity-greeter are present. The files that are listed in confir are also present.
I installed xf86-video-vesa in order to have graphical environment.

I have read the logs from
/var/log/lightdm/lightdm.log
/var/log/Xorg.0.log

but the only error i see there is this:

Could not execute 'plymouth --ping'.

However i don't think it's relevant, because when i installed lightdm-gtk-greeter and changed the greeter-session to gtk-greeter i still have blank screen..

What may i be missing?

best regards,
toudi.

chenxiaolong commented on 2012-05-29 04:57

@step-2: It should be fixed now :)

step-2 commented on 2012-05-29 03:23

PKGBUILD: line 37: convert: command not found
==> ERROR: A failure occurred in build().
Aborting...

chenxiaolong commented on 2012-04-29 01:43

@Blender: Done :) I didn't bump the release number though, since it doesn't affect current installations :)

Blender commented on 2012-04-29 01:26

Can you add "libindicator3" as a dependency? Compilation fails without it.

chenxiaolong commented on 2012-04-16 00:22

@justforgetme: /etc/lightdm/{lightdm-,}unity-greeter.conf aren't used anymore. Settings are stored in GSettings/dconf now. To change the unity greeter settings, you need to do this:

($ means as user, # means as root)

Allow other users to run programs in your X session:

$ xhost +

Change Unity Greeter settings with dconf editor: (The settings are in /com/canonical/unity-greeter in dconf-editor)

$ sudo su
# sudo -u lightdm dconf-editor
# exit

Prevent other users from running programs in your X session:

$ xhost -

justforgetme commented on 2012-04-15 18:45

@chenxiaolong yep, syncing testing/glib2 resolves the compile issue.

But. I am confused to whether this should also create a /etc/lightdm/unity-greeter.conf or /etc/lightdm/lightdm-unity-greeter.conf
file. My installation didn't but if I understand correctly it should

chenxiaolong commented on 2012-04-13 02:02

@caspian: I think you might need the version of glib2 from the testing repo. Or you could wait until it's arrives in the extra repo :)

caspian commented on 2012-04-12 08:05

With the latest build and changed patch -Np1 I'm getting the following error:
settings-daemon.c:318:56: warning: pointer/integer type mismatch in conditional expression [enabled by default]
settings-daemon.c: At top level:
settings-daemon.c:322:41: error: unknown type name ‘GSettingsSchema’
settings-daemon.c:327:47: error: unknown type name ‘GSettingsSchemaSource’
settings-daemon.c: In function ‘settings_daemon_set_plugin_enabled’:
settings-daemon.c:333:2: error: unknown type name ‘GSettingsSchemaSource’
settings-daemon.c:334:2: error: unknown type name ‘GSettingsSchemaSource’
settings-daemon.c:335:2: error: unknown type name ‘GSettingsSchemaSource’
settings-daemon.c:336:2: error: unknown type name ‘GSettingsSchemaSource’
settings-daemon.c:338:2: error: unknown type name ‘GSettingsSchema’
settings-daemon.c:339:2: error: unknown type name ‘GSettingsSchema’
settings-daemon.c:340:2: error: unknown type name ‘GSettingsSchema’
settings-daemon.c:343:2: warning: implicit declaration of function ‘g_settings_schema_source_get_default’ [-Wimplicit-function-declaration]
settings-daemon.c:343:2: warning: nested extern declaration of ‘g_settings_schema_source_get_default’ [-Wnested-externs]
settings-daemon.c:343:9: warning: assignment makes pointer from integer without a cast [enabled by default]
settings-daemon.c:348:2: warning: implicit declaration of function ‘g_settings_schema_source_lookup’ [-Wimplicit-function-declaration]
settings-daemon.c:348:2: warning: nested extern declaration of ‘g_settings_schema_source_lookup’ [-Wnested-externs]
settings-daemon.c:348:9: warning: assignment makes pointer from integer without a cast [enabled by default]
settings-daemon.c:365:2: warning: implicit declaration of function ‘_vala_GSettingsSchema_free’ [-Wimplicit-function-declaration]
settings-daemon.c:365:2: warning: nested extern declaration of ‘_vala_GSettingsSchema_free’ [-Wnested-externs]
settings-daemon.c:366:2: warning: implicit declaration of function ‘_vala_GSettingsSchemaSource_free’ [-Wimplicit-function-declaration]
settings-daemon.c:366:2: warning: nested extern declaration of ‘_vala_GSettingsSchemaSource_free’ [-Wnested-externs]
settings-daemon.c: In function ‘settings_daemon_run_finish’:
settings-daemon.c:391:25: warning: variable ‘_data_’ set but not used [-Wunused-but-set-variable]
make[2]: *** [unity_greeter-settings-daemon.o] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-root/aur-lightdm-unity-greeter/src/unity-greeter-0.2.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-root/aur-lightdm-unity-greeter/src/unity-greeter-0.2.7'
make: *** [all] Error 2

chenxiaolong commented on 2012-04-11 19:35

@clickit: Sorry about not being able to test. I'm not at my Arch Linux computer right now, so I can't compile the package. For the error, changing:

patch -Np0 ...

to

patch -Np1 ...

should fix it :)

clickit commented on 2012-04-11 17:17

ok I got it
src/Makefile.am

clickit commented on 2012-04-11 17:16

patching file src/unity-greeter.vala
Hunk #1 succeeded at 878 (offset 458 lines).
patching file src/dash-button.vala
patching file src/dash-entry.vala
patching file src/user-list.vala
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Patch by ecopunk so fix FTBFS on some systems with vala-0.16
|diff -Nru unity-greeter-0.2.7.orig/src/Makefile.am unity-greeter-0.2.7/src/Makefile.am
|--- unity-greeter-0.2.7.orig/src/Makefile.am 2012-04-11 12:44:15.727864342 -0400
|+++ unity-greeter-0.2.7/src/Makefile.am 2012-04-11 12:45:17.280646643 -0400
--------------------------
File to patch:

I don't know what to do ???

clickit commented on 2012-04-11 17:12

hi chenxiaolong,
here's the error while installing latest version
==> Starting build()...
patching file src/unity-greeter.vala
Hunk #1 succeeded at 878 (offset 458 lines).
patching file src/dash-button.vala
patching file src/dash-entry.vala
patching file src/user-list.vala
patching file src/Makefile.am
Hunk #1 FAILED at 34.
1 out of 1 hunk FAILED -- saving rejects to file src/Makefile.am.rej
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build lightdm-unity-greeter.

any advices would be appreciated
thx

clickit commented on 2012-04-11 17:00

hi chenxiaolong,
here's the error while installing latest version
==> Starting build()...
patching file src/unity-greeter.vala
Hunk #1 succeeded at 878 (offset 458 lines).
patching file src/dash-button.vala
patching file src/dash-entry.vala
patching file src/user-list.vala
patching file src/Makefile.am
Hunk #1 FAILED at 34.
1 out of 1 hunk FAILED -- saving rejects to file src/Makefile.am.rej
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build lightdm-unity-greeter.

any advices would be appreciated
thx

chenxiaolong commented on 2012-04-11 16:47

@clickit: Could you test again? It should be okay now :)

clickit commented on 2012-04-11 16:35

hi chenxiaolong,
here's the error while installing latest version
==> Starting build()...
patching file src/unity-greeter.vala
Hunk #1 succeeded at 878 (offset 458 lines).
patching file src/dash-button.vala
patching file src/dash-entry.vala
patching file src/user-list.vala
patching file src/Makefile.am
Hunk #1 FAILED at 34.
1 out of 1 hunk FAILED -- saving rejects to file src/Makefile.am.rej
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build lightdm-unity-greeter.

any advices would be appreciated
thx

chenxiaolong commented on 2012-04-11 15:46

Oh sorry, this was fixed in my git repo, but I forgot to upload it to the AUR :D

caspian commented on 2012-04-11 10:36

Hi, I've tried installing vala from the testing repo and even editing the pkgbuild to use version independent vala package but always get the following error:
http://pastie.org/3767273

Any ideas or suggestions?

Anonymous comment on 2012-04-11 10:34

Hi,

make[2]: Entering directory `/tmp/yaourt-tmp-*scrubbed*/aur-lightdm-unity-greeter/src/unity-greeter-0.2.7/src'
VALAC unity_greeter_vala.stamp
menubar.vala:23.20-23.28: error: The symbol `Indicator' could not be found
public unowned Indicator.ObjectEntry entry;
^^^^^^^^^
menubar.vala:26.31-26.39: error: The symbol `Indicator' could not be found
public IndicatorMenuItem (Indicator.ObjectEntry entry)
^^^^^^^^^
menubar.vala:119.18-119.26: error: The symbol `Indicator' could not be found
private List<Indicator.Object> indicator_objects;
^^^^^^^^^
menubar.vala:466.39-466.47: error: The symbol `Indicator' could not be found
private uint get_indicator_index (Indicator.Object object)
^^^^^^^^^
menubar.vala:480.13-480.21: error: The symbol `Indicator' could not be found
private Indicator.Object? get_indicator_object_from_entry (Indicator.ObjectEntry entry)
^^^^^^^^^
menubar.vala:480.64-480.72: error: The symbol `Indicator' could not be found
private Indicator.Object? get_indicator_object_from_entry (Indicator.ObjectEntry entry)
^^^^^^^^^
menubar.vala:494.38-494.46: error: The symbol `Indicator' could not be found
private void indicator_added_cb (Indicator.Object object, Indicator.ObjectEntry entry)
^^^^^^^^^
menubar.vala:494.63-494.71: error: The symbol `Indicator' could not be found
private void indicator_added_cb (Indicator.Object object, Indicator.ObjectEntry entry)
^^^^^^^^^
menubar.vala:517.40-517.48: error: The symbol `Indicator' could not be found
private void indicator_removed_cb (Indicator.Object object, Indicator.ObjectEntry entry)
^^^^^^^^^
menubar.vala:517.65-517.73: error: The symbol `Indicator' could not be found
private void indicator_removed_cb (Indicator.Object object, Indicator.ObjectEntry entry)
^^^^^^^^^
Compilation failed: 10 error(s), 0 warning(s)
make[2]: *** [unity_greeter_vala.stamp] Error 1

Is there any way to fix this?

chenxiaolong commented on 2012-04-07 17:11

@clickit: I'm glad you got it working :)

chenxiaolong commented on 2012-04-07 17:08

@clickit: I put 'vala>=0.16.0' in the dependencies because I could not compile lightdm with earlier versions of vala. Since it worked for you, I'll change 'vala>=0.16.0' to 'vala' :)

clickit commented on 2012-04-07 11:11

@chenxiaolong
I overtook the problem, making change below:
makedepends=('gnome-settings-daemon' 'pkg-config' 'bzr' 'vala>=0.16.0' 'autoconf')
with
makedepends=('gnome-settings-daemon' 'pkg-config' 'bzr' 'vala' 'autoconf')


I don't know if it's wrong or right but it worked !!!

chenxiaolong commented on 2012-04-07 05:20

@clickit: You'll need to install vala from the testing repo (pacman -U vala-*.pkg.tar.xz) :

i686: https://www.archlinux.org/packages/testing/i686/vala/

or

x86_64: https://www.archlinux.org/packages/testing/x86_64/vala/

The download link in the right sidebar. Unfortunately, I had no choice but to update this package because Ubuntu doesn't keep the previous versions of their packages :(

clickit commented on 2012-04-07 04:32

fail to install this package
here's the log while installing:

- vala>=0.16.0 (building from AUR)
==> Building and installing package
==> Install or build missing dependencies for lightdm-unity-greeter:
error: target not found: vala>=0.16.0
==> Restart building lightdm-unity-greeter ? [y/N]

thx

chenxiaolong commented on 2012-03-13 04:37

@murr4y: The settings are now handled using dconf, so you'll need to change the settings using "dconf-editor" running as the lightdm user. To do that use these commands:

xhost + # Allow running graphical X programs as another user
su # Change to root
sudo -u lightdm dconf-editor # Run "dconf-editor" as lightdm user
# Change the settings now. It's in /com/canonical/unity-greeter
exit # Exit from su to root
xhost - # Disable running graphical X programs as another user

murr4y commented on 2012-03-11 22:13

Just installed lightdm with the unity greeter and there doesn't seem to exist a unity-greeter.conf.
Creating it manually doesn't influence the settings. What can I do?

chenxiaolong commented on 2012-02-19 18:16

@clickit: Awesome! I'll add it to the dependencies :)

clickit commented on 2012-02-19 14:28

@chenxiaolong
I confirm that after installing latest glib2-ubuntu 2.31.16.0ubuntu2-100, this greeter is succesfully installed and is working great
thx

chenxiaolong commented on 2012-02-18 20:55

@clickit: Okay, the error messages say that GSettingsSchema and GSettingsSchemaSource are missing. These are defined in the /usr/include/glib-2.0/gio/gsettingsschema.h file, which is present in newer versions of glib2.

You'll need to install glib2-ubuntu from Ubuntu 12.04 (haven't had a chance to upload to the AUR yet). I'll upload it later on today.

clickit commented on 2012-02-18 11:18

after latest update I had some troubles with unity-greeter so I decided to do a fresh installation
After I had lightdm-ubuntu installed, I tried to install lightdm-unity-greeter 0.2.3.0ubuntu3-2
during installation I have this error: http://www.pastebin.com/raw.php?i=gA9kmmrg

something is missing but I can't tell what !!!

I have installed:
lightdm-ubuntu 1.1.3.0ubuntu1-1
vala-git 20120218-1
gobject-introspection-git 20120218-1

thx

clickit commented on 2012-02-18 11:16

after latest update I had some troubles with unity-greeter so I decided to do a fresh installation
After I had lightdm-ubuntu installed, I tried to install lightdm-unity-greeter 0.2.3.0ubuntu3-2
during installation I have this error: http://www.pastebin.com/embed.php?i=gA9kmmrg

something is missing but I can't tell what !!!

I have installed:
lightdm-ubuntu 1.1.3.0ubuntu1-1
vala-git 20120218-1
gobject-introspection-git 20120218-1

thx

clickit commented on 2012-02-18 10:32

after latest update I had some troubles with unity-greeter so I decided to do a fresh installation
After I had lightdm-ubuntu installed, I tried to install lightdm-unity-greeter 0.2.3.0ubuntu3-2
during installation I have this error: http://www.pastebin.com/embed.php?i=gA9kmmrg

something is missing but I can't tell what !!!

I have installed:
lightdm-ubuntu 1.1.3.0ubuntu1-1
vala-git 20120218-1
gobject-introspection-git 20120218-1

thx

chenxiaolong commented on 2012-01-23 05:28

@JDiPierro: This package requires the BZR version of LightDM or LightDM >=1.1.1. You'll need to install the 'lightdm-ubuntu' package from the AUR.

Anonymous comment on 2012-01-23 00:33

Tried installing on my Desktop today and I'm getting the same error as clickit:


make[2]: Entering directory `/tmp/yaourt-tmp-ferretwithaspork/aur-lightdm-unity-greeter/src/unity-greeter-0.2.0/src'
VALAC unity_greeter_vala.stamp
unity-greeter.vala:219.48-219.62: error: The name `background' does not exist in the context of `LightDM.User'
user_list.add_entry (user.name, label, user.background, layout, user.logged_in);
^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
make[2]: *** [unity_greeter_vala.stamp] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-ferretwithaspork/aur-lightdm-unity-greeter/src/unity-greeter-0.2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-ferretwithaspork/aur-lightdm-unity-greeter/src/unity-greeter-0.2.0'
make: *** [all] Error 2

[ferretwithaspork@JD-ArchDesktop etc]$ pacman -Q vala
vala 0.14.1-1
Same vala version as my Laptop where this worked. :(

Anonymous comment on 2012-01-22 01:00

mkdir gnome-settings-daemon-ubuntu
cd gnome-settings-daemon-ubuntu
echo "Error 404, come back soon" > README

:D i am tired, thx for the tipp i will compile it from source.

chenxiaolong commented on 2012-01-21 23:08

@clickit: Try installing my 'lightdm-ubuntu' package. Maybe the patches in that package will solve the problem.

@check: Installing my 'gnome-settings-daemon-ubuntu' package should add that functionality :)

Anonymous comment on 2012-01-21 20:42

Is there a way to get the Unity Greeter to make this?
http://www.webupd8.org/2012/01/lightdm-unity-greeter-update-brings.html

clickit commented on 2012-01-21 07:56

good monring
@chenxiaolong
I using this :
yaourt -Q vala
extra/vala 0.14.1-1
I think it's the official !

...but wait
today lightdm & lightdm-unity-greeter was updated


chenxiaolong commented on 2012-01-21 06:47

@JDiPierro: You're welcome! I'm glad it works for you :)

@clickit: Could you make sure that you're using vala from the official repos? If that doesn't fix it, try using my 'lightdm-ubuntu' package, which contains patches to LightDM used in Ubuntu 12.04.

Anonymous comment on 2012-01-21 05:31

Worked perfectly for me! Thank you very much for this :)

clickit commented on 2012-01-20 22:10

good evening,
I got this error during installation (lightdm-unity-greeter 0.1.1-2 -> 0.2.0.0ubuntu4-1)
unity-greeter.vala:219.48-219.62: error: The name `background' does not exist in the context of `LightDM.User'
user_list.add_entry (user.name, label, user.background, layout, user.logged_in);

clickit commented on 2012-01-20 22:09

good evening,
I got this error during installation (aur/lightdm-unity-greeter 0.1.1-2 -> 0.2.0.0ubuntu4-1):

unity-greeter.vala:219.48-219.62: error: The name `background' does not exist in the context of `LightDM.User'
user_list.add_entry (user.name, label, user.background, layout, user.logged_in);
^^^^^^^^^^^^^

clickit commented on 2012-01-20 22:07

good evening,
I got this error during installation:

unity-greeter.vala:219.48-219.62: error: The name `background' does not exist in the context of `LightDM.User'
user_list.add_entry (user.name, label, user.background, layout, user.logged_in);
^^^^^^^^^^^^^^^

chenxiaolong commented on 2012-01-06 04:16

@Lillypad: No problem! :) If it weren't for you, my 'lightdm-ubuntu' package would have been broken for, who knows how long... :D

Lillypad commented on 2012-01-06 03:45

@chenxiaolong: Thanks for the update to the 'lightdm-ubuntu' package. I recompiled and reinstalled and now it works perfectly as the lightdm user. Thank you very much for helping me work through these issues! :)

chenxiaolong commented on 2012-01-05 21:45

@Lillypad: The problem should be fixed :) Would you mind recompiling and reinstalling 'lightdm-ubuntu' to test it?

Lillypad commented on 2012-01-05 21:39

You're thinking is correct. The '/var/lib/lightdm/' folder does not exist.

chenxiaolong commented on 2012-01-05 21:25

Ahh...Does the folder '/var/lib/lightdm/' exist? If not, then I can modify the 'lightdm-ubuntu' package so that it creates that folder.

Lillypad commented on 2012-01-05 21:12

@chenxiaolong: Yes, bot /etc/group and /etc/passwd include 'lightdm'. In my /var/log/lightdm/lightdm.log, I see this message:

WARNING: Failed to write authority: Error opening file '/var/lib/lightdm/.Xauthority': No such file or directory
DEBUG: Failed to start greeter session
DEBUG: Failed to start greeter

chenxiaolong commented on 2012-01-05 20:57

You shouldn't need to set anything in /etc/lightdm/lightdm.conf to run as the 'lightdm' user. With the default config + "greeter-session=unity-greeter", it should load just fine. Does /etc/group contain the 'lightdm' group and does /etc/passwd contain the 'lightdm' user?

Lillypad commented on 2012-01-05 20:23

@chenxiaolong: Your comment reminded me of a little problem I ran into after installing the 'lightdm-ubuntu' and 'lightdm-unity-greeter' packages. I was unable to get lightdm to load when lightdm was running as the 'lightdm' user. Did I miss something? Or should it run fine when greeter-user=lightdm is set in /etc/lightdm/lightdm.conf?

chenxiaolong commented on 2012-01-05 19:13

@Lillypad: Thanks for the link! I was completely wrong about the security stuff from my previous post, so please ignore it :) I though the plugins were being changed as root instead of as your user.

Lillypad commented on 2012-01-05 18:51

@chenxiaolong: Here is the link to the Ubuntu forum thread I found: http://ubuntuforums.org/showthread.php?t=1861476&highlight=GTK3+theme+screwed+after+launching+unity-greeter

I also found many bug references to the changes made by 'unity-greeter' on the launchpad.net website.

chenxiaolong commented on 2012-01-05 05:35

@Lillypad: I'm glad it works for you now :)

Could you post a link to that thread in the Ubuntu forums? I'd like to read more about what's going on.

After taking a look at the 'src/settings-daemon.vala' file you mentioned, it seems that some of those Gnome Control Center plugins are disabled for security reasons (I think). Say 'org.gnome.settings-daemon.plugins.keybindings' and 'org.gnome.settings-daemon.plugins.sound' were enabled and that all the indicator-* packages are installed. It would then be possible to open the control center using the sound menu in LightDM and assign a keybinding to, say, gnome-terminal. With the default LightDM package, it runs as root, therefore giving a root terminal without logging in.

With the information you have given so far, it almost seems like the plugins disabled when LightDM is running, is somehow getting carried over to your Gnome Shell session (although I could be completely wrong).

Lillypad commented on 2012-01-05 04:16

@chenxiaolong: Thanks for making the adjustment to the 'lightdm-ubuntu' package. It now builds and installs correctly. :-)

However, even after installing both successfully, my problem still existed. After some digging, I found the solution, and the source of the problem. On the ubuntu forums, I found a thread with a user experienceing a similar problem. The resolution for their situation was to use dconf editor to re-enable some plugins. Re-enabling the same plugins also corrected my problem.

So, I dug further to see why or how these settings were changed. Apparently, the 'unity-greeter_0.1.1.orig.tar.gz' file in the sources for this package include a file named 'settings-daemon.vala'. In that file, it disabled a bunch of plugins in 'org.gnome.settings-daemon.plugins' path. I wonder why those changes are required? Because that is what is causing my specific problem, and presumably would affect any other gnome user that also installs the lightdm-unity-greeter package.

chenxiaolong commented on 2012-01-04 07:04

@Lillypad: Sorry about the 'lightdm-ubuntu' issue. It should be fixed now. That hopefully should get it working.

As for the indicator packages, yeah, they do seem to be broken. I have working packages in my git repository though: https://github.com/chenxiaolong/Unity-for-Arch

Lillypad commented on 2012-01-04 04:58

@chenxiaolong: Just to make sure my last comment was clear, when I try to install the lightdm-ubuntu package, I get this error:

make[3]: Entering directory `/tmp/packerbuild-1000/lightdm-ubuntu/lightdm-ubuntu/src/lightdm-1.1.0/greeters/gtk'
CCLD lightdm-gtk-greeter
/usr/bin/ld: lightdm_gtk_greeter-lightdm-gtk-greeter.o: undefined reference to symbol 'XClearWindow'
/usr/bin/ld: note: 'XClearWindow' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line
/usr/lib/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [lightdm-gtk-greeter] Error 1
make[3]: Leaving directory `/tmp/packerbuild-1000/lightdm-ubuntu/lightdm-ubuntu/src/lightdm-1.1.0/greeters/gtk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/packerbuild-1000/lightdm-ubuntu/lightdm-ubuntu/src/lightdm-1.1.0/greeters'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/packerbuild-1000/lightdm-ubuntu/lightdm-ubuntu/src/lightdm-1.1.0'
make: *** [all] Error 2

Lillypad commented on 2012-01-04 04:29

@chenxiaolong: I tried your suggestions, but am unable to build the lightdm-ubuntu package. I experience the same error that @Narga did when trying to build. Also, I tried to install the indicator-* packages from the AUR, but they also fail due to missing dependencies that I cannot seem to satisfy, like ido3. I installed the ido package, it's version is greater than what is required,but there is still some reference to ido3. Frustrating...

chenxiaolong commented on 2012-01-04 03:24

Hmmm...your logs look fine. I don't see any problems. I did notice that lightdm was running as root, so I assume you're not using my 'lightdm-ubuntu' package (which runs as lightdm user)? If so, I suggest trying 'lightdm-ubuntu' and recompiling this package. It contains the patches that Ubuntu uses in 11.10, so maybe that can solve the problem.

Another thing I see is that unity-greeter complains that the indicator-* packages (specifically, indicator-datetime, indicator-session, indicator-sound, indicator-power) aren't installed, but that shouldn't affect the login process...

Lillypad commented on 2012-01-04 02:46

@chenxiaolong: Thanks for following up. Here is my ~/.session-errors data: http://pastebin.com/ujMci07m
Also, my /var/log/lightdm directory files:

lightdm.log: http://pastebin.com/31dgQjgU
x-0.log: http://pastebin.com/mevrTBLb
x-0-greeter.log: http://pastebin.com/V8MmqBYM
x-1.log: http://pastebin.com/HazKW5h5

What I find odd is that everything is fine when I just install lightdm and use the default lightdm-gtk-greeter. After installing lightdm-unity-greeter, then gnome-shell starts to have these issues. In addition, after this happens, if I use gdm, gnome-shell will start properly.

Thanks for your help.

Lillypad commented on 2012-01-03 21:14

I'm trying to run lightdm-unity-greeter with gnome 3. When using just lightdm and the standard lightdm-gtk-greeter, everything works fine. But, after installing lightdm-unity-greeter, the gnome shell is messed up. The default gnome theme looks odd, the fonts are large, and the wallpaper will not show on the desktop.

Any idea what would cause this? Thanks.

chenxiaolong commented on 2012-01-03 20:15

@Lillypad: That's really weird, this package shouldn't change any Gnome Shell settings or alter the look of it. Could you post your ~/.xsession-errors file and the /var/log/lightdm directory somewhere? Those logs should tell me a little more about what's going on. Thanks.

Lillypad commented on 2012-01-03 18:58

I'm trying to run lightdm-unity-greeter with gnome 3. When using just lightdm and the standard lightdm-gtk-greeter, everything works fine. But, after installing lightdm-unity-greeter, the gnome shell is messed up. The default gnome theme looks odd, the fonts are large, and the wallpaper will not show on the desktop.

Any idea what would cause this? Thanks.

Lillypad commented on 2012-01-03 18:40

I'm trying to run lightdm-unity-greeter with gnome 3. When using just lightdm and the standard lightdm-gtk-greeter, everything works fine. But, after installing lightdm-unity-greeter, the gnome shell is messed up. The default gnome theme looks odd, the fonts are large, and the wallpaper will not show on the desktop.

Any idea what would cause this? Thanks.

chenxiaolong commented on 2011-12-12 03:46

@Narga: They're all in the AUR.

indicator-session: https://aur.archlinux.org/packages.php?ID=32051
indicator-datetime: https://aur.archlinux.org/packages.php?ID=43436
indicator-sound: https://aur.archlinux.org/packages.php?ID=42614

Narga commented on 2011-12-12 01:57

indicator-session
indicator-datetime
indicator-sound
indicator-power
only indicator-power can installed, how to install anothers

chenxiaolong commented on 2011-12-11 17:29

The problem is that '-lx11' was somehow not added to the linker command line (I have this problem too). I've created a patch and uploaded a new package that fixes the problem.

Narga commented on 2011-12-11 15:06

I got this error after rebuilt it
CCLD unity-greeter
/usr/bin/ld: unity_greeter-unity-greeter.o: undefined reference to symbol 'XClearWindow'
/usr/bin/ld: note: 'XClearWindow' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line
/usr/lib/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [unity-greeter] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-narga/aur-lightdm-unity-greeter/src/unity-greeter-0.1.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-narga/aur-lightdm-unity-greeter/src/unity-greeter-0.1.1'
make: *** [all] Error 2

chenxiaolong commented on 2011-11-27 22:01

In case you want all the menus, the packages are:

indicator-session
indicator-datetime
indicator-sound
indicator-power

chenxiaolong commented on 2011-11-27 21:59

Found the problem! Your log says '/usr/lib/indicators3/6/libsession.so does not exist.' That file is part of the 'indicator-session' package, which provides the shutdown buttons for Unity and Lightdm.

Narga commented on 2011-11-27 10:04

I redo it like you said then I get blank screen, I've found the solution for blank screen problem but it's not works.
Now I'm back to lightdm with lightdm-unity-greeter without shutdown/restart button.
here is build logs
http://www.mediafire.com/?5dgm0127bj9w7pr
because it's some files, I've compressed it then upload to mediafire

chenxiaolong commented on 2011-11-23 17:40

You'll have to change "greeter-session=unity-greeter" after every package install. I'm not sure why it's not working for you... I would try a complete reinstall of the lightdm packages:

1. Remove all lightdm packages

pacman -Rdd lightdm lightdm-bzr lightdm-ubuntu lightdm-ubuntu-bzr lightdm-unity-greeter lightdm-unity-greeter-bzr

2. Install lightdm-ubuntu and lightdm-unity-greeter (that's what I use)

3. Copy this config to /etc/lightdm/lightdm.conf

http://pastebin.com/37dHhBgk

I just tried it on another Arch Linux computer. If it still doesn't work, please send me the build logs, the /var/log/lightdm folder, and the /var/log/Xorg.0.log file.

Narga commented on 2011-11-23 16:29

I've installed lightdm-ubuntu then it removed lightdm by default. After that, I got blank screen. I've removed all lightdm packages then reinstall->blank screen
lightdm + unity-greeter = without shutdown/restart button, show name when I change uid > 1000
lightdm-ubuntu + unity-greeter = blank screen
lightdm-ubuntu + unity-greeter-bzr = blank screen
I changed greeter-session=unity-greeter
I've visited lightdm-unity aur then saw your comment, in my /usr/share/xgreeters
lightdm-gtk-greeter.desktop unity-greeter.desktop
it hasn't lightdm-qt-greeter.desktop

chenxiaolong commented on 2011-11-21 15:08

Can you try installing my lightdm-ubuntu package? It contains Ubuntu's patches. Also, lightdm should only show users with a UID higher than 1000.

Can you post the build logs of lightdm-ubuntu and lightdm-unity-greeter to a website like http://pastie.org and put the link here?

Narga commented on 2011-11-21 05:50

I've remove complet lightdm then reinstall it but it's not works like that.
default session always openbox, I've rebooted sometimes and it's always openbox
libappindicator has been installed but lightdm-unity without it
I've tried with lightdm-unity-greeter-bzr, it's same with lightdm-unity-greeter and can't login with other user, only samba user avaible at login screen

chenxiaolong commented on 2011-11-20 17:39

@Narga: I just took a look at the source code and it seems that libappindicator might also be needed. You don't need to change the default session in lightdm.conf. Just log in once with XFCE4 and it will remember that the next time you login. The reason openbox what chosen is because the list is sorted in alphabetical order and the first one is chosen.

Narga commented on 2011-11-20 16:55

I've added ubuntu-mono package as dependencies packages the rebuild it but it hasn't shutdown/restart button again.
I can't change default session in lightdm.conf (xfce4 installed as default, I've installed openbox for testing) it's always choose openbox expect xfce session

chenxiaolong commented on 2011-11-20 16:35

Try installing the AUR package "ubuntu-mono" It contains the Ubuntu icon theme.

Narga commented on 2011-11-20 04:23

I'm using Unity Greeter and my lightdm.conf has the same unity-session like you but it's not shutdown/restart button like ubuntu lightdm by default

chenxiaolong commented on 2011-11-15 15:01

@Narga: Just change the "greeter-session" line under the "SeatDefaults" heading in /etc/lightdm/lightdm.conf. Here's my lightdm.conf with the Unity greeter selected: http://pastebin.com/37dHhBgk

Hope this helps :)

Narga commented on 2011-11-15 08:15

I've installed lightdm-unity-greeter but it's not shutdown/restart button like ubuntu lightdm by default