You can run an application remotely using the Host Manager or using the command line.
To run a command remotely from Host Manager, do the following:
Make sure you can log in to the remote system without entering a password.
Do one of the following:
If you can log in to the remote system without entering a password, proceed to step 3.
If you cannot log in to the remote system without entering a password, edit your $HOME /.rhosts file or the file on the remote system. For more information, see the and reference pages.
Drag an application icon from the Application Manager and drop it on the icon that represents the remote system.
The application runs on the remote system and displays on your local system.
You also can run an application from Host Manager by double clicking on the icon representing the remote system if the Set Command option has been set correctly for the remote system's icon. For more information, see Host in the Host Manager help volume.
To run an application from the command line, you must be able to log in to the remote system.
Use the procedures in Authorizing Access to your Display to authorize the remote system to access your local display.
Log in to the remote system.
Set the DISPLAY environment variable to refer to your display.
The command to do this depends on the shell that you are using.
Enter
echo $SHELL
to find out which shell
you are using.
Do one of the following:
In the C shell (csh
), enter the following:
setenv DISPLAY
your_workstation:0
In the Bourne shell (sh
), enter the following:
DISPLAY=
your_workstation:0
export DISPLAY
In the Korn shell (ksh
), enter the following:
export DISPLAY=
your_workstation:0
In the preceding commands, your_workstation is the host name of your system.
Start the application on the remote system.