Replace xscreensaver with lightdm builtin "gdmflexiserver"

Bug #1159964 reported by mard0
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
xubuntu-meta (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

By replacing xscreensaver with gdmflexiserver in xflock4 there is a more uniform desktop experience.
This can be done by replacing:
for lock_cmd in \
    "xscreensaver-command -lock" \
    "gnome-screensaver-command --lock"
do
    $lock_cmd >/dev/null 2>&1 && exit
done

With:

for lock_cmd in \
    "gdmflexiserver"
do
    $lock_cmd >/dev/null 2>&1 && exit
done

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: xfce4-session 4.10.0-2ubuntu1 [modified: usr/bin/xflock4]
ProcVersionSignature: Ubuntu 3.8.0-14.24-generic 3.8.4
Uname: Linux 3.8.0-14-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.9.2-0ubuntu3
Architecture: amd64
Date: Mon Mar 25 19:40:43 2013
MarkForUpload: True
SourcePackage: xfce4-session
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
mard0 (martijn-doornbusch-l) wrote :
Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

The gdmflexiserver wrapper won't lock the screen by itself, it still requires a screenlocker (there's been ongoing work with light-locker and lightdm-gtk-greeter, but it's not ready).

affects: xfce4-session (Ubuntu) → xubuntu-meta (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xubuntu-meta (Ubuntu):
status: New → Confirmed
Revision history for this message
Alex Mason (0k53dmx9cig8cqkasqs0vq-alex) wrote :

This works fantastically, with the one small problem that the flexiserver allows other users to log in. Typically locking the screen means only the logged in user can unlock it. However, I support the idea that the display manager should be handling screen locks rather than xscreensaver.

Revision history for this message
Aaron Patterson (apatters) wrote :

For what it's worth, I think when you lock the screen on Windows you get a login prompt where anyone can log in. Same with OSX. Doesn't seem like a bad thing to me.

Revision history for this message
Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote :

xscreensaver has been replaced by light-locker (simple session-locker for lightdm) in Xubuntu 14.04.

https://launchpad.net/light-locker

Changed in xubuntu-meta (Ubuntu):
status: Confirmed → Fix Released
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.