xhost not working?

Pekka Pietikainen pp at ee.oulu.fi
Wed Nov 5 20:32:14 UTC 2003


On Wed, Nov 05, 2003 at 02:12:31PM -0600, Satish Balay wrote:
> If you wish to enable this - add the following to /etc/X11/gdm/gdm.conf - and restart X
> 
> DisallowTCP=false
> 
> Disclaimer: this usage - via 'xhost +' is insecure - and should be avoided.
And for educational purposes, a semi-secure way to accomplish the same
is with xauth. xauth list on the local machine, xauth add machinename:0
MIT-MAGIC-COOKIE-1 <cookie>. Or xauth merge .Xauthority (which you need
to copy over if it's a different machine)

Use SSH X forwarding if you can, though.

-- 
Pekka Pietikainen





More information about the fedora-test-list mailing list