next up previous

4.0.8 Reminder on Opening X-Windows from Remote Hosts

When working on a remote computer (which you connected with using rlogin or telnet, for example) and wishing to run code which would create a window on the screen of the workstation on which you are working, you must set the name of the display device on the remote system using the setenv DISPLAY command, and you also must permit access to your display device to the remote system using the xhost command.

For example, if you are remotely logged onto the UNIX computer from, and wish to create a window on pulsar, then in a window in which you are logged onto crypt, type

setenv DISPLAY

to set the display on the remote system. Then, in a local window on pulsar, type

xhost +

to permit access of the remote system to your screen.

Now, if you run the windowing application on the remote system, the display will be made to your screen.