Tille - I can see you, read those man pages!   Tille's Site

Remote display of a Linux desktop

For serving a display on Linux, such as when starting a Cygwin X session to your Linux server, you need to allow access to your machine. I did it like this on Fedora:

  • Comment the line DisplayManager.requestPort in /etc/X11/xdm/xdm-config
  • Uncomment the line #* #any host can get a login window in /etc/X11/xdm/Xaccess
  • Comment no-listen = tcp in /etc/X11/fs/config
  • Run /etc/init.d/xfs start
  • In the [xdmcp] section of /etc/X11/gdm/gdm.conf, set Enable=true
  • pkill -HUP gdm

    Cygwin startup

    Startup Cygwin/X like this (make sure there is no Cygwin X server running):

    XWin.exe -fp tcp/<servername>:7100 -query <servername>


    You're probably better of running X over SSH (i.e. in Cygwin ssh -Y <server>) or installing VNC or some such application. But for this method, you do not need to install anything on the server. On a decent network, it is reasonably fast but you should not run it over the Internet, of course.

© 1995-2010 Machtelt Garrels - tille - Powered by vIm - Best viewed with your eyes - Validated by W3C - Last update 20100511