You are not logged in.
English is not my native language, please excuse typing mistakes and grammar mistakes.
I'm using LightDM and i3wm, and they work well with only one user; when I created a new user and try to use it to login in LightDM, I can't reach my desktop, but the screen turns black when I try to login, and rollbacks to the login page, so I guess I've login successfully. I can still enter desktop through the old user.
/etc/lightdm/lightdm.conf
[LightDM]
run-directory=/run/lightdm
[Seat:*]
session-wrapper=/etc/lightdm/Xsession
/var/log/lightdm/lightdm.log
[+0.07s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.07s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=359
[+0.07s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.07s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.07s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.07s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.07s] DEBUG: Registered seat module local
[+0.07s] DEBUG: Registered seat module xremote
[+0.07s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.20s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+0.80s] DEBUG: Monitoring logind for seats
[+0.80s] DEBUG: New seat added from logind: seat0
[+0.80s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.80s] DEBUG: Seat seat0: Starting
[+0.80s] DEBUG: Seat seat0: Creating greeter session
[+0.83s] DEBUG: Seat seat0: Creating display server of type x
[+0.83s] DEBUG: posix_spawn avoided (fd close requested)
[+0.84s] DEBUG: Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
[+0.84s] DEBUG: Using VT 7
[+0.84s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.84s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.84s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+0.84s] DEBUG: XServer 0: Launching X Server
[+0.84s] DEBUG: Launching process 369: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.84s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.84s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.84s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+3.26s] DEBUG: Loading users from org.freedesktop.Accounts
[+3.26s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+3.71s] DEBUG: User /org/freedesktop/Accounts/User1001 added
[+3.72s] DEBUG: posix_spawn avoided (automatic reaping requested) (fd close requested)
[+4.42s] DEBUG: Got signal 10 from process 369
[+4.42s] DEBUG: XServer 0: Got signal from X server :0
[+4.42s] DEBUG: XServer 0: Connecting to XServer :0
[+4.42s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified)
[+4.42s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+4.42s] DEBUG: Session pid=390: Started with service 'lightdm-greeter', username 'lightdm'
[+4.54s] DEBUG: Session pid=390: Authentication complete with return value 0: Success
[+4.54s] DEBUG: Seat seat0: Session authenticated, running command
[+4.54s] DEBUG: Session pid=390: Running command /usr/bin/lightdm-gtk-greeter
[+4.54s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+4.54s] DEBUG: Session pid=390: Logging to /var/log/lightdm/seat0-greeter.log
[+4.87s] DEBUG: Activating VT 7
[+4.87s] DEBUG: Activating login1 session c1
[+4.87s] DEBUG: Seat seat0 changes active session to c1
[+4.87s] DEBUG: Session c1 is already active
[+6.07s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
[+7.50s] DEBUG: Greeter start authentication for virginia
[+7.50s] DEBUG: Session pid=419: Started with service 'lightdm', username 'virginia'
[+7.64s] DEBUG: Session pid=419: Got 1 message(s) from PAM
[+7.64s] DEBUG: Prompt greeter with 1 message(s)
[+11.48s] DEBUG: Continue authentication
[+11.55s] DEBUG: Session pid=419: Authentication complete with return value 0: Success
[+11.55s] DEBUG: Authenticate result for user virginia: Success
[+11.55s] DEBUG: User virginia authorized
[+11.58s] DEBUG: Greeter requests session i3
[+11.58s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+11.58s] DEBUG: Terminating login1 session c1
[+11.58s] DEBUG: Session pid=390: Sending SIGTERM
[+11.70s] DEBUG: Greeter closed communication channel
[+11.70s] DEBUG: Session pid=390: Exited with return value 0
[+11.70s] DEBUG: Seat seat0: Session stopped
[+11.70s] DEBUG: Seat seat0: Greeter stopped, running session
[+11.70s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+11.70s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified)
[+11.71s] DEBUG: Session pid=419: Running command /etc/lightdm/Xsession i3
[+11.71s] DEBUG: Creating shared data directory /var/lib/lightdm-data/virginia
[+11.71s] DEBUG: Session pid=419: Logging to .xsession-errors
[+11.77s] DEBUG: Activating VT 7
[+11.77s] DEBUG: Activating login1 session 2
[+11.77s] DEBUG: Seat seat0 changes active session to 2
[+11.77s] DEBUG: Session 2 is already active
[+11.78s] DEBUG: Session pid=419: Exited with return value 1
[+11.78s] DEBUG: Seat seat0: Session stopped
[+11.78s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+11.78s] DEBUG: Sending signal 15 to process 369
[+12.05s] DEBUG: Process 369 exited with return value 0
[+12.05s] DEBUG: XServer 0: X server stopped
[+12.05s] DEBUG: Releasing VT 7
[+12.05s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
[+12.05s] DEBUG: Seat seat0: Display server stopped
[+12.05s] DEBUG: Seat seat0: Active display server stopped, starting greeter
[+12.05s] DEBUG: Seat seat0: Creating greeter session
[+12.05s] DEBUG: Seat seat0: Creating display server of type x
[+12.05s] DEBUG: Using VT 7
[+12.05s] DEBUG: Seat seat0: Starting local X display on VT 7
[+12.05s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+12.05s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+12.05s] DEBUG: XServer 0: Launching X Server
[+12.07s] DEBUG: Launching process 475: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+12.07s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+12.56s] DEBUG: Got signal 10 from process 475
[+12.56s] DEBUG: XServer 0: Got signal from X server :0
[+12.56s] DEBUG: XServer 0: Connecting to XServer :0
[+12.56s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified)
[+12.56s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+12.57s] DEBUG: Session pid=480: Started with service 'lightdm-greeter', username 'lightdm'
[+12.58s] DEBUG: Session pid=480: Authentication complete with return value 0: Success
[+12.58s] DEBUG: Seat seat0: Session authenticated, running command
[+12.58s] DEBUG: Session pid=480: Running command /usr/bin/lightdm-gtk-greeter
[+12.58s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+12.58s] DEBUG: Session pid=480: Logging to /var/log/lightdm/seat0-greeter.log
[+12.59s] DEBUG: Activating VT 7
[+12.59s] DEBUG: Activating login1 session c2
[+12.59s] DEBUG: Seat seat0 changes active session to c2
[+12.59s] DEBUG: Session c2 is already active
[+12.71s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
[+12.82s] DEBUG: Greeter start authentication for virginia
[+12.82s] DEBUG: Session pid=494: Started with service 'lightdm', username 'virginia'
[+12.85s] DEBUG: Session pid=494: Got 1 message(s) from PAM
[+12.85s] DEBUG: Prompt greeter with 1 message(s)
[+18.35s] DEBUG: Greeter start authentication for test
[+18.35s] DEBUG: Session pid=494: Sending SIGTERM
[+18.36s] DEBUG: Session pid=495: Started with service 'lightdm', username 'test'
[+18.36s] DEBUG: Session pid=494: Terminated with signal 15
[+18.36s] DEBUG: Session: Failed during authentication
[+18.36s] DEBUG: Seat seat0: Session stopped
[+18.39s] DEBUG: Session pid=495: Got 1 message(s) from PAM
[+18.39s] DEBUG: Prompt greeter with 1 message(s)
[+19.62s] DEBUG: Greeter start authentication for virginia
[+19.62s] DEBUG: Session pid=495: Sending SIGTERM
[+19.62s] DEBUG: Session pid=496: Started with service 'lightdm', username 'virginia'
[+19.62s] DEBUG: Session pid=495: Terminated with signal 15
[+19.62s] DEBUG: Session: Failed during authentication
[+19.62s] DEBUG: Seat seat0: Session stopped
[+19.65s] DEBUG: Session pid=496: Got 1 message(s) from PAM
[+19.65s] DEBUG: Prompt greeter with 1 message(s)
[+30.81s] DEBUG: Seat seat0 changes active session to 4
[+34.63s] DEBUG: Greeter start authentication for test
[+34.63s] DEBUG: Session pid=496: Sending SIGTERM
[+34.63s] DEBUG: Session pid=509: Started with service 'lightdm', username 'test'
[+34.63s] DEBUG: Session pid=496: Terminated with signal 15
[+34.63s] DEBUG: Session: Failed during authentication
[+34.63s] DEBUG: Seat seat0: Session stopped
[+34.67s] DEBUG: Session pid=509: Got 1 message(s) from PAM
[+34.67s] DEBUG: Prompt greeter with 1 message(s)
[+41.17s] DEBUG: Continue authentication
[+41.23s] DEBUG: Session pid=509: Authentication complete with return value 0: Success
[+41.23s] DEBUG: Authenticate result for user test: Success
[+41.23s] DEBUG: User test authorized
[+41.26s] DEBUG: Greeter requests session i3
[+41.26s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+41.26s] DEBUG: Terminating login1 session c2
[+41.26s] DEBUG: Session pid=480: Sending SIGTERM
[+41.30s] DEBUG: Greeter closed communication channel
[+41.30s] DEBUG: Session pid=480: Exited with return value 0
[+41.30s] DEBUG: Seat seat0: Session stopped
[+41.30s] DEBUG: Seat seat0: Greeter stopped, running session
[+41.30s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session1
[+41.30s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified)
[+41.30s] DEBUG: Session pid=509: Running command /etc/lightdm/Xsession i3
[+41.30s] DEBUG: Creating shared data directory /var/lib/lightdm-data/test
[+41.30s] DEBUG: Session pid=509: Logging to .xsession-errors
[+41.42s] DEBUG: Activating VT 7
[+41.42s] DEBUG: Activating login1 session 6
[+41.42s] DEBUG: Seat seat0 changes active session to 6
[+41.42s] DEBUG: Session 6 is already active
[+447.99s] DEBUG: Seat seat0: Creating greeter session
[+447.99s] DEBUG: Seat seat0: Creating display server of type x
[+447.99s] DEBUG: Using VT 8
[+447.99s] DEBUG: Seat seat0: Starting local X display on VT 8
[+447.99s] DEBUG: XServer 1: Logging to /var/log/lightdm/x-1.log
[+447.99s] DEBUG: XServer 1: Writing X server authority to /run/lightdm/root/:1
[+447.99s] DEBUG: XServer 1: Launching X Server
[+447.99s] DEBUG: Launching process 794: /usr/bin/X :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp vt8 -novtswitch
[+447.99s] DEBUG: XServer 1: Waiting for ready signal from X server :1
[+448.87s] DEBUG: Got signal 10 from process 794
[+448.87s] DEBUG: XServer 1: Got signal from X server :1
[+448.87s] DEBUG: XServer 1: Connecting to XServer :1
[+448.87s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified)
[+448.87s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+448.87s] DEBUG: Session pid=801: Started with service 'lightdm-greeter', username 'lightdm'
[+448.88s] DEBUG: Session pid=801: Authentication complete with return value 0: Success
[+448.88s] DEBUG: Seat seat0: Session authenticated, running command
[+448.88s] DEBUG: Session pid=801: Running command /usr/bin/lightdm-gtk-greeter
[+448.88s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+448.88s] DEBUG: Session pid=801: Logging to /var/log/lightdm/seat0-greeter.log
[+448.95s] DEBUG: Activating VT 8
[+448.95s] DEBUG: Locking login1 session 6
[+448.95s] DEBUG: Activating login1 session c3
[+448.95s] DEBUG: Seat seat0 changes active session to c3
[+448.95s] DEBUG: Session c3 is already active
[+449.06s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
[+449.24s] DEBUG: Greeter start authentication for test
[+449.24s] DEBUG: Session pid=830: Started with service 'lightdm', username 'test'
[+449.29s] DEBUG: Session pid=830: Got 1 message(s) from PAM
[+449.29s] DEBUG: Prompt greeter with 1 message(s)
[+450.71s] DEBUG: Greeter start authentication for virginia
[+450.71s] DEBUG: Session pid=830: Sending SIGTERM
[+450.71s] DEBUG: Session pid=835: Started with service 'lightdm', username 'virginia'
[+450.71s] DEBUG: Session pid=830: Terminated with signal 15
[+450.71s] DEBUG: Session: Failed during authentication
[+450.71s] DEBUG: Seat seat0: Session stopped
[+450.76s] DEBUG: Session pid=835: Got 1 message(s) from PAM
[+450.76s] DEBUG: Prompt greeter with 1 message(s)
[+453.98s] DEBUG: Continue authentication
[+454.04s] DEBUG: Session pid=835: Authentication complete with return value 0: Success
[+454.04s] DEBUG: Authenticate result for user virginia: Success
[+454.04s] DEBUG: User virginia authorized
[+454.07s] DEBUG: Greeter requests session i3
[+454.07s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+454.07s] DEBUG: Terminating login1 session c3
[+454.08s] DEBUG: Session pid=801: Sending SIGTERM
[+454.11s] DEBUG: Greeter closed communication channel
[+454.11s] DEBUG: Session pid=801: Exited with return value 0
[+454.11s] DEBUG: Seat seat0: Session stopped
[+454.11s] DEBUG: Seat seat0: Greeter stopped, running session
[+454.11s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session2
[+454.12s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified)
[+454.12s] DEBUG: Session pid=835: Running command /etc/lightdm/Xsession i3
[+454.12s] DEBUG: Creating shared data directory /var/lib/lightdm-data/virginia
[+454.12s] DEBUG: Session pid=835: Logging to .xsession-errors
[+454.19s] DEBUG: Activating VT 8
[+454.19s] DEBUG: Activating login1 session 9
[+454.19s] DEBUG: Session pid=835: Exited with return value 1
[+454.19s] DEBUG: Seat seat0: Session stopped
[+454.19s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+454.19s] DEBUG: Sending signal 15 to process 794
[+454.19s] DEBUG: Seat seat0 changes active session to 9
[+454.51s] DEBUG: Process 794 exited with return value 0
[+454.51s] DEBUG: XServer 1: X server stopped
[+454.51s] DEBUG: Releasing VT 8
[+454.51s] DEBUG: XServer 1: Removing X server authority /run/lightdm/root/:1
[+454.51s] DEBUG: Seat seat0: Display server stopped
[+454.51s] DEBUG: Seat seat0: Active display server stopped, starting greeter
[+454.51s] DEBUG: Seat seat0: Creating greeter session
[+454.51s] DEBUG: Seat seat0: Creating display server of type x
[+454.51s] DEBUG: Using VT 8
[+454.51s] DEBUG: Seat seat0: Starting local X display on VT 8
[+454.51s] DEBUG: XServer 1: Logging to /var/log/lightdm/x-1.log
[+454.51s] DEBUG: XServer 1: Writing X server authority to /run/lightdm/root/:1
[+454.51s] DEBUG: XServer 1: Launching X Server
[+454.51s] DEBUG: Launching process 847: /usr/bin/X :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp vt8 -novtswitch
[+454.51s] DEBUG: XServer 1: Waiting for ready signal from X server :1
[+454.98s] DEBUG: Got signal 10 from process 847
[+454.98s] DEBUG: XServer 1: Got signal from X server :1
[+454.98s] DEBUG: XServer 1: Connecting to XServer :1
[+454.98s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified)
[+454.98s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+454.98s] DEBUG: Session pid=852: Started with service 'lightdm-greeter', username 'lightdm'
[+455.00s] DEBUG: Session pid=852: Authentication complete with return value 0: Success
[+455.00s] DEBUG: Seat seat0: Session authenticated, running command
[+455.00s] DEBUG: Session pid=852: Running command /usr/bin/lightdm-gtk-greeter
[+455.00s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+455.00s] DEBUG: Session pid=852: Logging to /var/log/lightdm/seat0-greeter.log
[+455.01s] DEBUG: Activating VT 8
[+455.01s] DEBUG: Activating login1 session c4
[+455.01s] DEBUG: Seat seat0 changes active session to c4
[+455.01s] DEBUG: Session c4 is already active
[+455.13s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
[+455.21s] DEBUG: Greeter start authentication for virginia
[+455.21s] DEBUG: Session pid=866: Started with service 'lightdm', username 'virginia'
[+455.25s] DEBUG: Session pid=866: Got 1 message(s) from PAM
[+455.25s] DEBUG: Prompt greeter with 1 message(s)
[+500.28s] DEBUG: Seat seat0: Switching to user virginia
[+500.28s] DEBUG: Seat seat0: Creating user session
[+500.28s] DEBUG: Session pid=872: Started with service 'lightdm', username 'virginia'
[+500.35s] DEBUG: Session pid=872: Authentication complete with return value 20: Authentication token manipulation error
[+500.35s] DEBUG: Session pid=872: Sending SIGTERM
[+500.35s] DEBUG: Seat seat0: Starting greeter to authenticate session
[+500.35s] DEBUG: Seat seat0: Creating greeter session
[+500.35s] DEBUG: Seat seat0: Creating display server of type x
[+500.35s] DEBUG: Using VT 9
[+500.35s] DEBUG: Seat seat0: Starting local X display on VT 9
[+500.35s] DEBUG: XServer 2: Logging to /var/log/lightdm/x-2.log
[+500.35s] DEBUG: XServer 2: Writing X server authority to /run/lightdm/root/:2
[+500.35s] DEBUG: XServer 2: Launching X Server
[+500.35s] DEBUG: Launching process 873: /usr/bin/X :2 -seat seat0 -auth /run/lightdm/root/:2 -nolisten tcp vt9 -novtswitch
[+500.35s] DEBUG: XServer 2: Waiting for ready signal from X server :2
[+500.35s] DEBUG: Session pid=872: Terminated with signal 15
[+500.35s] DEBUG: Seat seat0: Session stopped
[+501.16s] DEBUG: Got signal 10 from process 873
[+501.16s] DEBUG: XServer 2: Got signal from X server :2
[+501.16s] DEBUG: XServer 2: Connecting to XServer :2
[+501.17s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified)
[+501.17s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+501.17s] DEBUG: Session pid=881: Started with service 'lightdm-greeter', username 'lightdm'
[+501.18s] DEBUG: Session pid=881: Authentication complete with return value 0: Success
[+501.18s] DEBUG: Seat seat0: Session authenticated, switching to existing user session
[+501.18s] DEBUG: Activating VT 8
[+501.42s] DEBUG: Seat seat0: Stopping greeter
[+501.42s] DEBUG: Activating login1 session c4
[+501.42s] DEBUG: Greeter closed communication channel
[+501.42s] DEBUG: Session pid=881: Exited with return value 0
[+501.42s] DEBUG: Seat seat0: Session stopped
[+501.42s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+501.42s] DEBUG: Sending signal 15 to process 873
[+501.43s] DEBUG: Process 873 exited with return value 0
[+501.43s] DEBUG: XServer 2: X server stopped
[+501.43s] DEBUG: Releasing VT 9
[+501.43s] DEBUG: XServer 2: Removing X server authority /run/lightdm/root/:2
[+501.43s] DEBUG: Seat seat0: Display server stopped
[+504.89s] DEBUG: Continue authentication
[+504.95s] DEBUG: Session pid=866: Authentication complete with return value 0: Success
[+504.95s] DEBUG: Authenticate result for user virginia: Success
[+504.95s] DEBUG: User virginia authorized
[+504.98s] DEBUG: Greeter requests session i3
[+504.98s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+504.98s] DEBUG: Terminating login1 session c4
[+504.99s] DEBUG: Session pid=852: Sending SIGTERM
[+505.02s] DEBUG: Greeter closed communication channel
[+505.02s] DEBUG: Session pid=852: Exited with return value 0
[+505.02s] DEBUG: Seat seat0: Session stopped
[+505.02s] DEBUG: Seat seat0: Greeter stopped, running session
[+505.02s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session3
[+505.02s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified)
[+505.02s] DEBUG: Session pid=866: Running command /etc/lightdm/Xsession i3
[+505.02s] DEBUG: Creating shared data directory /var/lib/lightdm-data/virginia
[+505.02s] DEBUG: Session pid=866: Logging to .xsession-errors
[+505.09s] DEBUG: Activating VT 8
[+505.09s] DEBUG: Activating login1 session 11
[+505.09s] DEBUG: Seat seat0 changes active session to 11
[+505.09s] DEBUG: Session 11 is already active
[+505.09s] DEBUG: Session pid=866: Exited with return value 1
[+505.09s] DEBUG: Seat seat0: Session stopped
[+505.09s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+505.09s] DEBUG: Sending signal 15 to process 847
[+505.47s] DEBUG: Process 847 exited with return value 0
[+505.47s] DEBUG: XServer 1: X server stopped
[+505.47s] DEBUG: Releasing VT 8
[+505.47s] DEBUG: XServer 1: Removing X server authority /run/lightdm/root/:1
[+505.47s] DEBUG: Seat seat0: Display server stopped
[+505.47s] DEBUG: Seat seat0: Active display server stopped, starting greeter
[+505.47s] DEBUG: Seat seat0: Creating greeter session
[+505.47s] DEBUG: Seat seat0: Creating display server of type x
[+505.47s] DEBUG: Using VT 8
[+505.47s] DEBUG: Seat seat0: Starting local X display on VT 8
[+505.47s] DEBUG: XServer 1: Logging to /var/log/lightdm/x-1.log
[+505.47s] DEBUG: XServer 1: Writing X server authority to /run/lightdm/root/:1
[+505.47s] DEBUG: XServer 1: Launching X Server
[+505.47s] DEBUG: Launching process 894: /usr/bin/X :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp vt8 -novtswitch
[+505.47s] DEBUG: XServer 1: Waiting for ready signal from X server :1
[+505.96s] DEBUG: Got signal 10 from process 894
[+505.96s] DEBUG: XServer 1: Got signal from X server :1
[+505.96s] DEBUG: XServer 1: Connecting to XServer :1
[+505.96s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified)
[+505.96s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+505.96s] DEBUG: Session pid=899: Started with service 'lightdm-greeter', username 'lightdm'
[+505.98s] DEBUG: Session pid=899: Authentication complete with return value 0: Success
[+505.98s] DEBUG: Seat seat0: Session authenticated, running command
[+505.98s] DEBUG: Session pid=899: Running command /usr/bin/lightdm-gtk-greeter
[+505.98s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+505.98s] DEBUG: Session pid=899: Logging to /var/log/lightdm/seat0-greeter.log
[+505.99s] DEBUG: Activating VT 8
[+505.99s] DEBUG: Activating login1 session c5
[+505.99s] DEBUG: Seat seat0 changes active session to c5
[+505.99s] DEBUG: Session c5 is already active
[+506.08s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
[+506.16s] DEBUG: Greeter start authentication for virginia
[+506.16s] DEBUG: Session pid=913: Started with service 'lightdm', username 'virginia'
[+506.20s] DEBUG: Session pid=913: Got 1 message(s) from PAM
[+506.20s] DEBUG: Prompt greeter with 1 message(s)
[+509.80s] DEBUG: Continue authentication
[+509.86s] DEBUG: Session pid=913: Authentication complete with return value 0: Success
[+509.86s] DEBUG: Authenticate result for user virginia: Success
[+509.86s] DEBUG: User virginia authorized
[+509.89s] DEBUG: Greeter requests session i3
[+509.89s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+509.89s] DEBUG: Terminating login1 session c5
[+509.90s] DEBUG: Session pid=899: Sending SIGTERM
[+509.93s] DEBUG: Greeter closed communication channel
[+509.93s] DEBUG: Session pid=899: Exited with return value 0
[+509.93s] DEBUG: Seat seat0: Session stopped
[+509.93s] DEBUG: Seat seat0: Greeter stopped, running session
[+509.93s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session4
[+509.93s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified)
[+509.93s] DEBUG: Session pid=913: Running command /etc/lightdm/Xsession i3
[+509.93s] DEBUG: Creating shared data directory /var/lib/lightdm-data/virginia
[+509.93s] DEBUG: Session pid=913: Logging to .xsession-errors
[+509.94s] DEBUG: Activating VT 8
[+509.94s] DEBUG: Activating login1 session 13
[+509.94s] DEBUG: Seat seat0 changes active session to 13
[+509.94s] DEBUG: Session 13 is already active
[+509.95s] DEBUG: Session pid=913: Exited with return value 1
[+509.95s] DEBUG: Seat seat0: Session stopped
[+509.95s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+509.95s] DEBUG: Sending signal 15 to process 894
[+510.26s] DEBUG: Process 894 exited with return value 0
[+510.26s] DEBUG: XServer 1: X server stopped
[+510.26s] DEBUG: Releasing VT 8
[+510.26s] DEBUG: XServer 1: Removing X server authority /run/lightdm/root/:1
[+510.26s] DEBUG: Seat seat0: Display server stopped
[+510.26s] DEBUG: Seat seat0: Active display server stopped, starting greeter
[+510.26s] DEBUG: Seat seat0: Creating greeter session
[+510.26s] DEBUG: Seat seat0: Creating display server of type x
[+510.26s] DEBUG: Using VT 8
[+510.26s] DEBUG: Seat seat0: Starting local X display on VT 8
[+510.26s] DEBUG: XServer 1: Logging to /var/log/lightdm/x-1.log
[+510.26s] DEBUG: XServer 1: Writing X server authority to /run/lightdm/root/:1
[+510.26s] DEBUG: XServer 1: Launching X Server
[+510.26s] DEBUG: Launching process 917: /usr/bin/X :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp vt8 -novtswitch
[+510.26s] DEBUG: XServer 1: Waiting for ready signal from X server :1
[+510.73s] DEBUG: Got signal 10 from process 917
[+510.73s] DEBUG: XServer 1: Got signal from X server :1
[+510.73s] DEBUG: XServer 1: Connecting to XServer :1
[+510.73s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified)
[+510.73s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+510.74s] DEBUG: Session pid=922: Started with service 'lightdm-greeter', username 'lightdm'
[+510.75s] DEBUG: Session pid=922: Authentication complete with return value 0: Success
[+510.75s] DEBUG: Seat seat0: Session authenticated, running command
[+510.75s] DEBUG: Session pid=922: Running command /usr/bin/lightdm-gtk-greeter
[+510.75s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+510.75s] DEBUG: Session pid=922: Logging to /var/log/lightdm/seat0-greeter.log
[+510.76s] DEBUG: Activating VT 8
[+510.76s] DEBUG: Activating login1 session c6
[+510.76s] DEBUG: Seat seat0 changes active session to c6
[+510.76s] DEBUG: Session c6 is already active
[+510.88s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
[+510.97s] DEBUG: Greeter start authentication for virginia
[+510.97s] DEBUG: Session pid=936: Started with service 'lightdm', username 'virginia'
[+511.01s] DEBUG: Session pid=936: Got 1 message(s) from PAM
[+511.01s] DEBUG: Prompt greeter with 1 message(s)
[+513.21s] DEBUG: Greeter start authentication for test
[+513.21s] DEBUG: Session pid=936: Sending SIGTERM
[+513.21s] DEBUG: Session pid=937: Started with service 'lightdm', username 'test'
[+513.21s] DEBUG: Session pid=936: Terminated with signal 15
[+513.21s] DEBUG: Session: Failed during authentication
[+513.21s] DEBUG: Seat seat0: Session stopped
[+513.25s] DEBUG: Session pid=937: Got 1 message(s) from PAM
[+513.25s] DEBUG: Prompt greeter with 1 message(s)
[+516.46s] DEBUG: Continue authentication
[+516.53s] DEBUG: Session pid=937: Authentication complete with return value 0: Success
[+516.53s] DEBUG: Authenticate result for user test: Success
[+516.53s] DEBUG: User test authorized
[+516.56s] DEBUG: Greeter requests session i3
[+516.56s] DEBUG: Seat seat0: Returning to existing user session test
[+516.56s] DEBUG: Unlocking login1 session 6
[+516.56s] DEBUG: Activating VT 7
[+516.88s] DEBUG: Seat seat0: Stopping greeter
[+516.88s] DEBUG: Terminating login1 session c6
[+516.89s] DEBUG: Session pid=922: Sending SIGTERM
[+516.89s] DEBUG: Activating login1 session 6
[+516.89s] DEBUG: Session pid=937: Exited with return value 0
[+516.89s] DEBUG: Seat seat0: Session stopped
[+516.93s] DEBUG: Greeter closed communication channel
[+516.93s] DEBUG: Session pid=922: Exited with return value 0
[+516.93s] DEBUG: Seat seat0: Session stopped
[+516.93s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+516.93s] DEBUG: Sending signal 15 to process 917
[+516.94s] DEBUG: Process 917 exited with return value 0
[+516.94s] DEBUG: XServer 1: X server stopped
[+516.94s] DEBUG: Releasing VT 8
[+516.94s] DEBUG: XServer 1: Removing X server authority /run/lightdm/root/:1
[+516.94s] DEBUG: Seat seat0: Display server stopped
Sorry for pasting long logs, but I can't determine which of them is useful.
Last edited by 91khr (2019-09-13 06:23:48)
Offline
I created a new user
How exactly?
Assuming the new username is (still) "test":
grep test /etc/passwd
stat ~test
id test
Offline
Solved: I used a long user name(8 characters). But why there is such a limit?
Offline
There is no such limit.
https://serverfault.com/questions/73084 … s-on-linux
Offline
There is no such limit.
https://serverfault.com/questions/73084 … s-on-linux
But when I deleted that user and created another one with a shorter name, this problem disappears.
Offline
The limit is 32 characters: `man useradd`.
Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Offline
By the way, the user name caused this issue is virginia. Does this name be used anywhere? I did not find it in /etc/passwd
Offline
I'm pretty sure the way the original user was created is the cause here, but it's not a length limit.
Edit: the 8-glyph username would be "virginia" and aside "lightdm" it's the longest name in the log and you cannot create 33-char users itfp.
There must have been another issue.
Last edited by seth (2019-09-13 06:30:28)
Offline
Thank you all. (I'm sorry if there is any mistake)
Offline
I'm pretty sure the way the original user was created is the cause here, but it's not a length limit.
The way I create it is
useradd virginia
passwd
And after a failed login attempt, I created /home/virginia and called `usermod -d /home/virginia virginia`.
Edit: After several experiment, it seems that to create a user with no home directory is the cause of this issue; even if you create one and reset it using `usemod -d`, this issue still appears.
Last edited by 91khr (2019-09-13 06:46:16)
Offline
And what ownership/permissions did /home/virginia have? (Because the $HOME access is typical for failed logins since many session processes desperately want to write there)
Offline
And what ownership/permissions did /home/virginia have? (Because the $HOME access is typical for failed logins since many session processes desperately want to write there)
Oh, I created it using root...
Thanks!
Offline