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:
Element |
Description |
---|---|
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. |
|
The executable name of the X application to run. |
|
Any command line parameters you want to specify. |
|
The display specification of your Client 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 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:
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:
For more information on using 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:
For example: