You are not logged in.

#1 2015-12-15 02:56:28

jamwil
Member
Registered: 2015-12-11
Posts: 4

[SOLVED] LightDM 'failed to start session' at gtk-greeter login prompt

I’ve installed lightdm and the gtk greeter, enabled them with `systemctl enable lightdm`. At that point I'm presented with a functioning greeter screen, however every login attempt is met with "failed to start session". The debug log indicates this has something to do with my user account but I'm lost on how to fix it.

[+0.00s] DEBUG: Logging to /home/james/.cache/lightdm/log/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.16.6, UID=1000 PID=788
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Running in user mode
[+0.00s] DEBUG: Registered seat module xlocal
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Registered seat module unity
[+0.01s] DEBUG: Monitoring logind for seats
[+0.01s] DEBUG: New seat added from logind: seat0
[+0.01s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.01s] DEBUG: Seat seat0: Starting
[+0.01s] DEBUG: Seat seat0: Creating greeter session
[+0.01s] WARNING: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
[+0.01s] DEBUG: Loading user config from /etc/lightdm/users.conf
[+0.01s] DEBUG: User james added
[+0.01s] DEBUG: Seat seat0: Creating display server of type x
[+0.01s] DEBUG: Could not run plymouth --ping: Failed to execute child process "plymouth" (No such file or directory)
[+0.01s] DEBUG: Seat seat0: Starting local X display
[+0.01s] DEBUG: DisplayServer x-1: Logging to /home/james/.cache/lightdm/log/x-1.log
[+0.01s] DEBUG: DisplayServer x-1: Writing X server authority to /run/lightdm/root/:1
[+0.01s] WARNING: Error reading existing Xauthority: Failed to open file '/run/lightdm/root/:1': Permission denied
[+0.01s] WARNING: DisplayServer x-1: Failed to write authority: Failed to open X authority /run/lightdm/root/:1: Permission denied
[+0.01s] DEBUG: DisplayServer x-1: Launching X Server
[+0.01s] DEBUG: Launching process 795: /usr/bin/X :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp
[+0.01s] DEBUG: DisplayServer x-1: Waiting for ready signal from X server :1
[+0.01s] WARNING: Could not enumerate user data directory /var/lib/lightdm-data: Permission denied
[+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.01s] DEBUG: Process 795 exited with return value 1
[+0.01s] DEBUG: DisplayServer x-1: X server stopped
[+0.01s] DEBUG: DisplayServer x-1: Removing X server authority /run/lightdm/root/:1
[+0.01s] DEBUG: Seat seat0: Display server stopped
[+0.01s] DEBUG: Seat seat0: Stopping; greeter display server failed to start
[+0.01s] DEBUG: Seat seat0: Stopping
[+0.01s] DEBUG: Seat seat0: Stopping session
[+0.01s] DEBUG: Seat seat0: Session stopped
[+0.01s] DEBUG: Seat seat0: Stopped
[+0.01s] DEBUG: Required seat has stopped
[+0.01s] DEBUG: Stopping display manager
[+0.01s] DEBUG: Display manager stopped
[+0.01s] DEBUG: Stopping daemon
[+0.01s] DEBUG: Seat seat0: Stopping session
[+0.01s] DEBUG: Exiting with return value 1

Hopefully this makes more sense to you than it does me. Any assistance would be awesome. Thanks!

Last edited by jamwil (2015-12-15 03:04:43)

Offline

#2 2015-12-15 03:04:19

jamwil
Member
Registered: 2015-12-11
Posts: 4

Re: [SOLVED] LightDM 'failed to start session' at gtk-greeter login prompt

Never mind, I'm an idiot. Forgot to actually install i3. It's been a long day.

Offline

Board footer

Powered by FluxBB