You are not logged in.

#1 2014-09-20 19:36:38

Gigitsu
Member
Registered: 2013-12-06
Posts: 21

LightDM login loop

Hi,

I've recently installed LightDM on my desktop with KDE (before I've used KDM as login manager) and webkit greeter.
I can see the LigthDM greeter screen but when i try to login i get redirected to the greeter screen.

When I execute

lightdm --test-mode --debug

and I enter my username and password this is my output:

[+0.00s] DEBUG: Logging to /home/gigitsu/.cache/lightdm/log/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.10.1, UID=1000 PID=8425
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/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: Using Xephyr for X servers
[+0.00s] DEBUG: Registered seat module xlocal
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Registered seat module unity
[+0.00s] DEBUG: Registered seat module surfaceflinger
[+0.00s] DEBUG: Adding default seat
[+0.00s] DEBUG: Seat: Starting
[+0.00s] DEBUG: Seat: 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 gigitsu added
[+0.01s] DEBUG: Seat: 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: Starting local X display
[+0.01s] DEBUG: DisplayServer x-1: Logging to /home/gigitsu/.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 8431: /usr/bin/Xephyr :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: Starting XDMCP server on UDP/IP port 177
[+0.01s] WARNING: Failed to create IPv4 XDMCP socket: Error binding to address: Permission denied
[+0.01s] WARNING: Failed to create IPv6 XDMCP socket: Error binding to address: Permission denied
[+0.09s] DEBUG: Got signal 10 from process 8431
[+0.09s] DEBUG: DisplayServer x-1: Got signal from X server :1
[+0.09s] DEBUG: DisplayServer x-1: Connecting to XServer :1
[+0.09s] DEBUG: Seat: Display server ready, starting session authentication
[+0.09s] DEBUG: Session: Not setting XDG_VTNR
[+0.09s] DEBUG: Session pid=8441: Started with service 'lightdm-greeter', username 'gigitsu'
[+0.10s] DEBUG: Session pid=8441: Authentication complete with return value 0: Success
[+0.10s] DEBUG: Seat: Session authenticated, running command
[+0.10s] DEBUG: Session pid=8441: Not setting XDG_VTNR
[+0.10s] DEBUG: Session pid=8441: Running command /usr/bin/lightdm-kde-greeter
[+0.10s] DEBUG: Creating shared data directory /var/lib/lightdm-data/gigitsu
[+0.10s] WARNING: Could not create user data directory /var/lib/lightdm-data/gigitsu: Error creating directory: Permission denied
[+0.10s] DEBUG: Session pid=8441: Logging to /home/gigitsu/.cache/lightdm/log/x-1-greeter.log
[+0.36s] DEBUG: Session pid=8441: Greeter connected version=1.10.1
[+8.84s] DEBUG: Session pid=8441: Greeter start authentication for gigitsu
[+8.84s] DEBUG: Session: Not setting XDG_VTNR
[+8.84s] DEBUG: Session pid=8448: Started with service 'lightdm', username 'gigitsu'
[+8.86s] DEBUG: Session pid=8448: Got 1 message(s) from PAM
[+8.86s] DEBUG: Session pid=8441: Prompt greeter with 1 message(s)
[+8.86s] DEBUG: Session pid=8441: Continue authentication
[+8.88s] DEBUG: Session pid=8448: Authentication complete with return value 0: Success
[+8.88s] DEBUG: Session pid=8441: Authenticate result for user gigitsu: Success
[+8.88s] DEBUG: Session pid=8441: User gigitsu authorized
[+9.37s] DEBUG: Session pid=8441: Greeter requests default session
[+9.38s] DEBUG: Seat: Returning to existing user session gigitsu
[+9.38s] DEBUG: Session pid=8448: Exited with return value 0
[+9.38s] DEBUG: Seat: Session stopped
[+46.48s] DEBUG: Got signal 2 from process 0
[+46.48s] DEBUG: Caught Interrupt signal, shutting down
[+46.48s] DEBUG: Stopping display manager
[+46.48s] DEBUG: Seat: Stopping
[+46.48s] DEBUG: Seat: Stopping display server
[+46.48s] DEBUG: Sending signal 15 to process 8431
[+46.48s] DEBUG: Seat: Stopping session
[+46.48s] DEBUG: Session pid=8441: Sending SIGTERM
[+46.48s] DEBUG: Session pid=8441: Terminated with signal 2
[+46.48s] DEBUG: Seat: Session stopped
[+46.49s] DEBUG: Process 8431 exited with return value 0
[+46.49s] DEBUG: DisplayServer x-1: X server stopped
[+46.49s] DEBUG: DisplayServer x-1: Removing X server authority /run/lightdm/root/:1
[+46.49s] DEBUG: Seat: Display server stopped
[+46.49s] DEBUG: Seat: Stopped
[+46.49s] DEBUG: Display manager stopped
[+46.49s] DEBUG: Stopping daemon
[+46.49s] DEBUG: Exiting with return value 0

This is my /etc/lightdm/lightdm.conf:

[LightDM]
minimum-vt=1
run-directory=/run/lightdm

[SeatDefaults]
allow-guest=true
autologin-guest=false
#autologin-user=
greeter-session=./lightdm-webkit-greeter
pam-service=lightdm-autologin
session-wrapper=/etc/lightdm/Xsession
user-session=kde-plasma

[VNCServer]
enabled=false

[XDMCPServer]
enabled=false

What is wrong?

Thank you.

Last edited by Gigitsu (2014-09-20 19:41:57)

Offline

Board footer

Powered by FluxBB