You are not logged in.
Hello!
Until recently my desktop manager (Lightdm) was working perfectly fine on a fresh install of arch. However I was forced to hard-shutdown my laptop at one point, and after starting the computer up again I could no longer log in using lightdm as my user account. If I try logging in as root it works fine and xfce4 starts up happily. Additionally I can run startxfce4 after logging in without a manager and everything works fine as long as lightdm was never started. Additionally I tried lxdm with the same result.
My user account owns .Xauthority as well as .ICEauthority and has full rights over the former and rw rights over the latter.
Here is my lightdm log
[+0.02s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.02s] DEBUG: Starting Light Display Manager 1.18.3, UID=0 PID=366
[+0.02s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.02s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.02s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.02s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.02s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.02s] DEBUG: Registered seat module xlocal
[+0.02s] DEBUG: Registered seat module xremote
[+0.02s] DEBUG: Registered seat module unity
[+0.02s] DEBUG: Monitoring logind for seats
[+0.02s] DEBUG: New seat added from logind: seat0
[+0.02s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.02s] DEBUG: Seat seat0: Starting
[+0.02s] DEBUG: Seat seat0: Creating greeter session
[+0.06s] DEBUG: Seat seat0: Creating display server of type x
[+0.06s] DEBUG: Could not run plymouth --ping: Failed to execute child process "plymouth" (No such file or directory)
[+0.06s] DEBUG: Using VT 7
[+0.06s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.06s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.06s] DEBUG: DisplayServer x-0: Writing X server authority to /run/lightdm/root/:0
[+0.06s] DEBUG: DisplayServer x-0: Launching X Server
[+0.06s] DEBUG: Launching process 375: /usr/sbin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.06s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+0.06s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.06s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+1.94s] DEBUG: Loading users from org.freedesktop.Accounts
[+1.94s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+3.80s] DEBUG: Got signal 10 from process 375
[+3.80s] DEBUG: DisplayServer x-0: Got signal from X server :0
[+3.80s] DEBUG: DisplayServer x-0: Connecting to XServer :0
[+3.80s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+3.80s] DEBUG: Session pid=438: Started with service 'lightdm-greeter', username 'lightdm'
[+3.94s] DEBUG: Session pid=438: Authentication complete with return value 0: Success
[+3.94s] DEBUG: Seat seat0: Session authenticated, running command
[+3.94s] DEBUG: Session pid=438: Running command /usr/sbin/lightdm-gtk-greeter
[+3.94s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+3.94s] DEBUG: Session pid=438: Logging to /var/log/lightdm/seat0-greeter.log
[+4.29s] DEBUG: Activating VT 7
[+4.29s] DEBUG: Activating login1 session c1
[+5.31s] DEBUG: Greeter connected version=1.18.3 resettable=false
[+6.44s] DEBUG: Greeter start authentication for derongan
[+6.44s] DEBUG: Session pid=463: Started with service 'lightdm', username 'derongan'
[+6.58s] DEBUG: Session pid=463: Got 1 message(s) from PAM
[+6.58s] DEBUG: Prompt greeter with 1 message(s)
[+10.68s] DEBUG: Seat seat0 changes active session to
[+47.29s] DEBUG: Seat seat0 changes active session to
[+48.58s] DEBUG: Seat seat0 changes active session to c2
[+49.29s] DEBUG: Seat seat0 changes active session to
[+51.83s] DEBUG: Seat seat0 changes active session to c1
[+51.83s] DEBUG: Session c1 is already active
[+55.27s] DEBUG: Continue authentication
[+55.30s] DEBUG: Session pid=463: Authentication complete with return value 0: Success
[+55.30s] DEBUG: Authenticate result for user derongan: Success
[+55.30s] DEBUG: User derongan authorized
[+55.30s] DEBUG: Greeter sets language en_US.utf8
[+55.34s] DEBUG: Greeter requests session xfce
[+55.34s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+55.34s] DEBUG: Session pid=438: Sending SIGTERM
[+55.36s] DEBUG: Greeter closed communication channel
[+55.36s] DEBUG: Session pid=438: Exited with return value 0
[+55.36s] DEBUG: Seat seat0: Session stopped
[+55.36s] DEBUG: Seat seat0: Greeter stopped, running session
[+55.36s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+55.36s] DEBUG: Session pid=463: Running command /etc/lightdm/Xsession startxfce4
[+55.36s] DEBUG: Creating shared data directory /var/lib/lightdm-data/derongan
[+55.36s] DEBUG: Session pid=463: Logging to .xsession-errors
[+55.96s] DEBUG: Activating VT 7
[+55.96s] DEBUG: Activating login1 session c3
[+55.96s] DEBUG: Seat seat0 changes active session to
[+56.51s] DEBUG: Session pid=463: Exited with return value 0
[+56.51s] DEBUG: Seat seat0: Session stopped
[+56.51s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+56.51s] DEBUG: Sending signal 15 to process 375
[+58.23s] DEBUG: Process 375 exited with return value 0
[+58.23s] DEBUG: DisplayServer x-0: X server stopped
[+58.23s] DEBUG: Releasing VT 7
[+58.23s] DEBUG: DisplayServer x-0: Removing X server authority /run/lightdm/root/:0
[+58.23s] DEBUG: Seat seat0: Display server stopped
[+58.23s] DEBUG: Seat seat0: Active display server stopped, starting greeter
[+58.23s] DEBUG: Seat seat0: Creating greeter session
[+58.23s] DEBUG: Seat seat0: Creating display server of type x
[+58.23s] DEBUG: Using VT 7
[+58.23s] DEBUG: Seat seat0: Starting local X display on VT 7
[+58.23s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+58.23s] DEBUG: DisplayServer x-0: Writing X server authority to /run/lightdm/root/:0
[+58.23s] DEBUG: DisplayServer x-0: Launching X Server
[+58.23s] DEBUG: Launching process 588: /usr/sbin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+58.23s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+58.93s] DEBUG: Got signal 10 from process 588
[+58.93s] DEBUG: DisplayServer x-0: Got signal from X server :0
[+58.93s] DEBUG: DisplayServer x-0: Connecting to XServer :0
[+58.93s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+58.93s] DEBUG: Session pid=592: Started with service 'lightdm-greeter', username 'lightdm'
[+58.94s] DEBUG: Session pid=592: Authentication complete with return value 0: Success
[+58.94s] DEBUG: Seat seat0: Session authenticated, running command
[+58.94s] DEBUG: Session pid=592: Running command /usr/sbin/lightdm-gtk-greeter
[+58.94s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+58.94s] DEBUG: Session pid=592: Logging to /var/log/lightdm/seat0-greeter.log
[+59.00s] DEBUG: Activating VT 7
[+59.00s] DEBUG: Activating login1 session c4
[+59.12s] DEBUG: Greeter connected version=1.18.3 resettable=false
[+59.18s] DEBUG: Greeter start authentication for derongan
[+59.18s] DEBUG: Session pid=638: Started with service 'lightdm', username 'derongan'
[+59.19s] DEBUG: Session pid=638: Got 1 message(s) from PAM
[+59.19s] DEBUG: Prompt greeter with 1 message(s)
[+61.50s] DEBUG: Seat seat0 changes active session to c2Because I can login as root, I assume it is a permission problem but I am having trouble figuring out where that problem is coming from.
Thank you!
Derongan
Offline
[+55.36s] DEBUG: Session pid=463: Logging to .xsession-errors
...
[+58.94s] DEBUG: Session pid=592: Logging to /var/log/lightdm/seat0-greeter.loghave you checked these files for input?
Offline
Yes, should have mentioned that.
My .xsession-errors in my home directory is owned by me with rw permissions and is always empty
My seat0-greeter.log looks like the following:
** Message: Starting lightdm-gtk-greeter 2.0.2 (Oct 17 2016, 14:22:50)
** Message: [Configuration] Reading file: /etc/lightdm/lightdm-gtk-greeter.conf
** (lightdm-gtk-greeter:621): WARNING **: [PIDs] Failed to execute command: upstart
(lightdm-gtk-greeter:621): Gtk-WARNING **: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menubar owner GreeterMenuBar)Maybe the failure to upstart is relevant?
Offline
Still having problems with this, stopped bothering with a desktop manager for a bit but its bothersome to not have it working if I want it.
If I check roots home directory there is a different .xsession-errors file that contains the following:
xfce4-session: No SSH authentication agent found
gpg-agent[758]: WARNING: "--write-env-file" is an obsolete option - it has no effect
gpg-agent[759]: gpg-agent (GnuPG) 2.1.15 started
(xfce4-session:750): xfce4-session-WARNING **: gpg-agent returned no PID in the variables
(wrapper-2.0:786): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height 29
(xfce4-panel:771): Gtk-CRITICAL **: IA__gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed
(xfce4-panel:771): Gtk-CRITICAL **: IA__gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed
(xfce4-session:750): Gtk-CRITICAL **: IA__gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed
(xfce4-session:750): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(polkit-gnome-authentication-agent-1:808): Gdk-WARNING **: polkit-gnome-authentication-agent-1: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
(nm-applet:813): Gdk-WARNING **: nm-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
gpg-agent[759]: SIGTERM received - shutting down ...
gpg-agent[759]: gpg-agent (GnuPG) 2.1.15 stoppedOffline
Create a new user, can you use that as well?
Offline
A new user can use it.
Sadly the laptop I was running this on died due to mechanical failure, so I can't see this problem through to the end. New laptop works with lightdm with no problems.
Offline