Suspending Lubuntu when the "Lock Screen After" box is checked in XScreenSaver results in an error message about xdg-screensaver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxqt-session (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Test hardware - HP Elitebook 8570p, 16 GB RAM, 1 TB SSD, 3rd gen i5 CPU. Test was done within a GNOME Boxes VM, 2 GB RAM, 20 GB disk space, SeaBIOS.
Steps to reproduce:
1: Install Lubuntu 22.04 into a VM.
2: Run "sudo apt update && sudo apt -y full-upgrade" to get the VM up-to-date.
3: Reboot the VM.
4: Open XScreenSaver, and check the "Lock Screen After" box.
5: Close XScreenSaver.
6: Click the Application Menu, hover over "Leave", and click "Suspend", then click "OK".
Expected result:
The VM should immediately go into sleep mode without any errors.
Actual result:
The screen goes black, then the following text appears on the screen:
xscreensaver: XX:XX:XX: not launching hack (throttled.)
xscreensaver: XX:XX:XX: LOCK CLientMessage received while already locked.
If you move the mouse, an XScreenSaver prompt will appear asking for your username and password. If you simply leave the VM for long enough it will eventually go into suspend. If you sign in, the following error message will be present on the screen in a window:
Failed to run "xdg-screensaver lock". Ensure you have a locker/screensaver compatible with xdg-screensaver installed and running.
Leaving the VM alone at this point will also eventually result in it going into suspend. Clicking the "OK" button on the error window will result in the VM immediately suspending.
Notes:
I don't actually know what package this should be reported against - I chose lxqt-session because a look at the LXQt source code revealed that it was possible that the "Suspend" button in the LXQt Application Menu was from lxqt-session. Other packages this bug might be in include XScreenSaver, liblxqt, lxqt-powermanag
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: lxqt-session 0.17.1-0ubuntu1
ProcVersionSign
Uname: Linux 5.15.0-41-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: LXQt
Date: Mon Jul 25 02:04:25 2022
InstallationDate: Installed on 2022-07-25 (0 days ago)
InstallationMedia: Lubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
SourcePackage: lxqt-session
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.