[ Date Index ][
Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
I had a similar problem to this when I su'd in an xterm from a user and I would get the same error as you the way around this is: <You have to do this as the user BEFORE you su to root> %>export DISPLAY=[your IP]:0 %>xhost +localhost And then bobs your uncle! But if the problem was that you were trying to export an X session to another box than the server is running on this may help: <on the machine the X-server is running> %> xauth list yourbox.yourdomain.org:0.0 you'll the value of your magic cookie returned, then on the remote box do: %> xauth add yourbox.yourdomain.org:0 MIT-MAGIC-COOKIE-1 <valueof your cookie> Hope this sorts out any probs if not let me know and i *may* be able to help more (but probably not !!!!!) Cheers On Wednesday 20 Mar 2002 9:40 am, you wrote:
Xlib: connection to ":0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key Error: Can't open display: :0 What obvious thing am I missing? This is an attempt to start the browser with a URL displayed in it, or drive it ito that if it is already running, and show it on the local screen. do I need to alter something with xhosts + or is it a matter of specifying the displlay differently?
-- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.