! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
When no xflock4 available, uses gnome-screensaver for locking even if xscreen...
Status:
RESOLVED: INVALID
Product:
Xfce4-power-manager
Component:
General

Comments

Description Jarno Suni 2014-01-07 21:26:16 CET
Created attachment 5303 
I used the current file from git as original in this patch.

Xscreensaver should be used, if it is running.
Comment 1 Jarno Suni 2014-01-07 21:28:19 CET
The patch also removes some extra whitespace, so that is why it is so big.
Comment 2 Simon Steinbeiss editbugs 2015-05-28 08:41:48 CEST
xflock4 shouldn't fail if xscreensaver is running, so I'm not sure I understand this bugreport. Both gnome-screensaver and xscreensaver are supported by xflock4.

Also since the choice of locker is configurable now via an xfconf property in xfce4-session, I would say this bug can be considered fixed. Please reopen if deemed necessary and argue why this is a bug in xfce4-power-manager.
Comment 3 Jarno Suni 2015-05-28 11:54:56 CEST
For example Lubuntu linux has xfce4-power-manager, but not xfce4-session, so it can not use xflock4, except if such a script is manually added. LXDE uses lxlock (via lxsession package), instead, for locking.
Comment 4 Simon Steinbeiss editbugs 2015-05-28 12:21:28 CEST
That's true, however this is only a transitional problem since Lubuntu will eventually switch to LXQt.
Comment 5 Jarno Suni 2015-06-01 15:29:32 CEST
I think it is not wise to have gnome-screensaver as the first option. It is less secure than xscreensaver, at least in GNOME. I am not sure, if this applies to other desktop environments as well.
http://www.jwz.org/blog/2015/04/i-told-you-so-again/
Comment 6 Simon Steinbeiss editbugs 2017-10-30 00:17:51 CET
Currently xfce4-power-manager tries to query several screensavers via dbus and only then falls back to calling them on the commandline.

xscreensaver is in the list, so this should work for Lubuntu (even without xflock4).

Also it does not really matter in my opinion which locker is mentioned first.
If you use a distribution you get a working default setup (and xfpm will work in pretty much whatever setup).
If you decide to install both gnome-screensaver *and* xscreensaver and run them at the same time (which is really the only time when this "priority" makes any difference) you should really know what you're doing anyway.

Bug #10609

Reported by:
Jarno Suni
Reported on: 2014-01-07
Last modified on: 2017-10-30

People

Assignee:
Ali Abdallah
CC List:
1 user

Version

Attachments

Additional information