The OS details are:
I have set the boot options to B4 Desktop Autologin.os => {"name"=>"Debian", "family"=>"Debian", "release"=>{"major"=>"10", "minor"=>"3", "full"=>"10.3"}, "lsb"=>{"distcodename"=>"buster", "distid"=>"Raspbian", "distdescription"=>"Raspbian GNU/Linux 10 (buster)", "distrelease"=>"10", "majdistrelease"=>"10"}}
After rebooting the system, I am presented with the login screen surprisingly. Logged in with user: pi, passowrd: raspberry, screen goes dark, and the login screen reappears.
I have tried with setting option B3 (Desktop, requires user to login) - same result.
Following other posts on the subject, I have reinstalled the following and looked at various other items relating to xsession and lightdm logs:
Code: Select all
sudo apt-get install xserver-xorg-core xserver-xorg-input-all xserver-xorg-video-fbdev libx11-6 x11-common x11-utils x11-xkb-utils x11-xserver-utils xterm lightdm openbox
sudo chown -R pi /home/pi
cat .xsession-errors
touch /home/pi/.xsession
touch /home/pi/.Xsession
cat .xsession-errors
Xsession: X session started for pi at Sun 8 Mar 23:36:06 GMT 2020
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting XAUTHORITY=/home/pi/.Xauthority
localuser:pi being added to access control list
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
following a login attempt, file /var/log/lightdm/x-0.log showed:/var/log/lightdm/lightdm.log
[+624.22s] DEBUG: Process 1251 exited with return value 0
[+624.22s] DEBUG: XServer 0: X server stopped
[+624.22s] DEBUG: Releasing VT 7
[+624.22s] DEBUG: XServer 0: Removing X server authority /var/run/lightdm/root/:0
[+624.22s] DEBUG: Seat seat0: Display server stopped
[+624.22s] DEBUG: Seat seat0: Active display server stopped, starting greeter
[+624.22s] DEBUG: Seat seat0: Creating greeter session
[+624.22s] DEBUG: Seat seat0: Creating display server of type x
[+624.22s] DEBUG: Using VT 7
[+624.22s] DEBUG: Seat seat0: Starting local X display on VT 7
[+624.22s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+624.22s] DEBUG: XServer 0: Writing X server authority to /var/run/lightdm/root/:0
[+624.22s] DEBUG: XServer 0: Launching X Server
[+624.22s] DEBUG: Launching process 1333: /usr/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+624.23s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+625.81s] DEBUG: Got signal 10 from process 1333
[+625.81s] DEBUG: XServer 0: Got signal from X server :0
[+625.81s] DEBUG: XServer 0: Connecting to XServer :0
[+625.82s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified)
[+625.82s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+625.83s] DEBUG: Session pid=1342: Started with service 'lightdm-greeter', username 'lightdm'
[+625.85s] DEBUG: Session pid=1342: Authentication complete with return value 0: Success
[+625.85s] DEBUG: Seat seat0: Session authenticated, running command
[+625.85s] DEBUG: Session pid=1342: Running command /usr/sbin/lightdm-gtk-greeter
[+625.85s] DEBUG: Creating shared data directory /var/lib/lightdm/data/lightdm
[+625.85s] DEBUG: Session pid=1342: Logging to /var/log/lightdm/seat0-greeter.log
[+625.89s] DEBUG: Activating VT 7
[+625.89s] DEBUG: Activating login1 session c7
[+625.89s] DEBUG: Seat seat0 changes active session to c7
[+625.89s] DEBUG: Session c7 is already active
[+626.73s] DEBUG: Greeter connected version=1.26.0 api=1 resettable=false
[+627.74s] DEBUG: Greeter start authentication
[+627.74s] DEBUG: Session pid=1361: Started with service 'lightdm', username '(null)'
[+627.76s] DEBUG: Session pid=1361: Got 1 message(s) from PAM
[+627.76s] DEBUG: Prompt greeter with 1 message(s)
[+651.99s] DEBUG: Seat seat0 changes active session to
root@gladys:/var/log/lightdm#
and, the only errors I could find was in the /var/log/lightdm/seat0-greeter.log(II) Server terminated successfully (0). Closing log file.
I wasn't able to find anything helpful on these.** (lightdm-gtk-greeter:14732): WARNING **: 00:38:24.743: 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
(lightdm-gtk-greeter:14732): Gtk-WARNING **: 00:38:37.753: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menubar owner GreeterMenuBar)
** (lightdm-gtk-greeter:14732): WARNING **: 00:38:37.950: [PIDs] Failed to terminate process #14740: No such process
Your input would be most welcome because everything has stopped here on this issue.
Reagrds