Running X Applications via SSH and VcXsrv, Cygwin or Xming in Windows

Before you begin: When using a computer off-campus, you may first need to connect to Purdue's Virtual Private Network. Remember, your BoilerKey is REQUIRED to access this service.

 

To run X applications in Windows, please follow these steps:

  1. Start the X server program: VcXsrv, Cygwin or XMing (If you do not have any installed, you can download VcXsrv at https://sourceforge.net/projects/vcxsrv/; Cygwin/X at http://x.cygwin.org, or XMing at https://sourceforge.net/projects/xming/  if your computer is self-supported or personally-owned)
  2. For VcXsrv, download and run the installer.
  3. For Cygwin, a bash shell window will open.  DO NOT USE THIS WINDOW!  Also, a black 'X' will appear in the toolbar in the lower-right corner of the taskbar.  That indicates that Cygwin-X is running.
  4. For XMing, click on the Xming icon in the start menu to start Xming.
  5. Use SecureCRT to connect to the server where you will be running the software. (SecureCRT is pre-installed on ECN-supported Windows PCs. If you are using a "self-supported" or personally-owned computer, you may download SecureCRT.)
  6. Make sure that SecureCRT has X11 packet forwarding set. You can do that in SecureCRT by clicking:  Options->Sessions Options, then expanding the menus Connection->Port Forwarding->Remote/X11, and checking the Forward X11 packets box.  You should only need to set this once, if you save your settings after setting X11 forwarding (Options->Save Settings Now). See Fig 1.
  7. After entering your login and password, run the X application from the SecureCRT window.

If you have any problems with starting the X application, try running a different X application in order to confirm that the X-server and SecureCRT are working.  You can try running xclock (/usr/bin/xclock) to see if it works.  Also, make sure that SecureCRT has X11 forwarding turned on.  

Last modified: 2021/05/24 13:53:57.025756 GMT-4 by wen-hui.williams.1
Created: 2008/04/08 14:03:6.125000 GMT-4 by albert.e.mondero.1.

Categories

Search

Type in a few keywords describing what information you are looking for in the text box below.

Admin Options: Edit this Document