# Cannot login via cinnamon after system update

**URL:** <https://rebornos.discourse.group/t/cannot-login-via-cinnamon-after-system-update/828>\
**Category:** Issues & Assistance\
**Created:** [September 23, 2022, 4:25am UTC](https://rebornos.discourse.group/t/cannot-login-via-cinnamon-after-system-update/828 "2022-09-23T04:25:21Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![lilaboc](https://avatars.discourse-cdn.com/v4/letter/l/8491ac/32.png) [@lilaboc](https://rebornos.discourse.group/u/lilaboc)\
**Post date:** [September 23, 2022, 4:25am UTC](https://rebornos.discourse.group/t/cannot-login-via-cinnamon-after-system-update/828/1 "2022-09-23T04:25:21Z")

</div>

Hi,

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).

Here are some processes I see with “ps -ef” :

```auto
root 458 351 0 10:52 tty7 00:00:01 /usr/lib/Xorg :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
root 653 351 0 10:52 ? 00:00:00 lightdm --session-child 17 20
lightdm 657 1 0 10:52 ? 00:00:00 /usr/lib/systemd/systemd --user
lightdm 658 657 0 10:52 ? 00:00:00 (sd-pam)
lightdm 666 653 0 10:52 ? 00:00:01 /usr/bin/lightdm-webkit2-greeter
lightdm 669 657 0 10:52 ? 00:00:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
lightdm 670 657 0 10:52 ? 00:00:00 /usr/lib/at-spi-bus-launcher
lightdm 676 670 0 10:52 ? 00:00:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 11 --address=unix:path=/run/user/620/at-spi/bus
lightdm 679 657 0 10:52 ? 00:00:00 /usr/lib/gvfsd
lightdm 684 657 0 10:52 ? 00:00:00 /usr/lib/gvfsd-fuse /run/user/620/gvfs -f
lightdm 719 666 0 10:52 ? 00:00:00 /usr/lib/webkit2gtk-4.0/WebKitNetworkProcess 6 20
lightdm 750 666 0 10:52 ? 00:00:06 /usr/lib/webkit2gtk-4.0/WebKitWebProcess 11 24
lightdm 779 657 0 10:52 ? 00:00:00 /usr/lib/at-spi2-registryd --use-gnome-session
rtkit 804 1 0 10:52 ? 00:00:00 /usr/lib/rtkit-daemon
root 867 1 0 10:53 ? 00:00:00 login -- fclim
fclim 872 1 0 10:53 ? 00:00:00 /usr/lib/systemd/systemd --user
fclim 873 872 0 10:53 ? 00:00:00 (sd-pam)

```

fclim is my username and 620 is the uid of lightdm. Here is the output of “ls -l /run/user/620” :

```auto
drwx------ 2 lightdm lightdm 60 Sep 23 10:52 at-spi
srw-rw-rw- 1 lightdm lightdm 0 Sep 23 10:52 bus
drwx------ 3 lightdm lightdm 60 Sep 23 10:52 dbus-1
drwx------ 2 lightdm lightdm 60 Sep 23 10:52 dconf
drwx------ 2 lightdm lightdm 60 Sep 23 10:52 gcr
drwx------ 2 lightdm lightdm 140 Sep 23 10:52 gnupg
d????????? ? ? ? ? ? gvfs
drwx------ 2 lightdm lightdm 40 Sep 23 10:52 gvfsd
drwx------ 2 lightdm lightdm 60 Sep 23 10:52 keyring
drwxr-xr-x 2 lightdm lightdm 60 Sep 23 10:52 p11-kit
srw-rw-rw- 1 lightdm lightdm 0 Sep 23 10:52 pipewire-0
drwxr-xr-x 2 lightdm lightdm 60 Sep 23 10:52 pulse
drwxr-xr-x 5 lightdm lightdm 140 Sep 23 10:52 systemd

```

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.

---

<div class="post-metadata">

**Author:** ![shivanandvp](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/shivanandvp/32/10_2.png) [@shivanandvp](https://rebornos.discourse.group/u/shivanandvp)\
**Post date:** [September 23, 2022, 4:56am UTC](https://rebornos.discourse.group/t/cannot-login-via-cinnamon-after-system-update/828/2 "2022-09-23T04:56:57Z")

</div>

We can try diagnosing the problem

```nohighlight
sudo pacman -S --needed xorg-server-xephyr netcat

lightdm --test-mode --debug | nc termbin.com 9999

```

Share the URL where the file gets uploaded

---

<div class="post-metadata">

**Author:** ![lilaboc](https://avatars.discourse-cdn.com/v4/letter/l/8491ac/32.png) [@lilaboc](https://rebornos.discourse.group/u/lilaboc)\
**Post date:** [September 23, 2022, 7:01am UTC](https://rebornos.discourse.group/t/cannot-login-via-cinnamon-after-system-update/828/3 "2022-09-23T07:01:56Z")

</div>

Hi,

I chose “gnu-netcat” as the provider for netcat. Here is the output for the lightdm diagnostics:

```auto
[+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

```

Hope this helps. Thanks for responding.

---

<div class="post-metadata">

**Author:** ![shivanandvp](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/shivanandvp/32/10_2.png) [@shivanandvp](https://rebornos.discourse.group/u/shivanandvp)\
**Post date:** [September 23, 2022, 7:19am UTC](https://rebornos.discourse.group/t/cannot-login-via-cinnamon-after-system-update/828/4 "2022-09-23T07:19:01Z")

</div>

Run the below to reinstall gdk-pixbuf2

```nohighlight
sudo pacman -Syy gdk-pixbuf2

```

Reboot your computer, try to login, and if the login fails, get to the tty with Ctrl Alt F3. Then run

```nohighlight
cat /var/log/lightdm/lightdm.log | nc termbin.com 9999

cat /var/log/Xorg.0.log | nc termbin.com 9999

```

Share the logs

---

<div class="post-metadata">

**Author:** ![lilaboc](https://avatars.discourse-cdn.com/v4/letter/l/8491ac/32.png) [@lilaboc](https://rebornos.discourse.group/u/lilaboc)\
**Post date:** [September 23, 2022, 7:34am UTC](https://rebornos.discourse.group/t/cannot-login-via-cinnamon-after-system-update/828/5 "2022-09-23T07:34:15Z")

</div>

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](http://termbin.com) 9999” is

```auto
https://termbin.com/bl7p

```

The 2nd instruction produced

```auto
https://termbin.com/2lvj

```

---

<div class="post-metadata">

**Author:** ![lilaboc](https://avatars.discourse-cdn.com/v4/letter/l/8491ac/32.png) [@lilaboc](https://rebornos.discourse.group/u/lilaboc)\
**Post date:** [September 23, 2022, 10:57am UTC](https://rebornos.discourse.group/t/cannot-login-via-cinnamon-after-system-update/828/6 "2022-09-23T10:57:19Z")

</div>

Hi,

```auto
$ cat /etc/lightdm/lightdm.conf | nc termbin.com 9999
https://termbin.com/8afl6

```

```auto
$ cat /etc/lightdm/Xsession | nc termbin.com 9999
https://termbin.com/3hm5

```

```auto
$ ls -l /etc/lightdm | nc termbin.com 9999
https://termbin.com/sd3y

```

Sorry for the data dump. Kind of like grabbing at straws. Thanks for looking at my problem.

---

<div class="post-metadata">

**Author:** ![shivanandvp](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/shivanandvp/32/10_2.png) [@shivanandvp](https://rebornos.discourse.group/u/shivanandvp)\
**Post date:** [September 23, 2022, 1:42pm UTC](https://rebornos.discourse.group/t/cannot-login-via-cinnamon-after-system-update/828/7 "2022-09-23T13:42:11Z")

</div>

> [@lilaboc](#):
>
> 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](http://termbin.com) 9999” is
> 
> ```auto
> https://termbin.com/bl7p
> 
> ```
> 
> The 2nd instruction produced
> 
> ```auto
> https://termbin.com/2lvj
> 
> ```

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`?

```sh
cat /var/log/lightdm/seat0-greeter.log | nc termbin.com 9999

```

---

<div class="post-metadata">

**Author:** ![lilaboc](https://avatars.discourse-cdn.com/v4/letter/l/8491ac/32.png) [@lilaboc](https://rebornos.discourse.group/u/lilaboc)\
**Post date:** [September 23, 2022, 2:54pm UTC](https://rebornos.discourse.group/t/cannot-login-via-cinnamon-after-system-update/828/8 "2022-09-23T14:54:42Z")

</div>

Hi,

Here is /var/log/lightdm/seat0-greeter.log:

```auto
(WebKitWebProcess:783): GLib-WARNING **: 21:32:06.296: ../glib/glib/giounix.c:412Error while getting flags for FD: Bad file descriptor (9)

(WebKitWebProcess:783): GLib-WARNING **: 21:32:06.296: Invalid file descriptor.

**(WebKitWebProcess:783): CRITICAL**: 21:32:06.638: lightdm_greeter_ensure_shared_data_dir_sync: assertion 'priv->connected' failed

**(WebKitWebProcess:783): CRITICAL**: 21:34:24.203: lightdm_greeter_authenticate: assertion 'priv->connected' failed

**(WebKitWebProcess:783): CRITICAL**: 21:34:59.491: lightdm_greeter_respond: assertion 'priv->connected' failed

```

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](https://wiki.archlinux.org/title/LightDM#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.

---

<div class="post-metadata">

**Author:** ![Rafael](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/rafael/32/438_2.png) [@Rafael](https://rebornos.discourse.group/u/Rafael)\
**Post date:** [September 23, 2022, 8:45pm UTC](https://rebornos.discourse.group/t/cannot-login-via-cinnamon-after-system-update/828/9 "2022-09-23T20:45:23Z")

</div>

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:

[https://bbs.archlinux.org/viewtopic.php?id=279854](https://bbs.archlinux.org/viewtopic.php?id=279854)

Perhaps some update from Arch Linux will fix the problem.  
Could this solve your problem…? I hope this information is of some use to you.

_ **lightdm-webkit2-greeter** _ was developed by Antergos, and hasn’t had a development guy for many years. It may be better to use another greeter.

---

<div class="post-metadata">

**Author:** ![lilaboc](https://avatars.discourse-cdn.com/v4/letter/l/8491ac/32.png) [@lilaboc](https://rebornos.discourse.group/u/lilaboc)\
**Post date:** [September 24, 2022, 4:43am UTC](https://rebornos.discourse.group/t/cannot-login-via-cinnamon-after-system-update/828/10 "2022-09-24T04:43:44Z")

</div>

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.

Here is what I did:

```auto
sudo pacman -S lightdm-gtk-greeter
sudoedit /etc/lightdm/lightdm.conf

```

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.

@Rafael @shivanandvp Thank you for your help.
