DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Running remote programs

Running clients with the DISPLAY environment variable

If you log in to the remote host to run clients, you can set the $DISPLAY environment variable to point to your X server so that you do not have to specify your server on the command line every time you run a client.

If you are using csh, set the $DISPLAY environment variable with the following command:

setenv DISPLAY displayname

If you are using sh or ksh, set the $DISPLAY environment variable with the following command:

DISPLAY=displayname; export DISPLAY

The displayname specification uses the following form:

[hostname]:display_number[.screen_number]

hostname specifies the machine on which the display is running and must be either a machine name or the machine's network address, as listed in /etc/hosts. If you omit hostname, the display is presumed to be running locally.

:display_number specifies one of the displays on hostname. Each display on a system is assigned a :display_number, beginning with 0. screen_number specifies the screen on which the display is running.

See also:


Next topic: Running clients with the -display option
Previous topic: Running the remote client

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003