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

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

 



Am So, den 03.07.2005 schrieb Pete Toscano um 15:45:

> I tried adding it to my script, but got this:
> 
> + /usr/X11R6/bin/xhost +local:root
> /usr/X11R6/bin/xhost:  unable to open display ""

Means, there is no $DISPLAY defined.

> >From what I can tell, it looks like you can't specify the display on the
> command line.  I'm at a loss as to what else to do.  I have no problem
> entering it from a terminal window though.  After that, it works just fine.

> pete

What do you understand as the difference between "command line" and
"terminal window"? Do you try to run your script in non-X mode (runlevel
3)?

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 16:32:05 up 7 days, 23:24, load average: 0.27, 0.24, 0.19 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


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

  Powered by Linux