After I ran a system update using pacman, I am unable to login via cinnamon nor cinnamon-software-rendering. The login screen doesn’t go away after I enter my password. I am able to login via ssh (password-less) as well as via a terminal (eg Alt-Ctrl-F2).
Is there a problem with the /run/user/620/gvfs directory?
Since the login screen (greeter??) did not go away, I am able to cancel the login and use another account (luckily I have created 3 different accounts). I entered the password of this other account but the greeter screen remains. I ran “ps -ef” and notice no change; that is, lightdm wasn’t aware of my attempt to login with the other account.
I would appreciate any advice on how I can login in graphical mode. I can’t remember the set of packages that pacman had previously updated. What package(s) should I update or re-install? Thank you.
I chose “gnu-netcat” as the provider for netcat. Here is the output for the lightdm diagnostics:
[+0.00s] DEBUG: Logging to /home/fclim/.cache/lightdm/log/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.32.0, UID=1000 PID=2569
[+0.00s] DEBUG: Loading configuration dirs from /var/lib/snapd/desktop/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/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /var/lib/flatpak/exports/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /home/fclim/.local/share/flatpak/exports/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: [LightDM] contains unknown option session-wrapper
[+0.00s] DEBUG: Running in user mode
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
[+0.02s] DEBUG: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ?gio-vfs?
[+0.02s] DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
[+0.02s] DEBUG: Monitoring logind for seats
[+0.02s] DEBUG: New seat added from logind: seat0
[+0.02s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.02s] DEBUG: Seat seat0 has property CanMultiSession=no
[+0.02s] DEBUG: Seat seat0: Starting
[+0.02s] DEBUG: Seat seat0: Creating greeter session
[+0.02s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.02s] DEBUG: User /org/freedesktop/Accounts/User1001 added
[+0.03s] DEBUG: User /org/freedesktop/Accounts/User1002 added
[+0.03s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.03s] DEBUG: Seat seat0: Creating display server of type x
[+0.04s] DEBUG: Could not run plymouth --ping: Failed to execute child process ?plymouth? (No such file or directory)
[+0.04s] DEBUG: Seat seat0: Starting local X display
[+0.04s] DEBUG: XServer 1: Logging to /home/fclim/.cache/lightdm/log/x-1.log
[+0.04s] DEBUG: XServer 1: Writing X server authority to /run/lightdm/root/:1
[+0.04s] WARNING: Error reading existing Xauthority: Failed to open file ?/run/lightdm/root/:1?: Permission denied
[+0.04s] WARNING: XServer 1: Failed to write authority: Failed to open X authority /run/lightdm/root/:1: Permission denied
[+0.04s] DEBUG: XServer 1: Launching X Server
[+0.04s] DEBUG: Launching process 2591: /usr/bin/X :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp
[+0.04s] DEBUG: XServer 1: Waiting for ready signal from X server :1
[+0.04s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.04s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.04s] WARNING: Could not enumerate user data directory /var/lib/lightdm-data: Error opening directory '/var/lib/lightdm-data': Permission denied
[+0.04s] DEBUG: Process 2591 exited with return value 1
[+0.04s] DEBUG: XServer 1: X server stopped
[+0.04s] DEBUG: XServer 1: Removing X server authority /run/lightdm/root/:1
[+0.04s] DEBUG: Seat seat0: Display server stopped
[+0.04s] DEBUG: Seat seat0: Stopping session
[+0.04s] DEBUG: Seat seat0: Session stopped
[+0.04s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+0.04s] DEBUG: Seat seat0: Stopping; greeter display server failed to start
[+0.04s] DEBUG: Seat seat0: Stopping
[+0.04s] DEBUG: Seat seat0: Stopped
[+0.04s] DEBUG: Required seat has stopped
[+0.04s] DEBUG: Stopping display manager
[+0.04s] DEBUG: Display manager stopped
[+0.04s] DEBUG: Stopping daemon
[+0.04s] DEBUG: Exiting with return value 1
Before I show you the result you have requested, I just want to point out that I am running my RebornOS system under vmware. It was working earlier. I was able to login, run “pacman -Syyuu” and reboot. After the reboot, I am unable to login.
The result of “cat /var/log/lightdm/lightdm.log | nc termbin.com 9999” is
The text of the above two uploads seem identical, almost like the same command was run twice. I am unable to see problems in the regular lightdm log. I need to see Xorg.0.log and the greeter log.
Do you also have the contents of /var/log/lightdm/seat0-greeter.log?
I rebooted the system around 21:32:06. At 21:34:24, I clicked on my “fclim” account on the greeter screen, but had not entered the password. At 21:34.59, I entered my password and hit <RETURN>.
I noticed the recent pacman update (before my troubles began) has updated the webkit2gtk and webkit2gtk-4.1 packages. Maybe this broke the lightdm-webkit2-greeter.
Anyway, I urgently need to use my system in graphical mode. So I used the autologin workaround as described in Enabling autologin. I don’t like it, but I am able to do some work at last. I hope someone can provide a better solution. Thank you.
An Arch Linux user had a similar problem, and managed to fix it by downgrading webkit2gtk from the current version (2.38.0-2) to version 2.36.7-1. You can read about it on the Arch forum:
Yay, I got my system back again. I have decided not to roll back webkit2gtk but switched to lightdm-gtk-greeter instead. This greeter is not as pretty as lightdm-webkit2-greeter but it works.
In the editor, search for “greeter-session” under the “[Seat:*]” section. It should be set to “lightdm-webgit2-greeter”. Change that to “lightdm-gtk-greeter”. Save and exit the editor and reboot.