Acpid Can't Run Screen Blank Script in FC4

Mathieu Chouquet-Stringer ml2news at optonline.net
Fri Jul 1 19:57:57 UTC 2005


pete-fedora at verisignlabs.com (Pete Toscano) writes:
> Here's some FC4 weirdness.  Maybe someone out there can help...
> [...]

It's pretty explicit, acpid runs as root and cannot access your display.

> [snip]
> + /usr/X11R6/bin/xset -display :0 dpms force standby
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
> 
> /usr/X11R6/bin/xset:  unable to open display ":0"

The same thing would happen if you try to run your script, as root, at the
console (not X) while logged in under X.
-- 
Mathieu Chouquet-Stringer
    "Le disparu, si l'on vénère sa mémoire, est plus présent et
                 plus puissant que le vivant".
           -- Antoine de Saint-Exupéry, Citadelle --




More information about the fedora-list mailing list