How are you using the xhost command? Just running "xhost" will not change anything, it only displays which hosts are allowed to connect.
If you are logged in as a standard user, then using su to get root access, then trying to open an X window on your desktop then you will get this.
The way to get around it is to run "xhost +<hostname>"
not literally of course, you need to sub in your hostname for <hostname> or use "localhost" if you are doing this on the same machine.
Some might tell you to just use "xhost +", which is bad form, you should always specify the name of the host you wish to allow access to.
Last edited by jdc2048; 02-03-2003 at 07:13 PM.