On Tue, Jul 03, 2001 at 03:44:00PM -0400, Jeld The Dark Elf wrote: | On Tue, Jul 03, 2001 at 11:50:33AM +0800, Arne Goetje wrote: | > | > I did both... and it still complains: | > | > arne:/usr/home/arne# Xlib: connection to ":0.0" refused by server | > Xlib: Client is not authorized to connect to Server | > | > :((( | > | How about a simple ( and ugly ) xhost + command ( no localhost, see ) if you | are not running a public X server you shouldn't get into any trouble :)
I don't think that will work because xhost only takes _hosts_ as arguments, not commands. 'xhost foo' is equivalent to 'xhost +foo'. The 'xhost +' part of the command completely opens up your xserver to everyone, everywhere. At least specifying localhost only opens it up to your own machine. -D