cygwin, X Window and ssh
December 20, 2009 04:46:36 Last update: February 08, 2010 03:49:21
Cygwin comes with openssh and X Windows. You need to select these packages from the cygwin installation screen:
To start an X-enabled remote SSH session, you need to start the X server on the cygwin side first:
then enter:
This allows you run X apps on cygwin, but you won't see your normal Linux desktop (gnome, KDE etc.). In order to see remote desktop, you need to run XDMCP (Display Manager Control Protocol, which isn't secure). It's a bit tricky to set up XDMCP over ssh.
- openssh (Net)
- X-start-menu-icons (X11, optional)
- xinit (X11)
- xorg-server (X11 server)
To start an X-enabled remote SSH session, you need to start the X server on the cygwin side first:
startxwin
then enter:
ssh -Y user@network-address
This allows you run X apps on cygwin, but you won't see your normal Linux desktop (gnome, KDE etc.). In order to see remote desktop, you need to run XDMCP (Display Manager Control Protocol, which isn't secure). It's a bit tricky to set up XDMCP over ssh.