Command Line Syntax for UNIX/Linux Hosts

This section describes the commands you use when starting X applications on UNIX/Linux hosts.

Use the following command line syntax to start X applications:

[install path/]application [parameters] -display displayspec &

Element

Description

install path

Specifies the directory where the X application you want to run is located.

If you have preconfigured the PATH environment variable on your host, then you may not need to enter the path on the command line. For more information, see Setting Environment Variables on UNIX/Linux Hosts.

application

The executable name of the X application to run.

parameters

Any command line parameters you want to specify.

displayspec

The display specification of your Exceed onDemand Desktop, in the form: hostname:display# or ipaddress:display#.

For example, ewebhost:2 or 123.45.67.89:1. You can determine the host name, display number, and IP address to use by using information displayed in the Exceed onDemand Desktop title bar.

Note:  In most cases, you can use @d to specify your displayspec.

&

Indicates this application should be run in the background.

Note:  When starting X applications, you should start them in background mode.

For example, you can type the following to start the xterm X application:

/usr/bin/X11/xterm -sb -ls -fg blue -bg lightgrey -display eodhost:2 &

With any startup method, you can specify the following command to start the xterm X application and to display the user ID and host name in title bar of the X application in the form userID@hostname:

/usr/bin/X11/xterm -sb -ls -fg blue -bg lightgrey -display @d -name "@u@@@h"&

For more information on using Exceed onDemand macros, such as @d and @u, see Using Display and Login Macros.

If you have preconfigured the DISPLAY environment variable for a particular host, you can omit the -display displayspec parameter when starting X applications from that shell with the following command line syntax:

[install path/]application [parameters] &

For example:

/usr/bin/X11/xterm -sb -ls -fg blue -bg lightgrey &

Related Topics

About Remote Commands

Using Display and Login Macros

Setting Environment Variables on UNIX/Linux Hosts