Re: Acpid Can't Run Screen Blank Script in FC4

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

 



pete-fedora@xxxxxxxxxxxxxxxx (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 --


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux