[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#478687: marked as done (script to let root invoke DPMS)



Your message dated Mon, 31 Oct 2011 20:11:56 +0100
with message-id <20111031191156.GA19322@radis.liafa.jussieu.fr>
and subject line Re: Bug#478687: script to let root invoke DPMS
has caused the Debian Bug report #478687,
regarding script to let root invoke DPMS
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
478687: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=478687
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: x11-common
Version: 1:7.3+10
Severity: wishlist

Packages like acpid and other power management stuff might want to
shut down the local display. This can be done with 'xset dpms force
off'. The problem is that root can't do that, if a normal user is
logged in. As a result, a log of hacks are floating around, e.g.

  ps au | sed -rne 's,^root.+[[:space:]]/usr/bin/X ([^[:space:]]+).+-auth ([^[:space:]]+),\1 \2,p' \
    | while read display xauthority; do 
      DISPLAY=$display XAUTHORITY=$xauthority xset dpms force off
    done

Maybe x11-common or another x11-* package could provide a script to
allow everyone to standardise? Feel free to use the above snippet
which I place in the public domain.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1+scoflowctrl.1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages x11-common depends on:
ii  debconf [debconf-2.0]         1.5.21     Debian configuration management sy
ii  debianutils                   2.28.4     Miscellaneous utilities specific t
ii  libc6                         2.7-10     GNU C Library: Shared libraries
ii  lsb-base                      3.2-10     Linux Standard Base 3.2 init scrip

x11-common recommends no packages.

-- debconf information excluded


-- 
 .''`.   martin f. krafft <madduck@debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)


--- End Message ---
--- Begin Message ---
On Wed, Apr 30, 2008 at 12:32:39 +0400, martin f krafft wrote:

> Package: x11-common
> Version: 1:7.3+10
> Severity: wishlist
> 
> Packages like acpid and other power management stuff might want to
> shut down the local display. This can be done with 'xset dpms force
> off'. The problem is that root can't do that, if a normal user is
> logged in. As a result, a log of hacks are floating around, e.g.
> 
>   ps au | sed -rne 's,^root.+[[:space:]]/usr/bin/X ([^[:space:]]+).+-auth ([^[:space:]]+),\1 \2,p' \
>     | while read display xauthority; do 
>       DISPLAY=$display XAUTHORITY=$xauthority xset dpms force off
>     done
> 
> Maybe x11-common or another x11-* package could provide a script to
> allow everyone to standardise? Feel free to use the above snippet
> which I place in the public domain.
> 
I think this doesn't belong in X.  If people want to do such things
without being part of the X session they can use the kms interface
nowadays.

Cheers,
Julien


--- End Message ---

Reply to: