Bill Shirley wrote:

 Try putting in the script:

 DISPLAY=:0.0

 at the top after #!/bin/sh

 HTH, Bill

This only works if you are running the X server. If another user is running X, you will not be able to connect to the X server, unless you turn off security. It also fails if you are not running an X server.
Also, if you are running more then one X server, the DISPLAY setting may be different for "your" X server.


Mikkel
--

   Do not meddle in the affairs of dragons,
for you are crunchy and taste good with ketchup.


____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to