Fast User Swiching no longer working

Some time ago I switched from Debian MATE to Manjaro GNOME, and I was very pleased. But an update broke my Fast User Switching - when I try to log on the second account, the screen goes black for a moment and then just goes back to GDM. I don’t know which update broke my system, because I usually use this computer on my own. Initially I decided to clean install manjaro-gnome-21.2.2-220123-linux515.iso, but that didn’t help. I searched the forum and tried several tips to solve my problem, but none of the given solutions helped. I suppose the problem is either the GDM itself or the proprietary nvidia drivers.

Please take a look at the logs:
journalctl -b output https://pastebin.com/rAqWnSna
The most interesting moments are:
16:46 logging on the first account - user jazz
16:47 unsuccessful login attempt on the second account - user klaudia
16:48 unlocking the first account - user jazz
inxi output https://pastebin.com/0jz3cFcm

1 Like

How to increase your chances of solving your issue:

Please provide Information:

1 Like

I know that reading long log are boring. So i rummaged into it i found difference between successful logging and second unsuccessful try.

When I log on the first account GNOME Shell is started on X11:

lut 10 16:46:05 asus systemd[1095]: Started GNOME Session Manager (session: gnome).
lut 10 16:46:05 asus systemd[1095]: Reached target GNOME Session Manager is ready.
lut 10 16:46:05 asus systemd[1095]: Starting GNOME Shell on Wayland...
lut 10 16:46:05 asus systemd[1095]: Starting GNOME Shell on X11...
lut 10 16:46:05 asus systemd[1095]: org.gnome.Shell@wayland.service: Skipped due to 'exec-condition'.
lut 10 16:46:05 asus systemd[1095]: Condition check resulted in GNOME Shell on Wayland being skipped.
lut 10 16:46:05 asus gnome-shell[1182]: Running GNOME Shell (using mutter 41.3) as a X11 window and compositing manager

But when I try to switch on the second account, something is preventing GNOME to start on X11:

lut 10 16:47:01 asus systemd[1936]: Started GNOME Session Manager (session: gnome).
lut 10 16:47:01 asus systemd[1936]: Reached target GNOME Session Manager is ready.
lut 10 16:47:01 asus systemd[1936]: Starting GNOME Shell on Wayland...
lut 10 16:47:01 asus systemd[1936]: Starting GNOME Shell on X11...
lut 10 16:47:01 asus systemd[1936]: org.gnome.Shell@x11.service: Skipped due to 'exec-condition'.
lut 10 16:47:01 asus systemd[1936]: Condition check resulted in GNOME Shell on X11 being skipped.
lut 10 16:47:01 asus systemd[1936]: org.gnome.Shell@x11.service: Scheduled restart job, restart counter is at 1.
lut 10 16:47:01 asus systemd[1936]: Stopped GNOME Shell on X11.
lut 10 16:47:01 asus systemd[1936]: Starting GNOME Shell on X11...
lut 10 16:47:01 asus systemd[1936]: org.gnome.Shell@x11.service: Skipped due to 'exec-condition'.
lut 10 16:47:01 asus systemd[1936]: Condition check resulted in GNOME Shell on X11 being skipped.
lut 10 16:47:01 asus systemd[1936]: org.gnome.Shell@x11.service: Scheduled restart job, restart counter is at 2.
lut 10 16:47:01 asus systemd[1936]: Stopped GNOME Shell on X11.
lut 10 16:47:01 asus systemd[1936]: Starting GNOME Shell on X11...
lut 10 16:47:01 asus systemd[1936]: org.gnome.Shell@x11.service: Skipped due to 'exec-condition'.
lut 10 16:47:01 asus systemd[1936]: Condition check resulted in GNOME Shell on X11 being skipped.
lut 10 16:47:01 asus systemd[1936]: org.gnome.Shell@x11.service: Scheduled restart job, restart counter is at 3.
lut 10 16:47:01 asus systemd[1936]: Stopped GNOME Shell on X11.
lut 10 16:47:01 asus systemd[1936]: org.gnome.Shell@x11.service: Start request repeated too quickly.
lut 10 16:47:01 asus systemd[1936]: org.gnome.Shell@x11.service: Skipped due to 'exec-condition'.
lut 10 16:47:01 asus systemd[1936]: Started GNOME Shell on X11.
lut 10 16:47:01 asus gnome-shell[1985]: Running GNOME Shell (using mutter 41.3) as a Wayland display server

How can I determine which condition is causing x11.service to be skipped?

I think I’ve found the solution:

sudo sed -i 's/MODULES="crc32c"/MODULES=(crc32c nvidia nvidia_modeset nvidia_uvm nvidia_drm)/g' /etc/mkinitcpio.conf
sudo mkinitcpio -P
sudo sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash apparmor=1 security=apparmor udev.log_priority=3"/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash apparmor=1 security=apparmor udev.log_priority=3 nvidia-drm.modeset=1"/g' /etc/default/grub
sudo grub-mkconfig -o /boot/grub/grub.cfg
2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.