You are not logged in.
I've installed arch and not much past that point. After troubles with lightdm I installed gnome and used 'systemctl enable gdm' and gdm worked after my reboot. Anyway, more info on my lightdm problem.
Steps to install
pacman -S lightdm
pacman -S lightdm-gtk3-greeter
systemctl enable lightdm
reboot
Upon reboot screen flashes a couple of times and then stops.
I had installed xfce4 prior to this and made sure the xfce4.desktop file existed. I've looked up other posts and I have not had look implementing their solutions. Any ideas?
DEBUG: Started session 395 with service 'lightdm-greeter', username 'lightdm'
DEBUG: Session 395 authentication complete with return value 0: Success
DEBUG: Greeter authorized
DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
DEBUG: Session 395 running command /usr/bin/lightdm-gtk-greeter
DEBUG: Greeter closed communication channel
DEBUG: Session 395 exited with return value 1
DEBUG: Greeter quit
DEBUG: Failed to start greeter
Offline
Not an Installation issue, moving to Apps & DEs...
What is in the greeter log?
Offline
Failed to open CK session: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files
Error reading existing Xauthority: Failed to open file '/var/lib/lightdm/.Xauthority': Permission denied
Offline
Consolekit is long deprecated in Ach.
Offline
Lightdm should have logind support
Linux odin 3.13.1-pf #1 SMP PREEMPT Wed Mar 5 21:47:28 CET 2014 x86_64 GNU/Linux
Offline
I've fixed it going to /var/lib then "chown lightdm.lightdm lightdm/"
Hope it helps.
I've installed arch and not much past that point. After troubles with lightdm I installed gnome and used 'systemctl enable gdm' and gdm worked after my reboot. Anyway, more info on my lightdm problem.
Steps to install
pacman -S lightdm
pacman -S lightdm-gtk3-greetersystemctl enable lightdm
reboot
Upon reboot screen flashes a couple of times and then stops.
I had installed xfce4 prior to this and made sure the xfce4.desktop file existed. I've looked up other posts and I have not had look implementing their solutions. Any ideas?
DEBUG: Started session 395 with service 'lightdm-greeter', username 'lightdm'
DEBUG: Session 395 authentication complete with return value 0: Success
DEBUG: Greeter authorized
DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
DEBUG: Session 395 running command /usr/bin/lightdm-gtk-greeter
DEBUG: Greeter closed communication channel
DEBUG: Session 395 exited with return value 1
DEBUG: Greeter quit
DEBUG: Failed to start greeter
Offline
Thanks tschertel, that worked! Just one more question. Why is it lightdm.lightdm instead of just lightdm?
Offline
The second unit (after the period) assigns the group.
You could also leave it out (keeping the period) to assign the user group defined in passwd as well, for the same effect.
a.k.a. liliff/musee. milk tea fuzz
Offline
I've opened a bug report:
https://bugs.archlinux.org/task/36907
Offline
This has just been fixed in the latest community and AUR packages.
Offline
This install was on Virtual Box. Today I installed on an HP netbook and did not have the same problem. Maybe because it was just fixed as Padfoot reported?
Offline
My Lightdm stopped working a few days ago after an update.
I've fixed it going to /var/lib then "chown lightdm.lightdm lightdm/"
This doesn't work for me.
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.6.1, UID=0 PID=1230
[+0.00s] DEBUG: Loaded configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Registered seat module xlocal
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Adding default seat
[+0.00s] DEBUG: Starting seat
[+0.00s] DEBUG: Starting new display for greeter
[+0.00s] DEBUG: Starting local X display
[+0.00s] DEBUG: Could not run plymouth --ping: Failed to execute child process "plymouth" (No such file or directory)
[+0.00s] DEBUG: Using VT 7
[+0.00s] DEBUG: Activating VT 7
[+0.01s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+0.01s] DEBUG: Writing X server authority to /run/lightdm/root/:0
[+0.01s] DEBUG: Launching X Server
[+0.01s] DEBUG: Launching process 1234: /usr/sbin/X :0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.01s] DEBUG: Waiting for ready signal from X server :0
[+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.48s] DEBUG: Got signal 10 from process 1234
[+0.48s] DEBUG: Got signal from X server :0
[+0.48s] DEBUG: Connecting to XServer :0
[+0.48s] DEBUG: Starting greeter
[+0.49s] DEBUG: Started session 1241 with service 'lightdm-greeter', username 'lightdm'
[+0.49s] DEBUG: Session 1241 authentication complete with return value 0: Success
[+0.49s] DEBUG: Greeter authorized
[+0.49s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
[+0.49s] DEBUG: Session 1241 running command /usr/sbin/lightdm-gtk-greeter
[+0.53s] DEBUG: Greeter connected version=1.6.1
[+0.53s] DEBUG: Greeter connected, display is ready
[+0.53s] DEBUG: New display ready, switching to it
[+0.53s] DEBUG: Activating VT 7
[+0.66s] DEBUG: Greeter start authentication for lipek
[+0.66s] DEBUG: Started session 1261 with service 'lightdm', username 'lipek'
[+0.67s] DEBUG: Session 1261 got 1 message(s) from PAM
[+0.67s] DEBUG: Prompt greeter with 1 message(s)
[+5.21s] DEBUG: Continue authentication
[+5.24s] DEBUG: Session 1261 authentication complete with return value 0: Success
[+5.24s] DEBUG: Authenticate result for user lipek: Success
[+5.24s] DEBUG: User lipek authorized
[+5.24s] DEBUG: Greeter sets language pl_PL.utf8
[+5.25s] DEBUG: Greeter requests session gnome
[+5.25s] DEBUG: Using session gnome
[+5.25s] DEBUG: Stopping greeter
[+5.25s] DEBUG: Session 1241: Sending SIGTERM
[+5.25s] DEBUG: Greeter closed communication channel
[+5.25s] DEBUG: Session 1241 exited with return value 0
[+5.25s] DEBUG: Greeter quit
[+5.26s] DEBUG: Dropping privileges to uid 1000
[+5.26s] DEBUG: Calling setresgid
[+5.26s] DEBUG: Calling setresuid
[+5.26s] DEBUG: Restoring privileges
[+5.26s] DEBUG: Calling setresuid
[+5.26s] DEBUG: Calling setresgid
[+5.26s] DEBUG: Dropping privileges to uid 1000
[+5.26s] DEBUG: Calling setresgid
[+5.26s] DEBUG: Calling setresuid
[+5.26s] DEBUG: Writing /home/lipek/.dmrc
[+5.33s] DEBUG: Restoring privileges
[+5.33s] DEBUG: Calling setresuid
[+5.33s] DEBUG: Calling setresgid
[+5.36s] DEBUG: Starting session gnome as user lipek
[+5.36s] DEBUG: Session 1261 running command /etc/lightdm/xsession gnome-session
[+5.38s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+5.38s] DEBUG: Session 1261 exited with return value 0
[+5.38s] DEBUG: User session quit
[+5.38s] DEBUG: Stopping display
[+5.38s] DEBUG: Sending signal 15 to process 1234
[+5.77s] DEBUG: Process 1234 exited with return value 0
[+5.77s] DEBUG: X server stopped
[+5.77s] DEBUG: Removing X server authority /run/lightdm/root/:0
[+5.77s] DEBUG: Releasing VT 7
[+5.77s] DEBUG: Display server stopped
[+5.77s] DEBUG: Switching to greeter
[+5.77s] DEBUG: Starting new display for greeter
[+5.77s] DEBUG: Starting local X display
[+5.77s] DEBUG: Using VT 7
[+5.77s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+5.77s] DEBUG: Writing X server authority to /run/lightdm/root/:0
[+5.77s] DEBUG: Launching X Server
[+5.77s] DEBUG: Launching process 1271: /usr/sbin/X :0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+5.77s] DEBUG: Waiting for ready signal from X server :0
[+6.22s] DEBUG: Got signal 10 from process 1271
[+6.22s] DEBUG: Got signal from X server :0
[+6.22s] DEBUG: Connecting to XServer :0
[+6.22s] DEBUG: Starting greeter
[+6.22s] DEBUG: Started session 1276 with service 'lightdm-greeter', username 'lightdm'
[+6.22s] DEBUG: Session 1276 authentication complete with return value 0: Success
[+6.22s] DEBUG: Greeter authorized
[+6.22s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
[+6.22s] DEBUG: Session 1276 running command /usr/sbin/lightdm-gtk-greeter
[+6.26s] DEBUG: Greeter connected version=1.6.1
[+6.26s] DEBUG: Greeter connected, display is ready
[+6.26s] DEBUG: New display ready, switching to it
[+6.26s] DEBUG: Activating VT 7
[+6.40s] DEBUG: Greeter start authentication for lipek
[+6.40s] DEBUG: Started session 1296 with service 'lightdm', username 'lipek'
[+6.40s] DEBUG: Session 1296 got 1 message(s) from PAM
[+6.40s] DEBUG: Prompt greeter with 1 message(s)
** (process:1276): WARNING **: Failed to open CK session: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files
(lightdm-gtk-greeter:1278): Gtk-WARNING **: Theme parsing error: gtk.css:72:18: Not using units is deprecated. Assuming 'px'.
(lightdm-gtk-greeter:1278): Gtk-WARNING **: Theme parsing error: gtk.css:72:20: Not using units is deprecated. Assuming 'px'.
** (lightdm-gtk-greeter:1278): WARNING **: Failed to open sessions directory: Error opening directory '/usr/share/lightdm/remote-sessions': No such file or directory
** (lightdm-gtk-greeter:1278): WARNING **: Failed to load user image: Failed to open file '/home/lipek/.face': Permission denied
** (lightdm-gtk-greeter:1278): WARNING **: Could not get accounts property XKeyboardLayouts
** (lightdm-gtk-greeter:1278): WARNING **: Could not get accounts property XHasMessages
(lightdm-gtk-greeter:1278): GLib-CRITICAL **: g_variant_get_type: assertion `value != NULL' failed
(lightdm-gtk-greeter:1278): GLib-CRITICAL **: g_variant_type_is_subtype_of: assertion `g_variant_type_check (type)' failed
(lightdm-gtk-greeter:1278): GLib-CRITICAL **: g_variant_get_type_string: assertion `value != NULL' failed
** (lightdm-gtk-greeter:1278): WARNING **: Unexpected accounts property type for XHasMessages: (null)
(lightdm-gtk-greeter:1278): GLib-CRITICAL **: g_variant_unref: assertion `value != NULL' failed
** (lightdm-gtk-greeter:1278): WARNING **: Could not get accounts property XKeyboardLayouts
** (lightdm-gtk-greeter:1278): WARNING **: Could not get accounts property XHasMessages
(lightdm-gtk-greeter:1278): GLib-CRITICAL **: g_variant_get_type: assertion `value != NULL' failed
(lightdm-gtk-greeter:1278): GLib-CRITICAL **: g_variant_type_is_subtype_of: assertion `g_variant_type_check (type)' failed
(lightdm-gtk-greeter:1278): GLib-CRITICAL **: g_variant_get_type_string: assertion `value != NULL' failed
** (lightdm-gtk-greeter:1278): WARNING **: Unexpected accounts property type for XHasMessages: (null)
(lightdm-gtk-greeter:1278): GLib-CRITICAL **: g_variant_unref: assertion `value != NULL' failed
Any ideas?
Last edited by LiPeK (2013-09-13 21:55:51)
Offline
Same around here.
"See, you not only have to be a good coder to create a system like Linux, you have to be a sneaky bastard too." - Linus Torvalds
Offline
Ran into the same problem with "Failed to open CK session: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files". The solution was simply to merge all new *.pacnew's in /etc/lightdm
Offline
There were permission changes in some recent updates, and with some installs, older cached files were causing permission problems preventing the greeter starting. Solution as follows:
1. Boot into a console (fallback or single user mode - as long as lightdm is not started you are good)
2. Back up your /etc/lightdm/lightdm.conf and /etc/lightdm/lightdm-gtk-greeter.conf
3. Uninstall lightdm and lightdm-gtk{2/3}-greeter
4. Ensure both the lightdm user and group no longer exist
5. Delete /var/lib/lightdm, /var/cache/lightdm and /run/lightdm
6. Re-install lightdm and lightdm-gtk{2/3}-greeter
7. Restore your configs
Cheers.
Offline
I did a clean install of Arch yesterday and am also getting the ConsoleKit errors. I then executed the steps Padfoot laid out in the previous post but the issue persists.
Offline
The solution was simply to merge all new *.pacnew's in /etc/lightdm
Thank you!
This solution solved my problem. I should have checked the config files more carefully.
Offline