Start an xterm


If you are using the X Window System, you can start an xterm that opens a shell session on the least loaded host by entering:
lsrun sh -c xterm &

The & in this command line is important as it frees resources on the host once xterm is running, by running the X terminal in the background.

In this example, no processes are left running on the local host. The lsrun command exits as soon as xterm starts, and the xterm on the remote host connects directly to the X server on the local host.