Přejít na obsah | Přejít na navigaci

Osobní nástroje

Cygwin and X11 forwarding

If no able to forward X11 using PuTTY to CygwinX

[usename@login1.anselm ~]$ gnome-session &
[1] 23691
[usename@login1.anselm ~]$ PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused
PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused

** (gnome-session:23691): WARNING **: Cannot open display:

 

  1. Locate and modify Cygwin shortcut that uses startxwin
    locate
    C:\cygwin64\bin\XWin.exe
    change it to
    C:\cygwin64\bin\XWin.exe -listen tcp

    XWin-listen-tcp.png

  2. Check Putty settings:
    Enable X11 forwarding