"xhost +localhost" a no go (Ubuntu, Debian)
I have a few Debian and Ubuntu machines up, and I seem to have real problems trying to run X apps after doing an su to root, even after "xhost +localhost". The Debian machines seem to allow it if I do "su" rather than "su -", but on this particular Ubuntu Breezy machine I can't get it to work under any circumstances:
rcs@scully:~/Desktop$ xhost +localhost
localhost being added to access control list
rcs@scully:~/Desktop$ su
Password:
root@scully:/home/rcs/Desktop# sh install-crossover-pro-5.0.0.sh
Verifying archive integrity...OK
Uncompressing CrossOver Office Professional..............................................
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Setup requires an X display to run. There is a display variable set, however
you have no permissions to access the X server (:0.0) it points to.
Try running xhost +localhost before su'ing to root.
I'm sure there's a setting in some conf file someplace that I can tweak to get this to work. Can someone give me a clue?
Thanks....Bob
|