Locking screen on live system no longer possible with Xubuntu 18.10/19.04

Bug #1835668 reported by Jakob Lell on 2019-07-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xubuntu-default-settings (Ubuntu)
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-locker-command --lock" reports the following error message:

Received error message from the locker: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ScreenSaver was not provided by any .service files

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=650fd90df8d1e3e7b15fd789907fa47e9e2f68e5

affects: xubuntu-meta (Ubuntu) → xubuntu-default-settings (Ubuntu)
Sean Davis (bluesabre) wrote :

I'm actually removing the lock option from the menu for 20.04 to help reduce any confusion. Locking a live session can be confusing for users, which is why we have disabled this option in the past.

From 19.10 and forward, it is possible to simply turn the locking option back on via the Screensaver settings, Lock Screen tab. The menu option can be found by right-clicking the Whiskermenu icon and navigating to Properties > Commands. The session can also be locked with Super + L or Ctrl + Alt + Del.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xubuntu-default-settings - 20.04

---------------
xubuntu-default-settings (20.04) focal; urgency=medium

  * debian/control:
    - Bump Standards-Version to 4.4.0
    - Add Rules-Requires-Root: no
    - Update Vcs- locations
  * debian/control, debian/compat:
    - Bump debhelper to version 12
  * debian/live/*:
    - Move live config files to subdirectory
  * debian/live/whiskermenu-1.rc,
    debian/xubuntu-live-settings.install:
    - Remove lock menu option in live since locking is disabled (LP: #1835668)
  * debian/live/light-locker.desktop,
    debian/xubuntu-live-settings.install:
    - Remove light-locker autostart entry since we no longer ship it
  * debian/source/lintian-overrides:
    - Add override for testsuite-autopkgtest-missing
  * etc/xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml:
    - Drop workspace labels, inconsistent with 5+ workspaces (LP: #1829778)
  * etc/xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml:
    - Set the Xubuntu wallpaper as default for up to 4 displays
  * etc/xdg/xdg-xubuntu/menus/xfce-applications.menu,
    etc/xdg/xdg-xubuntu/menus/xfce-settings-manager.menu:
    - Workaround menu handling errors in pyxdg (LP: #1833863)

 -- Sean Davis <email address hidden> Sat, 09 Nov 2019 11:42:38 -0500

Changed in xubuntu-default-settings (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related blueprints