File: TORUS1:[GLL_RAW.INFO]HOW_TO_DO_REMOTE_DISPLAY.DOC June 4, 1996 - Scott Lasica This file explains how to set up a remote display. --------------------- Displaying VAX on VAX --------------------- set display/create/node=NODENAME NOTE: The security option under the session manager's options menu needs to have the user and machine defined for access. If you enter the machine name, your user name, and DECNET transport mode, you will be set up. EX: ---- You're sitting at Torus and want to use a faster machine like Glluvs to run your software. Use this sequence: torus> set host glluvs glluvs> set display/create/node=torus ----------------------- Displaying VAX on Unix ----------------------- set display/create/node=NODENAME/trans=tcpip NOTE: You will need to allow the VAX machine to display on your terminal. xhost +NODENAME EX: ---- You're sitting at casuvis and want to display something from Glluvs. casuvis> xhost +glluvs.colorado.edu casuvis> telnet glluvs.colorado.edu glluvs> set display/create/node=casuvis.colorado.edu/trans=tcpip ---------------------- Displaying Unix on VAX ---------------------- setenv DISPLAY NODENAME:0 NOTE: Same security issues as VAX to VAX, except that the transport method is now TCPIP instead of DECNET. EX: ---- You're sitting at glluvs and want to display something from casuvis. glluvs> telnet casuvis.colorado.edu casuvis> setenv DISPLAY glluvs:0 ----------------------- Displaying Unix on Unix ----------------------- setenv DISPLAY NODENAME:0 NOTE: same security issues as VAX on Unix EX: ---- You're sitting at casuvis and want to display something from miranda. casuvis> xhost +miranda.colorado.edu casuvis> telnet miranda.colorado.edu miranda> setenv DISPLAY casuvis.colorado.edu:0 *************************************************************************** Troubleshooting: 1) Your remote display isn't working at all. ANS: Try using the IP address instead of the name of the machine. The IP address is a four field number XXX.XXX.XXX.XXX, and should be located under the name of the computer. 2) I can send shell displays (like xclock), but IDL tells me that it can't open the display device. ANS: Try typing set_plot,'x' at the IDL prompt before running any programs. Sometimes IDL gets confused and sets itself to the wrong device. An easy way to test the display is to use: window,0 at the IDL prompt. *************************************************************************** Facts about the net: -------------------- TCPIP is the standard protocol used by Unix machines. It will be used when connecting with "rlogin" or "telnet". DECNET is the standard VAX SPAN protocol and will be used when connecting with "set host". IP: The name of a computer is translated by a nameserver (a computer) into an IP (Internet Protocol) address. Sometimes the nameserver can't find the name of a computer, so in that case you will need to use the IP address directly. The IP addresses that a Unix machine knows about directly are in /etc/hosts, the nameservers are in /etc/resolv.conf There is also a command in Unix called arp that will return IP addresses. You first need to locate it, so type "whereis arp". It will most likely be either "/etc/arp" or "/usr/sbin/arp", so then you type in that string and follow it with the machine name you want the IP address for. setenv: (unix) This command sets an environment variable, in this case: DISPLAY. The machine name or IP address following it defines where the display is to be directed. The :0 after the machine name defines that you want to use the monitor as the display device on that machine. ----------------------------------------------------------------------------- TERMINOLOGY: ----------------------------------------------------------------------------- LAN: Local Area Network, usually most non-home computers are connected together in a LAN. The LAN is controlled by one computer called a server. The server is the link between all the computers, and also serves as the link to the internet. cluster: A cluster is basically just a LAN. The pisces cluster contains pisces (server), torus, bper, pup, glluvs, altair, viralf, lupalf, lya, and nitric. nameserver: a computer that services IP addresses. If you ask to be connected to a specific computer name (pup.colorado.edu), then the nameserver translates this into an IP address (128.138.137.27). IP address: an Internet Protocol address is like a phone number for a computer. It can be loosely related in such a way, that the number breaks down like an area code, city, etc. You will notice that many computers in Boulder have 138 as the second number in their IP address. suffix: the suffix of a computer name designates what type of institution the computer belongs to. .edu educational .com commercial .gov government .us United States .uk United Kingdom (etc) T1 line: A T1 line is the standard mode of transport for data across the internet. Its maximum transfer speed is 1.5 megabytes/second. ftp: File Transfer Protocol is used to transfer files from one internet address to another. i.e. to transfer a file from your computer to pisces: ftp pisces ascii (for text) -or- bin (for binary) put FILENAME -or- get FILENAME (to get a file from pisces onto your computer) html: Hyper Text Markup Language is the language used to create WWW pages. (the language is transmitted with http) http: Hyper Text Transfer Protocol is the standard method of transmitting World Wide Web information across the internet to be read by a web browser (Netscape, Mosaic, etc) ------------------------------------------------------------------------------ Pisces cluster machines ------------------------------------------------------------------------------ GLLUVS Galileo TORUS Galileo BPER Galileo LYA Wayne Pryor HADAR / VIRALF / LUPALF Ian Stewart (Will Colwell) PUP Joe Ajello / Wayne Pryor NITRIC Dr. Barth ALTAIR Dr. Barth (Amanda Hendrix)