Starting X applications from the local Cygwin envrionment with Xmanager
PROBLEM DESCRIPTION
This article explains how you can open X application from the local Cygwin environment with Xmanager.
Cygwin is:
- a collection of tools which provide a Linux look and feel environment for Windows.
- a DLL (cygwin1.dll) which acts as a Linux API layer providing substantial Linux API functionality.
(* from cygwin.com)
RESOLUTION
To start xterm from the local Cygwin environment with Xmanager:
- Open Xstart.
- Select Local for Protocol.
For command, use the following:
C:\cygwin\bin\run.exe -p /usr/X11R6/bin xterm -display $DISPLAY
Depending on the application, you may have to add the Cygwin PATH to system variable. To add the Cygwin path to the system variable:
- Open Control Panel.
- Double click on the System icon.
- Click on the Advanced system settings menu from the left side.
RESULT: System Properties window opens. - Click on the Environment Variables button.
- From the System variables list, select Path and click on the Edit button.
Add the following line at the end of the variable value.
;c:\cygwin\binNote
Don't forget to add semicolon (;) in front of the path and do not add any space characters.
- Click OK to save the changes.