[arch-general] Weird acpid issue

Thayer Williams thayerw at gmail.com
Mon Feb 9 20:10:23 EST 2009


On Mon, Feb 9, 2009 at 11:03 AM, Leonid Grinberg <lgrinberg at gmail.com> wrote:
>> xset needs to connect to the X server, so it needs both for the
>> DISPLAY to be specified and also to have access to the XAuthority
>> cookie for the X server. Otherwise it will not work - can't connect to
>> the X server.
>>
>> Since acpid runs as a sytem service it ussually doesn't have access to
>> that information.
>
> Hmm, so, so far, everything seems to be working fine... One can play
> "DISPLAY=:0" before "xset dpms force off", but how does one grant it
> access to the XAuthority cookie?

Can't help you guys much there.  I never blank my screen without
enabling some sort of screenlock/screensaver.  For instance, I use
slock which locks the X session and, as a side effect, shuts off the
monitor.


More information about the arch-general mailing list