locate xhosts
/usr/X11R6/bin/xhosts -> An executable
/usr/X11R6/man/man1/xhost.1x.gz
startx gnome-session still starts kde.
naming the display
XFree86 uses the environment variable DISPLAY to determine which server it communicates with. This variable in csh is set e.g. the following:
setenv DISPLAY myws:0. In bash it is:
DISPLAY=myws:0; export DISPLAY.
If DISPLAY ends with a period and another number, as in "pc.localdomain:0.0" that final "\.0" denotes the monitor number; since I have only one monitor per computer, I can leave that part off.
if you see the display is "pc.localdomain:0" then it is using a TCP/IP socket; if, on the other hand, it is "pc.localdomain/unix:0" it is a unix domain socket.
It is possible to start the graphical runlevel with a remote XServer which really logs you into another machine, however, your workstation still needs a harddrive to contain the linux kernel and networking architecture.
xhost
xauth
return to top