Xmanager Knowledge Base

Starting X applications from the local Cygwin envrionment with Xmanager

Last modified: Tuesday, January 29, 2013 12:40 AM

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:

1. Open Xstart.
2. Select Local for Protocol
3. 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:

1. Open Control Panel.
2. Double click on the System icon. 
3. Click on the Advanced system settings menu from the left side.
RESULT: System Properties window opens.
4. Click on the Environment Variables button.
5. From the System variables list, select Path and click on the Edit button.
6. Add the following line at the end of the variable value. 

;c:\cygwin\bin

NOTE: Don't forget to add semicolon (;) in front of the path and do not add any space characters. 

7. Click OK to save the changes. 



AFFECTED SOFTWARE

All Xmanager versions