X client shortcuts

Windows Services for UNIX does not include an X Window server program. You must install and start an X Window server program before using any X Window client applications.

You can run an X client command from a shortcut. The target text box in your shortcut should use the following syntax:

psxrun.exe -u /bin/ksh -l -c "/usr/X11R5/bin/command -display localhost:0"

The command argument can be any X client, such as xclock(1), xterm(1), or xcalc(1). For example, you would type the following to start xterm and xclock, respectively:

To start xterm, type:

psxrun.exe -u /bin/ksh -l -c "/usr/X11R5/bin/xterm -ls -sb -display localhost:0"

To start xclock, type:

psxrun.exe -u /bin/ksh -l -c "/usr/X11R5/bin/xclock -display localhost:0"

These commands also work from the cmd.exe command line.