re^2: DISPLAY
Greg Galperin
grg22 at ai.mit.edu
Tue Apr 3 12:09:37 EDT 2001
dan moylan wrote:
> mark j. dulcey writes:
> >It means that you have to use xhost to give your own machine and/or user
> >name permission to use X. As a quick test, you can type "xhost +" in a
> >terminal window to turn off X access control altogether, and then try
> >Netscape.
>
> polaris:root:~/tmp/netscape-installer [1060] export DISPLAY=polaris:0.0
> polaris:root:~/tmp/netscape-installer [1061] xhost +
> Xlib: connection to "polaris:0.0" refused by server
> Xlib: Invalid MIT-MAGIC-COOKIE-1 key
> xhost: unable to open display "polaris:0.0"
> polaris:root:~/tmp/netscape-installer [1062] export DISPLAY=:0.0
> polaris:root:~/tmp/netscape-installer [1063] xhost +
> Xlib: connection to ":0.0" refused by server
> Xlib: Client is not authorized to connect to Server
> xhost: unable to open display ":0.0"
> polaris:root:~/tmp/netscape-installer [1064] export DISPLAY=
> polaris:root:~/tmp/netscape-installer [1065] xhost +
> xhost: unable to open display ""
>
> there must be something awfully basic that i'm missing.
it probably won't matter, but have you tried "unix:0.0" and
"localhost:0.0" ?
are you sure that the display is display 0.0?? make sure by:
xdpyinfo | head -1
did the user 'root' start the X server? You should be doing this all as
whoever logged in and ran X...
--grg
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).
More information about the Discuss
mailing list