Are you running X while you're doing this? Try echo $DISPLAY, but I doubt it matters what that is set to. Chris On May 26, 2004 02:44 pm, Brooks wrote:
Tried installing XD2 and it won't go. Here's what I get:
brooks@84:~> xhost +localhost localhost being added to access control list brooks@84:~> su Password: 84:/home/brooks # wget -q -O - http://go.ximian.com |sh ==> Autodetecting system type... ==> Checking $DISPLAY and X permissions...
The Ximian Desktop Installer is a graphical application, and either you have no DISPLAY variable set or the root user does not have permission to access your X server. Run 'xhost +localhost' before becoming root, and make sure that the DISPLAY variable is set correctly before running the go-ximian script.
Cleaning up temporary files... done.
As you can see, I get this message AFTER I run the 'xhost +localhost' command that it suggests. I have no idea how to check whether I have a DISPLAY variable set.
Any ideas?
Jack