LightDM's guest-account script should disable screen lock universally for guest sessions

Bug #1481804 reported by Laércio de Sousa
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
lightdm (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Is it feasible to include in /usr/sbin/guest-account script some commands to disable screen lock for guest sessions? It should include several commands, depending on Ubuntu flavour. Examples:

Ubuntu MATE (uses mate-screensaver)
gsettings set org.mate.screensaver lock-enabled false

Xubuntu and others (use light-locker)
gsettings set apps.light-locker light-locker-enabled false
gsettings set apps.light-locker late-locking false
gsettings set apps.light-locker lock-on-lid false
gsettings set apps.light-locker lock-on-suspend false

Revision history for this message
Robert Ancell (robert-ancell) wrote :
Changed in lightdm:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Laércio de Sousa (lbssousa) wrote :

Tested on Ubuntu MATE 15.04 and Xubuntu 15.04. Screen locking is disabled correctly for guest sessions.

Thank you, Robert!

Changed in lightdm (Ubuntu):
status: New → Fix Committed
Changed in lightdm:
status: Triaged → Fix Committed
Changed in lightdm (Ubuntu):
importance: Undecided → Medium
Changed in lightdm:
milestone: none → 1.15.2
no longer affects: lightdm
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lightdm - 1.15.1-0ubuntu2

---------------
lightdm (1.15.1-0ubuntu2) wily; urgency=medium

  * debian/guest-session-auto.sh:
    - Disable screenlocks for guest sessions on MATE, XFCE, Pantheon
      (LP: #1481804)
  * debian/control:
    - Switch build-depends from transitional libgcrypt11-dev to libgcrypt20-dev

 -- Robert Ancell <email address hidden> Fri, 07 Aug 2015 12:50:38 +1200

Changed in lightdm (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Sushenjit Bandyopadhyay (s-bandyo1) wrote :

I have the same problem with Ubuntu Mate 18.04 LTS. I have enabled the guest account by creating a file /etc/lightdm/lightdm.conf with the content:

[SeatDefaults]
allow-guests=true

If I switch from the guest account to my normal account and then try to switch back to the guest account, I am locked out of the guest account. It asks for guest account password.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

@Sushenjit: This bug report was closed three years ago; please file a new one, and then call the MATE developers' attention to the issue. Maybe MATE is using some other screenlocking mechanism today?

Revision history for this message
Jarno Suni (jarnos) wrote :

@Sushenjit did you file a bug report?

Revision history for this message
Sushenjit Bandyopadhyay (s-bandyo1) wrote :

@Jarno I found the bug report I had filed.

https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1775088

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Thanks Sushenjit. I just added a comment on the other bug.

Norbert (nrbrtx)
tags: added: bionic focal groovy hirsute
Revision history for this message
Sushenjit Bandyopadhyay (s-bandyo1) wrote :

You are welcome Gunner! You are right about the guest feature being deprecated. I stopped using the guest feature soon after filing the bug report.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.