Public bug reported:

When a screen-locking method is available, 'xdg-screensaver lock' should
always lock the screen.

Steps to reproduce:

On a fresh installation of Lubuntu 14.04, run:

$ xdg-screensaver lock

Expected:
[screen locks]

Actual:
ERROR: Unknown command 'lock'

However, it is possible to lock the screen via:

$ light-locker-command -l

The xdg-screensaver script uses one of several external utilities,
depending on the desktop environment. It falls through to
screensaver_xserver() at line 697 (or 740, because the function is
duplicated!), which does not include a lock function, even though one is
available.

This is a problem because xfce4-power-manager (part of lubuntu-desktop)
uses xdg-screensaver to lock the screen on suspend under Lubuntu, but
this has no effect. This may represent a security risk as a computer
configured to (and reasonably assumed to) lock on suspend will actually
resume straight to the desktop.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xdg-utils 1.1.0~rc1-2ubuntu7.1
ProcVersionSignature: Ubuntu 3.13.0-35.62-generic 3.13.11.6
Uname: Linux 3.13.0-35-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64
CurrentDesktop: LXDE
Date: Fri Sep  5 18:55:04 2014
InstallationDate: Installed on 2014-08-31 (5 days ago)
InstallationMedia: Lubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 
(20140722.2)
PackageArchitecture: all
SourcePackage: xdg-utils
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: xdg-utils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

** Description changed:

  When a screen-locking method is available, 'xdg-screensaver lock' should
  always lock the screen.
  
  Steps to reproduce:
  
  On a fresh installation of Lubuntu 14.04, run:
  
  $ xdg-screensaver lock
  
  Expected:
  [screen locks]
  
  Actual:
  ERROR: Unknown command 'lock'
  
  However, it is possible to lock the screen via:
  
  $ light-locker-command -l
  
  The xdg-screensaver script uses one of several external utilities,
  depending on the desktop environment. It falls through to
  screensaver_xserver() at line 697 (or 740, because the function is
  duplicated!), which does not include a lock function, even though one is
  available.
  
  This is a problem because xfce4-power-manager (part of lubuntu-desktop)
  uses xdg-screensaver to lock the screen on suspend under Lubuntu, but
- this has no effect. This maybe represent a security risk as a computer
+ this has no effect. This may represent a security risk as a computer
  configured to (and reasonably assumed to) lock on suspend will actually
  resume straight to the desktop.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: xdg-utils 1.1.0~rc1-2ubuntu7.1
  ProcVersionSignature: Ubuntu 3.13.0-35.62-generic 3.13.11.6
  Uname: Linux 3.13.0-35-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.3
  Architecture: amd64
  CurrentDesktop: LXDE
  Date: Fri Sep  5 18:55:04 2014
  InstallationDate: Installed on 2014-08-31 (5 days ago)
  InstallationMedia: Lubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 
(20140722.2)
  PackageArchitecture: all
  SourcePackage: xdg-utils
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xdg-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1366153

Title:
  xdg-screensaver doesn't lock screen with light-locker

Status in “xdg-utils” package in Ubuntu:
  New

Bug description:
  When a screen-locking method is available, 'xdg-screensaver lock'
  should always lock the screen.

  Steps to reproduce:

  On a fresh installation of Lubuntu 14.04, run:

  $ xdg-screensaver lock

  Expected:
  [screen locks]

  Actual:
  ERROR: Unknown command 'lock'

  However, it is possible to lock the screen via:

  $ light-locker-command -l

  The xdg-screensaver script uses one of several external utilities,
  depending on the desktop environment. It falls through to
  screensaver_xserver() at line 697 (or 740, because the function is
  duplicated!), which does not include a lock function, even though one
  is available.

  This is a problem because xfce4-power-manager (part of lubuntu-
  desktop) uses xdg-screensaver to lock the screen on suspend under
  Lubuntu, but this has no effect. This may represent a security risk as
  a computer configured to (and reasonably assumed to) lock on suspend
  will actually resume straight to the desktop.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: xdg-utils 1.1.0~rc1-2ubuntu7.1
  ProcVersionSignature: Ubuntu 3.13.0-35.62-generic 3.13.11.6
  Uname: Linux 3.13.0-35-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.3
  Architecture: amd64
  CurrentDesktop: LXDE
  Date: Fri Sep  5 18:55:04 2014
  InstallationDate: Installed on 2014-08-31 (5 days ago)
  InstallationMedia: Lubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 
(20140722.2)
  PackageArchitecture: all
  SourcePackage: xdg-utils
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-utils/+bug/1366153/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to