Hello,
This behavior (need to enter password 2 or 3 times) happened nearly from
the beginning.
It is a fresh install of a standard xubuntu 16.04 LTS with my old
homedir copied from the previous 16.04 machine (that has crashed).
Packages are just installed when needed, so that forgotten packages are
not borrowed from the old machine.
Btw
lightdm: 1.18.3-0ubuntu1.1
Today I had to enter my password 3 times.
here are some extracts of 3 log files where I have found 2 errors in a short
time :
/var/log/syslog
/var/log/lightdm/lightdm.log
/var/log/lightdm/seat0-greeter.log
Maybe useful information:
When unlocked, I select the session with 7,
but once locked, I have to select Ctrl>8;
Or 7 displays a black screen with something in french like this:
This session is locked
you will be redirected to the unlock dialog automatically in a few seconds
# Syslog: A connection to the bus can't be made
tail -30 /var/log/syslog
Jun 11 14:07:14 dlt0001ptrstp lightdm[1248]: ** (lightdm:1248): WARNING **:
Error using VT_WAITACTIVE 7 on /dev/tty0: Interrupted system call
Jun 11 14:07:14 dlt0001ptrstp org.gtk.vfs.Daemon[23411]: A connection to the
bus can't be made
Jun 11 14:07:15 dlt0001ptrstp systemd[1]: Started Session c32 of user lightdm.
Jun 11 14:07:16 dlt0001ptrstp org.a11y.Bus[7986]: ** (process:7997): WARNING
**: Failed to register client:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files
Jun 11 14:07:16 dlt0001ptrstp org.a11y.Bus[7986]: Activating service
name='org.a11y.atspi.Registry'
Jun 11 14:07:16 dlt0001ptrstp org.a11y.Bus[7986]: Successfully activated
service 'org.a11y.atspi.Registry'
Jun 11 14:07:16 dlt0001ptrstp org.a11y.atspi.Registry[8002]: SpiRegistry daemon
is running with well-known name - org.a11y.atspi.Registry
Jun 11 14:07:20 dlt0001ptrstp lightdm[1248]: ** (lightdm:1248): WARNING **:
Error using VT_WAITACTIVE 7 on /dev/tty0: Interrupted system call
Jun 11 14:07:20 dlt0001ptrstp org.gtk.vfs.Daemon[7986]: A connection to the bus
can't be made
Jun 11 14:07:21 dlt0001ptrstp systemd[1]: Started Session c33 of user lightdm.
Jun 11 14:07:21 dlt0001ptrstp org.a11y.Bus[8079]: ** (process:8090): WARNING
**: Failed to register client:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files
Jun 11 14:07:21 dlt0001ptrstp org.a11y.Bus[8079]: Activating service
name='org.a11y.atspi.Registry'
Jun 11 14:07:22 dlt0001ptrstp org.a11y.Bus[8079]: Successfully activated
service 'org.a11y.atspi.Registry'
Jun 11 14:07:22 dlt0001ptrstp org.a11y.atspi.Registry[8095]: SpiRegistry daemon
is running with well-known name - org.a11y.atspi.Registry
Jun 11 14:07:27 dlt0001ptrstp org.gtk.vfs.Daemon[8079]: A connection to the bus
can't be made
# /var/log/lightdm/lightdm.log : Error using VT_WAITACTIVE
[+1635057.87s] DEBUG: Continue authentication
[+1635057.90s] DEBUG: Session pid=23480: Authentication complete with return
value 0: Success
[+1635057.90s] DEBUG: Authenticate result for user : Success
[+1635057.90s] DEBUG: User authorized
[+1635057.90s] DEBUG: Greeter sets language fr_FR
[+1635057.98s] DEBUG: Greeter requests session xubuntu
[+1635057.98s] DEBUG: Seat seat0: Returning to existing user session
[+1635057.98s] DEBUG: Unlocking login1 session c24
[+1635057.98s] DEBUG: Activating VT 7
[+1635057.98s] WARNING: Error using VT_WAITACTIVE 7 on /dev/tty0: Interrupted
system call
[+1635057.98s] DEBUG: Seat seat0: Stopping greeter
[+1635057.98s] DEBUG: Session pid=23399: Sending SIGTERM
[+1635057.98s] DEBUG: Activating login1 session c24
[+1635057.99s] DEBUG: Session pid=23480: Exited with return value 0
[+1635057.99s] DEBUG: Seat seat0: Session stopped
[+1635058.00s] DEBUG: Greeter closed communication channel
[+1635058.00s] DEBUG: Session pid=23399: Exited with return value 0
[+1635058.00s] DEBUG: Seat seat0: Session stopped
[+1635058.00s] DEBUG: Seat seat0: Stopping display server, no sessions require
it
[+1635058.00s] DEBUG: Sending signal 15 to process 23391
[+1635058.32s] DEBUG: Process 23391 exited with return value 0
[+1635058.32s] DEBUG: DisplayServer x-1: X server stopped
[+1635058.32s] DEBUG: Releasing VT 8
[+1635058.32s] DEBUG: DisplayServer x-1: Removing X server authority
/var/run/lightdm/root/:1
[+1635058.32s] DEBUG: Seat seat0: Display server stopped
[+1635058.32s] DEBUG: Seat seat0: Active display server stopped, starting
greeter
[+1635058.32s] DEBUG: Seat seat0: Creating greeter session
[+1635058.32s] DEBUG: Seat seat0: Creating display server of type x
[+1635058.32s] DEBUG: Using VT 8
[+1635058.32s] DEBUG: Seat seat0: Starting local X display on VT 8
[+1635058.32s] DEBUG: DisplayServer x-1: Logging to /var/log/lightdm/x-1.log
[+1635058.32s] DEBUG: DisplayServer x-1: Writing X server authority to
/var/run/lightdm/root/:1
[+1635058.32s] DEBUG: DisplayServer x-1: Launching X Server
[+1635058.32s] DEBUG: Launching process 7966: