Description of problem: * "Lock Screen" menu item not working * "xflock4" command also failing Version-Release number of selected component (if applicable): xfce4-session-4.16.0-6.fc37.x86_64 How reproducible: 100% Steps to Reproduce: 1. "Lock Screen" from menu OR 2. $ xflock4 3. Actual results: session not locked $ xflock4 $ echo $? 1 Expected results: session locked Additional info: It seems "xflock4" tries to run multiple other locking programs, but none is provided by the dependencies of "xfce4-session-4.16.0-6.fc37.x86_64". The only thing found is "xscreensaver", but fails to lock, as it is not running: $ strace -f xflock4 2>&1 | grep 'stat\|exec' execve("/usr/bin/xflock4", ["xflock4"], 0x7ffc97326a38 /* 66 vars */) = 0 (...) newfstatat(AT_FDCWD, "/home/vm/.local/bin/xfce4-screensaver-command", 0x7ffdfd3be160, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/home/vm/bin/xfce4-screensaver-command", 0x7ffdfd3be160, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/lib64/qt-3.3/bin/xfce4-screensaver-command", 0x7ffdfd3be160, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/lib64/ccache/xfce4-screensaver-command", 0x7ffdfd3be160, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/local/bin/xfce4-screensaver-command", 0x7ffdfd3be160, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/bin/xfce4-screensaver-command", 0x7ffdfd3be160, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/bin/xfce4-screensaver-command", 0x7ffdfd3be160, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/X11R6/bin/xfce4-screensaver-command", 0x7ffdfd3be160, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/games/xfce4-screensaver-command", 0x7ffdfd3be160, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/local/sbin/xfce4-screensaver-command", 0x7ffdfd3be160, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/sbin/xfce4-screensaver-command", 0x7ffdfd3be160, 0) = -1 ENOENT (No such file or directory) (...) newfstatat(AT_FDCWD, "/home/vm/.local/bin/xscreensaver-command", 0x7ffdfd3be160, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/home/vm/bin/xscreensaver-command", 0x7ffdfd3be160, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/lib64/qt-3.3/bin/xscreensaver-command", 0x7ffdfd3be160, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/lib64/ccache/xscreensaver-command", 0x7ffdfd3be160, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/local/bin/xscreensaver-command", 0x7ffdfd3be160, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/bin/xscreensaver-command", {st_mode=S_IFREG|0755, st_size=32720, ...}, 0) = 0 newfstatat(AT_FDCWD, "/usr/bin/xscreensaver-command", {st_mode=S_IFREG|0755, st_size=32720, ...}, 0) = 0 newfstatat(AT_FDCWD, "/usr/bin/xscreensaver-command", {st_mode=S_IFREG|0755, st_size=32720, ...}, 0) = 0 [pid 1496305] execve("/usr/bin/xscreensaver-command", ["xscreensaver-command", "-lock"], 0x55f266754ca0 /* 66 vars */) = 0 (...) newfstatat(AT_FDCWD, "/home/vm/.local/bin/gnome-screensaver-command", 0x7ffdfd3be160, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/home/vm/bin/gnome-screensaver-command", 0x7ffdfd3be160, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/lib64/qt-3.3/bin/gnome-screensaver-command", 0x7ffdfd3be160, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/lib64/ccache/gnome-screensaver-command", 0x7ffdfd3be160, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/local/bin/gnome-screensaver-command", 0x7ffdfd3be160, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/bin/gnome-screensaver-command", 0x7ffdfd3be160, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/bin/gnome-screensaver-command", 0x7ffdfd3be160, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/X11R6/bin/gnome-screensaver-command", 0x7ffdfd3be160, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/games/gnome-screensaver-command", 0x7ffdfd3be160, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/local/sbin/gnome-screensaver-command", 0x7ffdfd3be160, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/sbin/gnome-screensaver-command", 0x7ffdfd3be160, 0) = -1 ENOENT (No such file or directory) (...) newfstatat(AT_FDCWD, "/home/vm/.local/bin/xlock", 0x7ffdfd3be150, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/home/vm/bin/xlock", 0x7ffdfd3be150, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/lib64/qt-3.3/bin/xlock", 0x7ffdfd3be150, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/lib64/ccache/xlock", 0x7ffdfd3be150, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/local/bin/xlock", 0x7ffdfd3be150, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/bin/xlock", 0x7ffdfd3be150, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/bin/xlock", 0x7ffdfd3be150, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/X11R6/bin/xlock", 0x7ffdfd3be150, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/games/xlock", 0x7ffdfd3be150, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/local/sbin/xlock", 0x7ffdfd3be150, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/sbin/xlock", 0x7ffdfd3be150, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, ".", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=2380, ...}, 0) = 0 newfstatat(AT_FDCWD, "/home/vm/.local/bin/slock", 0x7ffdfd3be150, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/home/vm/bin/slock", 0x7ffdfd3be150, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/lib64/qt-3.3/bin/slock", 0x7ffdfd3be150, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/lib64/ccache/slock", 0x7ffdfd3be150, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/local/bin/slock", 0x7ffdfd3be150, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/bin/slock", 0x7ffdfd3be150, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/bin/slock", 0x7ffdfd3be150, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/X11R6/bin/slock", 0x7ffdfd3be150, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/games/slock", 0x7ffdfd3be150, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/local/sbin/slock", 0x7ffdfd3be150, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/sbin/slock", 0x7ffdfd3be150, 0) = -1 ENOENT (No such file or directory) $ xscreensaver-command -lock xscreensaver-command: no screensaver is running on display :0.0
(easily worked around by installing e.g. xlockmore)
So, it should be using xfce4-screensaver and xfce4-screensaver-command --lock How did you install? Do you have xfce4-screensaver installed?
No xfce4-screensaver installed, nothing seems to depend on it. Not sure how I installed xfce4, possibly by "dnf install xfce4" a longer time ago. Was using Trinity DE instead, until switched to Xfce4 for Trinity being less and less stable in time.
A 'dnf group install xfce-desktop' should pull it in, or install via the live media.
Agree, "dnf group install xfce-desktop" tries to install "xfce4-screensaver". Shouldn't "xfce4-screensaver" be required/suggested by xfce4-session? Currently it is not, and nothing prevents a situation like this, i.e. non-working lock icon/command.
Well, other screen lockers would work too... xscreensaver, etc. I suppose we could add a Suggests
Yep, "suggests" makes sense.
nonamdotc: since you're doing builds would you be willing to add a Suggests: xfce4-screensaver to xfce4-session?
oh yes! I will do that.
FEDORA-2023-f07f5eede6 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-f07f5eede6
FEDORA-2023-f07f5eede6 has been pushed to the Fedora 38 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-f07f5eede6 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-f07f5eede6 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.