Command not found
When starting a StarNetSSH, rsh, or rexec session in X-Win32 you may receive the error below in X-Win32’s Messages window (which can be opened by selecting the Show Messages item from the tray or system menus):
Command not found
There are a few possible causes for this, all of which are related to the value in the command field of the session in X-Config:
- There is a typo in the value for the command field; it could be a typo in the program name itself (e.g. “xxterm” instead of “xterm”), or it could be an extra shell control character (e.g. “xterm ; -ls -display” instead of “xterm -ls -display”)
- Solution: Correct the typo in the command field
- The program being run on the remote host is not available on that host. For example, dtterm is typically available only on systems that use the Common Desktop Environment (CDE), such as Solaris, HP-UX, or AIX, but not on SuSE, Red Hat, Debian, Ubuntu, or FreeBSD.
- Solution: Install the program that you are trying to run on the remote host
- Solution: Use an alternative program already available on the remote host (e.g. xterm on Linux systems instead of dtterm)
- The program being run on the remote host is not in the system path on the remote host; this is more typicaly on older Linux or UNIX operating systems.
- Solution: Specify the path to the program completely (e.g. /usr/X11R6/bin/xterm (Linux), /usr/openwin/bin/xterm (Solaris), or /usr/dt/bin/dtterm (CDE systems) )

Solutions