Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Common Desktop Environment: User's Guide > Chapter 12 Using Terminal

Running dtterm on Another System

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

You can run dtterm on another system through various commands:

  • The -display option

  • The rlogin command

  • The remsh command

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.

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 (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.

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 &
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.