Logging Out and Exiting the Remote Host
You can log out of the remote host just as you would from your home system,
by typing:
exit
Typing
-
also logs you out on most system.
4
5
4
5
CTRL
D
At this point you are logged out of the remote host, disconnected, and returned
to HP-UX on your local system, which displays a message and your local
prompt:
Connection closed.
$
Displaying Remote Graphical Programs Locally
If you are running HP VUE or the X Window System, you can run a program
using windows on a remote machine and display the results locally. This is
done by setting the
DISPLAY
sets the host, display number, and screen number to which a system
DISPLAY
sends bitmapped output for clients.
For example, if the remote machine is called
and the remote program is called
remote
xhost +
remote
rlogin
local
DISPLAY=
:0.0
export DISPLAY
xwijit
DRAFT
2/5/97 11:31
environment variable on the remote system.
remote , your local system is local ,
, enter the following on your system:
xwijit
This enables your system to recognize the remote host.
Log in on a remote machine on which you have an
account.
On the remote machine, set the DISPLAY variable to
display on your local system.
Export the variable
Run the program
Using the Command Line
4
4-27