FS#71890 - xfce4-screensaver "switch user" button is missing

Attached to Project: Arch Linux
Opened by Jordan B (Xero) - Sunday, 22 August 2021, 07:25 GMT
Last edited by Balló György (City-busz) - Thursday, 08 June 2023, 22:51 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Normally, if you enable "user switching" under the lock settings in XFCE4, it will have a "switch user" button at the lock screen. There's a known issue where a conflicting dbus service causes this to break.

Additional info:
* happens with 4.16.0-1 but likely other versions as well
* see upstream bug https://gitlab.xfce.org/apps/xfce4-screensaver/-/issues/39

Steps to reproduce:
* enable locking in xfce4 and cause the screen to lock (either manually or wait for the timeout)
* no "switch user" button appears on the lock screen

The work-around solution seems to be to remove the dbus service at /usr/share/dbus-1/services/org.xfce.ScreenSaver.service and allow xfce4-screensaver to be started by the xdg-autostart entries instead. I already had "Screensaver" enabled in xfce4-session-settings, so simply removing this file is all it took to fix the issue for me.

I'm not sure if this may have any other unexpected consequences (like if someone didn't have that option enabled, and was solely relying on that dbus-service alone to start their screensaver??) However, there was no such issue in my case.
This task depends upon

Closed by  Balló György (City-busz)
Thursday, 08 June 2023, 22:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  xfce4-screensaver 4.18.0-1
Comment by Balló György (City-busz) - Thursday, 08 June 2023, 22:51 GMT
The upstream patch was applied in version xfce4-screensaver 4.18.0, so I assume it was fixed. If not, then please contact with upstream, as it's clearly an upstream bug.

Loading...