Locking screen on live system no longer possible with Xubuntu 18.10/19.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xubuntu-default-settings (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
With Xubuntu 18.10/19.04 it is no longer possible to lock the screen on the live system (after setting a password for the "xubuntu" user). With previous versions (up to Xubuntu 18.04 LTS) it was easily possible to set a password (using "passwd" on the command line) and then lock the screen on the live system. With 18.10/19.04 the lock symbol is still present in the Xfce menu but it is not working any more. Running the command "light-
Received error message from the locker: GDBus.Error:
Investigating the issue shows that the item "Screen Locker" in Settings => "Session and Startup" => "Application Autostart" is disabled on the live system by default (this setting is enabled on the Xubuntu 18.04 live system). This leads to the following workaround:
* Go to Settings => "Session and Startup" => "Application Autostart"
* Enable "Screen Locker"
* Restart session (e.g. using "sudo systemctl restart lightdm.service")
After that, the lock screen is working as expected. So it should be rather easy to fix this issue by changing the default value for this setting.
Having a possibility to lock the screen is important even on a live system e.g. when doing long-running copying/data rescue tasks involving unlocked encrypted volumes.
It was disabled due to bug 1421443.
Now with Xubuntu 19.10 and the switch to xfce4-screensaver it may be possible to enable it again. Note that this new change only disables the lock setting, and not the autostart entry.
https:/ /git.launchpad. net/xubuntu- default- settings/ commit/ ?id=650fd90df8d 1e3e7b15fd78990 7fa47e9e2f68e5