Solaris Common Desktop Environment: User's Guide

Running dtterm on Another System

You can run dtterm on another system through various commands:

Using the -display Option

-display host:display[.screen]

where

host--the name of a valid system on the network.

display--the number of the display on the host.

screen--Optional. The screen within the display. The default is 0.

You can find these values by typing env, and examining the DISPLAY line. The terminal emulator is running on your system, but the window shows on another system.

For example, the following command starts a dtterm window on the host computer named hpcvxdm:

dtterm -display hpcvxdm:0 &

Using rlogin

You can use rlogin in an existing Terminal window to log in to a remote host. Once the window is acting as a terminal to the remote host, you can run applications there, redirecting the display back to your system if you desire.

For example, the following command logs onto a system named there, runs the client xload, and redirects the display back to your original system. Assume your system is named here.

rlogin there
xload -display here:0

Using remsh

The remsh command starts a shell on a remote host, performs some client activity (often starting a terminal emulator on that host), and redirects the display back to your original system if desired.

It has the syntax:

remsh remote -n client -display system:display[.screen]

where:

remote--the remote host name

client--the program you want to run on the remote host

system:display[.screen]--the host and display on which the results are to be displayed

The remsh command is often used when customizing a menu to access other hosts.

For example, the following command runs xload on the remote host named there, and directs output back to your system, here.

remsh there -n /usr/bin/X11/xload -display here:0.0 &

Using the Terminal menu item in Address Manager

Address Manager (see Chapter 16, Using Address Manager) displays details of selected hosts when the Hosts is selected on the Search menu.

When the details of a remote host are displayed in the scrolling pane, the Terminal menu item is displayed on the Actions menu. Choosing this menu item runs a terminal session on the remote host from your local display (see "Performing Actions on Host Cards").