Skip to content
Snippets Groups Projects
Commit 78c97a70 authored by Pavel Jirásek's avatar Pavel Jirásek
Browse files

Merged X11 and Using Cygwin

parent f48757f3
No related branches found
No related tags found
5 merge requests!368Update prace.md to document the change from qprace to qprod as the default...,!367Update prace.md to document the change from qprace to qprod as the default...,!366Update prace.md to document the change from qprace to qprod as the default...,!323extended-acls-storage-section,!61Content revision5
Pipeline #
Cygwin and X11 forwarding
=========================
**If no able to forward X11 using PuTTY to CygwinX**
```bash
[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](http://x.cygwin.com/docs/man1/startxwin.1.html)
locate
C:cygwin64binXWin.exe
change it
to
C:*cygwin64binXWin.exe -listen tcp*
![XWin-listen-tcp.png](../../../img/XWinlistentcp.png "XWin-listen-tcp.png")
2. Check Putty settings:
Enable X11 forwarding
![](../../../img/cygwinX11forwarding.png)
...@@ -52,7 +52,7 @@ There are variety of X servers available for Windows environment. The commercial ...@@ -52,7 +52,7 @@ There are variety of X servers available for Windows environment. The commercial
|How to use Xwin |How to use Xming | |How to use Xwin |How to use Xming |
| --- | --- | | --- | --- |
|[Install Cygwin](http://x.cygwin.com/) Find and execute XWin.exeto start the X server on Windows desktop computer.[If no able to forward X11 using PuTTY to CygwinX](cygwin-and-x11-forwarding/) |<p>Use Xlaunch to configure the Xming.<p>Run Xmingto start the X server on Windows desktop computer.| |[Install Cygwin](http://x.cygwin.com/) Find and execute XWin.exeto start the X server on Windows desktop computer.[If no able to forward X11 using PuTTY to CygwinX](#if-no-able-to-forward-x11-using-putty-to-cygwinx) |<p>Use Xlaunch to configure the Xming.<p>Run Xmingto start the X server on Windows desktop computer.|
Read more on [http://www.math.umn.edu/systems_guide/putty_xwin32.html](http://www.math.umn.edu/systems_guide/putty_xwin32.shtml) Read more on [http://www.math.umn.edu/systems_guide/putty_xwin32.html](http://www.math.umn.edu/systems_guide/putty_xwin32.shtml)
...@@ -140,3 +140,29 @@ $ gnome-session & ...@@ -140,3 +140,29 @@ $ gnome-session &
In this way, we run remote gnome session on the cluster, displaying it in the local X server In this way, we run remote gnome session on the cluster, displaying it in the local X server
Use System-&gt;Log Out to close the gnome-session Use System-&gt;Log Out to close the gnome-session
### If no able to forward X11 using PuTTY to CygwinX
```bash
[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](http://x.cygwin.com/docs/man1/startxwin.1.html)
locate
C:cygwin64binXWin.exe
change it
to
C:*cygwin64binXWin.exe -listen tcp*
![XWin-listen-tcp.png](../../../img/XWinlistentcp.png "XWin-listen-tcp.png")
2. Check Putty settings:
Enable X11 forwarding
![](../../../img/cygwinX11forwarding.png)
...@@ -25,7 +25,6 @@ pages: ...@@ -25,7 +25,6 @@ pages:
- OpenSSH Keys (UN*X): get-started-with-it4innovations/accessing-the-clusters/shell-access-and-data-transfer/ssh-keys.md - OpenSSH Keys (UN*X): get-started-with-it4innovations/accessing-the-clusters/shell-access-and-data-transfer/ssh-keys.md
- PuTTY (Windows): get-started-with-it4innovations/accessing-the-clusters/shell-access-and-data-transfer/putty.md - PuTTY (Windows): get-started-with-it4innovations/accessing-the-clusters/shell-access-and-data-transfer/putty.md
- X Window System: get-started-with-it4innovations/accessing-the-clusters/graphical-user-interface/x-window-system.md - X Window System: get-started-with-it4innovations/accessing-the-clusters/graphical-user-interface/x-window-system.md
- X Window System Using Cygwin: get-started-with-it4innovations/accessing-the-clusters/graphical-user-interface/cygwin-and-x11-forwarding.md
- VNC: get-started-with-it4innovations/accessing-the-clusters/graphical-user-interface/vnc.md - VNC: get-started-with-it4innovations/accessing-the-clusters/graphical-user-interface/vnc.md
- VPN Access: get-started-with-it4innovations/accessing-the-clusters/vpn-access.md - VPN Access: get-started-with-it4innovations/accessing-the-clusters/vpn-access.md
# - VPN-Connection-Fail-in-Win-8.1: get-started-with-it4innovations/accessing-the-clusters/shell-access-and-data-transfer/vpn-connection-fail-in-win-8.1.md # - VPN-Connection-Fail-in-Win-8.1: get-started-with-it4innovations/accessing-the-clusters/shell-access-and-data-transfer/vpn-connection-fail-in-win-8.1.md
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment