These classnotes are depreciated. As of 2005, I no longer teach the classes. Notes will remain online for legacy purposes

UNIX02/XFree86 And Remote Connections

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:

 $ xhost +


Classnotes | UNIX02 | RecentChanges | Preferences
This page is read-only | View other revisions | View current revision
Edited May 10, 2003 7:33 pm (diff)
Search:
(C) Copyright 2003 Samuel Hart
Creative Commons License
This work is licensed under a Creative Commons License.