I've just installed Ubuntu 23.10 on a new machine. When I return after a break, I find that the screen is locked and I need to enter my password. Once today and once yesterday I have found the field to enter my password inaccessible; and so I am unable to login. A restart of the machine, does not even boot to the GUI. The second time I encountered this, there was also a "Snapd User Session Agent" panel, and another panel with a green arrow, at the bottom of the lock/login GUI (neither respond; screenshot is at the bottom). I explain how I was able to circumvent this below. My workaround is however not permanent; so it will likely hit me again. Can anyone advise? I am happy to remove snap components.
As I mentioned, restarting the machine leads to a screen of log messages concluding with the garbled:
Started gdm.service - GNOME Display Manager.ntil boot process finishes up...r Service.......tion, revision 83.
A prior message indicates that it may relate to the "revision 83" part above: snap-snapd\x2ddesktop\x2dintegration-83.mount
.
To work around this issue (each time):
- Open tty3 by CTRL+ALT+F3; and log in
- Uninstall the Gnome Display Manager (
sudo apt-get remove gdm3
) - Re-install the Gnome Display Manager (
sudo apt-get install gdm3
) - Reboot:
sudo reboot
. - Login as usual. It seems
nautilus
has disappeared, so (sudo apt-get install nautilus
)
journalctl -u gdm -b
could be useful. I expect that is derived from/var/log/syslog
. For now, I seeGdm: GdmSession: no session desktop files installed, aborting...
andgdm.service: Main process exited, code=dumped, status=5/TRAP
, andgdm.service: Failed with result 'core-dump'
. But I guess I have two problems (lock screen, and reboot), and I'm not sure which of these the messages relate to. I will look again at such logs after noting the time that it happens more accurately, if it happens again.sudo apt install --reinstall ubuntu-session
This hopefully will resolve the problem.ubuntu-session
.