Local Server and Remote Client



next up previous contents index
Next: X Terminals Up: LOOKING THROUGH X Previous: xterm: Tektronix 4014

Local Server and Remote Client

Here is a sample session in which we run the X client program idraw on a remote machine with the IP number 128.193.96.41. We then view the ouput of idraw through an X window on the local machine with IP number 128.95.7.2. You must know the IP numbers or properly-registered hostnames ahead of time, or get them with the commands: echo $DISPLAY, hostname, host. Be aware that each X terminal has its own IP number, and that it is different from that of the main computer.

local$ xhost +128.193.96.41   	Tell local who will be host.  
128.193.96.41 being added to access control list   	  
local$ telnet 128.193.96.41   	Connect to remote in same window.  
...   	Login to remote machine.  
remote$ csh   	Run c shell.  
remote$ setenv DISPLAY 128.95.7.2:0   	Tell remote where to display.  
remote$ idraw   	Run idraw on remote, window on local.  



next up previous contents index
Next: X Terminals Up: LOOKING THROUGH X Previous: xterm: Tektronix 4014