Red Hat Bugzilla – Bug 1285008
xflock4 script never matches available screen locking programs from EPEL 7
Last modified: 2015-12-28 16:25:18 EST
Description of problem:
/usr/bin/xflock4 from package xfce4-session lists two possible screensaver programs to use for screen locking, but neither of these are available in any other RHEL or EPEL package currently, as shown in this snippet:
for lock_cmd in \
"xscreensaver-command -lock" \
$lock_cmd >/dev/null 2>&1 && exit
Installing the MATE desktop packages and manually adding mate-screensaver-command to the list in the script works fine, as would be expected for a branch of Gnome 2.
Version-Release number of selected component (if applicable): xfce4-session-0:4.10.1-7.el7.x86_64
How reproducible: Always
Steps to Reproduce:
1. Log in graphically with XFCE desktop chosen
2. Click on the Action Buttons on the panel (that by default is showing the current user on the upper right of the screen)
3. Click "Lock Screen"
Actual results: Nothing happens
Expected results: X session locks
These reports look related to me:
Right, we should be able to use the same fix/patch from 1166227 which should allow a xfconf setting to set whatever lock program you want to use.
Can you try this scratch build?
It should alow you to set whatever lock screen program you want via xfconf...
Thanks Kevin, I can confirm that it works for me by setting the xfconf property /general/LockCommand to "mate-screensaver-command --lock".
xfce4-session-4.10.1-8.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-98507d0250
xfce4-session-4.10.1-8.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'yum --enablerepo=epel-testing update xfce4-session'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-98507d0250
xfce4-session-4.10.1-8.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.