Cannot switch users from Screen Lock anymore!

Hello,
After the upgrade I did yesterday (and the relevant reboot since it had a new kernel), I cannot switch users when I lock the screen!
I have no idea which packages where updated (I automatically install updates).
Any ideas how to restore it?

BTW, the SDDM has the “Offer Shutdown Option” enabled.
And the shutdown options are not present as well.

Apparently the switch user capability is completely broken. I logged in with the second user I have in my PC and I used the “Switch User” widget I have for this user.
I get this:

https://cdn.pbrd.co/images/I0ykfLn.png

I have the same problem on fresh LEAP 15 install as of february 2109.
I need the switch user capability bad.
What’s the fix?
Move from SDDM to XDM? (How?), Move to GNOME? Hopefully not? Ditch Linux and go for M$ WIN10 (Extreme).

Regards,
Durque
(KDE Plasma 5.15.3, KDE framework 5.56.0, Display manager (default) SDDM)

Is your Leap 15.0 install completely up to date?
Are you on Wayland or Xorg?
Does it work for a newly created user? If so, it would mean some setting in your homedir.

The Leap 15.0 is complete, all patches as of 2019-03-20 are in place (# zypper refresh; zypper update). As far as I can tell I’m on Xorg.

 
~$> loginctl   SESSION        UID USER             SEAT             TTY             
         6                 500 <user>            seat0                            


1 sessions listed.
~$> loginctl show-session 6 -p Type
Type=x11

No user, old or new, can switch user, either by choosing “lock session” or “switch user” from the “leave”-menu.
I’ve emptied ~/.cache and /var/lib/sddm.
Please advice.

Mmm, I see the same on Tumbleweed. Will check if it’s the same on Wayland, and report back.

They’ve redesigned it… A new way to get it done:

  • Add the Logoff/Lock widget to your panel
  • Right click it and enter it’s settings
  • Enable ‘Lock screen’ and ‘Switch User’.
  • Apply
    You now have three icons, click on the Switch User icon.

I, from a laptop perspective, can see it is a less and less used feature, but would not call this an elegant solution.

Eh, it’s a bit better: the Switch User plasmoid initially shows the Unlock screen, with the Switch User option. Which is what you are looking for.

And, it’s getting weirder: Since I enabled the Screen Locker and Switch User items in the widget, the Lock Screen also works, both from the kicker menu, and from the Lock Screen icon.

EDIT: Disabled both again, but it still works like it should.

Thx. I’ll test on real users tomorrow and report back.

Used Ctrl + Alt + Fn for decades to switch users. Found it annoying when they changed behavior and locked the screen upon using the shortcut. However the plasmoid works perfectly. :wink:

Tried adding the Plasmoid – it worked – I could begin a new user session – and, from there, after adding the Plasmoid to that user, to yet another user, but, didn’t add the Plasmoid to the 3rd user’s Plasma Panel.

  • I could switch between the two additional user sessions, for a while – both from the Plasmoid and, the KDE Application Launcher.

But, when switching to the original user, the session was dead – didn’t respond …

  • <Ctrl-Alt-F7/8/9> still allowed switching between the sessions.
  • I finally had to <Ctrl-Alt-Del(x2)> to kill the KDE sessions …

For the users where the session “froze” (didn’t respond), the xorg-session.log contained entries such as: “Error: Can’t open display: :2”; “Error: Can’t open display: :0”.

It seems that, at least for this Desktop system with an AMD graphic card, X11 and SDDM do not function correctly with respect to multiple user sessions.

  • But, that’s been the case since SDDM has been the KDE Display Manager.
  • I haven’t bothered to switch back to the old, no longer supported, KDM Display Manager …

It worked. Adding the “lock”-widget incl. config “switch user” did the job.
Awkward workaround. I believe, Linux been an multiuser system, switching user
should work “straight out of the box” without tinkering. Report a bug?

My users are happy now. Thx for helping.

Update:

I’ve finally got around to using the AMDGPU Driver with this “Southern Islands” (SI) Oland GPU – it’s using the Radeon Firmware because the current Leap 15.0 Kernel doesn’t support Kernel Command Line “radeon.si_support=0 amdgpu.si_support=1” parameters – the Leap 15.1 Kernel may well resolve this issue …

The behaviour now is:

  • When switching users, the user session which was “switched from” is killed …

Apr 10 10:33:41 XXX sddm[2385]: Adding new display on vt 8 ...
Apr 10 10:33:41 XXX sddm[2385]: Loading theme configuration from ""
Apr 10 10:33:41 XXX sddm[2385]: Display server starting...
Apr 10 10:33:41 XXX sddm[2385]: Running: /usr/bin/X -nolisten tcp -auth /run/sddm/{3b03bdee-08be-4980-a329-d10e2ba5a3c9} -background none -noreset -displayfd 19 -seat seat0 vt8
Apr 10 10:33:41 XXX sddm[2385]: Setting default cursor
Apr 10 10:33:41 XXX sddm[2385]: Running display setup script  "/etc/X11/xdm/Xsetup"
Apr 10 10:33:41 XXX sddm[2385]: Display server started.
Apr 10 10:33:41 XXX sddm[2385]: Socket server starting...
Apr 10 10:33:41 XXX sddm[2385]: Socket server started.
Apr 10 10:33:41 XXX sddm[2385]: Loading theme configuration from "/usr/share/sddm/themes/breeze-openSUSE/theme.conf"
Apr 10 10:33:41 XXX sddm[2385]: Greeter starting...
Apr 10 10:33:41 XXX sddm[2385]: Adding cookie to "/run/sddm/{3b03bdee-08be-4980-a329-d10e2ba5a3c9}"
Apr 10 10:33:41 XXX display-manager[2342]: **/usr/bin/xauth: (stdin):1:  bad "remove" command line**
Apr 10 10:33:41 XXX display-manager[2342]: **/usr/bin/xauth: (stdin):2:  bad "add" command line**
Apr 10 10:33:41 XXX sddm[2385]: Display server stopped.
Apr 10 10:33:41 XXX sddm[2385]: Running display stop script  "/usr/share/sddm/scripts/Xstop"
Apr 10 10:33:41 XXX at-spi-bus-launcher[2774]: **XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"**
Apr 10 10:33:41 XXX at-spi-bus-launcher[2774]:       after 37 requests (37 known processed) with 0 events remaining.
Apr 10 10:33:41 XXX sddm[2385]: Socket server stopping...
Apr 10 10:33:41 XXX sddm[2385]: Socket server stopped.
Apr 10 10:33:41 XXX sddm[2385]: Removing display "" ...
Apr 10 10:33:41 XXX sddm[2385]: QProcess: Destroyed while process ("/usr/lib/sddm/sddm-helper") is still running.
Apr 10 10:33:41 XXX konsole[3230]: **The X11 connection broke (error 1). Did the X11 server die?**
Apr 10 10:33:41 XXX kactivitymanagerd[2733]: The X11 connection broke (error 1). **Did the X11 server die?**
Apr 10 10:33:41 XXX kwalletd5[2482]: The X11 connection broke (error 1). **Did the X11 server die?**
Apr 10 10:33:41 XXX plasmashell[2637]: The X11 connection broke (error 1). **Did the X11 server die?**
Apr 10 10:33:41 XXX plasmashell[2637]: The X11 connection broke: I/O error (code 1)
 .
 .
Apr 10 10:33:42 XXX sddm-helper[2470]: [PAM] Closing session
Apr 10 10:33:42 XXX sddm-helper[2470]: pam_unix(sddm:session): **session closed for user YYY**
Apr 10 10:33:42 XXX sddm[2385]: Running display setup script  "/etc/X11/xdm/Xsetup"
Apr 10 10:33:42 XXX sddm-helper[2470]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_close_session
Apr 10 10:33:42 XXX sddm-helper[2470]: [PAM] Ended.
Apr 10 10:33:42 XXX sddm-helper[2470]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_close_session
Apr 10 10:33:42 XXX sddm-helper[2470]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Apr 10 10:33:42 XXX sddm-helper[2470]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Apr 10 10:33:42 XXX systemd-logind[2318]: Session 2 logged out. Waiting for processes to exit.
Apr 10 10:33:42 XXX systemd-logind[2318]: Removed session 2.
Apr 10 10:33:42 XXX systemd[1]: Stopping User Manager for UID 1000...
Apr 10 10:33:42 XXX systemd[2475]: Stopping Virtual filesystem service...
Apr 10 10:33:42 XXX systemd[2475]: Stopped target Default.
Apr 10 10:33:42 XXX systemd[2475]: Stopping Accessibility services bus...
Apr 10 10:33:42 XXX systemd[2475]: Stopping D-Bus User Message Bus...
Apr 10 10:33:42 XXX systemd[2475]: Stopped Accessibility services bus.
Apr 10 10:33:42 XXX systemd[2475]: Stopped D-Bus User Message Bus.
Apr 10 10:33:42 XXX systemd[2475]: Stopped Virtual filesystem service.
Apr 10 10:33:42 XXX systemd[2475]: Stopped target Basic System.
Apr 10 10:33:42 XXX systemd[2475]: Stopped target Timers.
Apr 10 10:33:42 XXX systemd[2475]: Stopped target Paths.
Apr 10 10:33:42 XXX systemd[2475]: Stopped target Sockets.
Apr 10 10:33:42 XXX systemd[2475]: Closed D-Bus User Message Bus Socket.
Apr 10 10:33:42 XXX systemd[2475]: Reached target Shutdown.
Apr 10 10:33:42 XXX systemd[2475]: Starting Exit the Session...
Apr 10 10:33:42 XXX systemd[2475]: Received SIGRTMIN+24 from PID 3351 (kill).
Apr 10 10:33:42 XXX sddm[2385]: Display server started.
Apr 10 10:33:42 XXX sddm[2385]: Socket server starting...
Apr 10 10:33:42 XXX sddm[2385]: Socket server started.
Apr 10 10:33:42 XXX sddm[2385]: Loading theme configuration from "/usr/share/sddm/themes/breeze-openSUSE/theme.conf"
Apr 10 10:33:42 XXX sddm[2385]: Greeter starting...
Apr 10 10:33:42 XXX sddm[2385]: Adding cookie to "/run/sddm/{9f2abb01-0976-412e-a6b4-0944dbc08607}"
Apr 10 10:33:42 XXX sddm[2385]: QProcess: Destroyed while process ("/usr/lib/sddm/sddm-helper") is still running.
Apr 10 10:33:42 XXX ksmserver[2617]: QProcess: Destroyed while process ("kwin_x11") is still running.
Apr 10 10:33:42 XXX ksmserver[2617]: QProcess: Destroyed while process ("/usr/lib64/libexec/ksmserver-switchuser-greeter") is still running.
Apr 10 10:33:42 XXX systemd[2476]: pam_unix(systemd-user:session): **session closed for user YYY**

Not quite there yet – I’ll wait for 15.1 where:

Leap 15.1 got a bunch of backports and DRM stack is equivalent with 4.19 or later.