Classnotes | UNIX02 | RecentChanges | Preferences Showing revision 3 As mentionned previously, XFree86 operates on a client/server model. This means you can run X server connections across a network as if you were sitting at the server.
This is not quite like VNC, which operates as a whole screen across a network and not individual windows.
xhost
When you connect to a remote system, you need to tell your local X server that it is okay to allow X connections from the remote machine. xhost is that command. It is the interface to the access control module inside XFree86. Its usage is very simple:
xhost [[+-]name ...]
To add a machine, you use the '+' option. To remove a machine, you use the '-'. For example, to add the machine rogaine.minoxidil.com, you could use the following command:
$ xhost +rogaine.minoxidil.com
To remove it, you would use:
$ xhost -rogaine.minoxidil.com
If you wanted to allow all hosts access to your machine (note this is very dangerous) you would type: