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

X11 using WSL

parent 1051c22c
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,!206Vnc x11 updates
...@@ -7,13 +7,15 @@ The X Window system is a principal way to get GUI access to the clusters. The ** ...@@ -7,13 +7,15 @@ The X Window system is a principal way to get GUI access to the clusters. The **
## X Display ## X Display
### Linux Example
In order to display graphical user interface GUI of various software tools, you need to enable the X display forwarding. On Linux and Mac, log in using the -X option tho ssh client: In order to display graphical user interface GUI of various software tools, you need to enable the X display forwarding. On Linux and Mac, log in using the -X option tho ssh client:
```console ```console
local $ ssh -X username@cluster-name.it4i.cz local $ ssh -X username@cluster-name.it4i.cz
``` ```
## X Display Forwarding on Windows ### PuTTY on Windows
On Windows use the PuTTY client to enable X11 forwarding. In PuTTY menu, go to Connection-SSH-X11, mark the Enable X11 forwarding checkbox before logging in. On Windows use the PuTTY client to enable X11 forwarding. In PuTTY menu, go to Connection-SSH-X11, mark the Enable X11 forwarding checkbox before logging in.
...@@ -21,6 +23,15 @@ On Windows use the PuTTY client to enable X11 forwarding. In PuTTY menu, go to C ...@@ -21,6 +23,15 @@ On Windows use the PuTTY client to enable X11 forwarding. In PuTTY menu, go to C
Then log in as usual. Then log in as usual.
### WSL (Bash on Windows)
```console
local $ export DISPLAY=localhost:0.0
local $ ssh -X username@cluster-name.it4i.cz
```
## Verify the Forwarding
To verify the forwarding, type To verify the forwarding, type
```console ```console
...@@ -39,11 +50,11 @@ then the X11 forwarding is enabled. ...@@ -39,11 +50,11 @@ then the X11 forwarding is enabled.
In order to display graphical user interface GUI of various software tools, you need running X server on your desktop computer. For Linux users, no action is required as the X server is the default GUI environment on most Linux distributions. Mac and Windows users need to install and run the X server on their workstations. In order to display graphical user interface GUI of various software tools, you need running X server on your desktop computer. For Linux users, no action is required as the X server is the default GUI environment on most Linux distributions. Mac and Windows users need to install and run the X server on their workstations.
## X Server on OS X ### X Server on OS X
Mac OS users need to install [XQuartz server](https://www.xquartz.org). Mac OS users need to install [XQuartz server](https://www.xquartz.org).
## X Server on Windows ### X Server on Windows
There are variety of X servers available for Windows environment. The commercial Xwin32 is very stable and rich featured. The Cygwin environment provides fully featured open-source XWin X server. For simplicity, we recommend open-source X server by the [Xming project](http://sourceforge.net/projects/xming/). For stability and full features we recommend the There are variety of X servers available for Windows environment. The commercial Xwin32 is very stable and rich featured. The Cygwin environment provides fully featured open-source XWin X server. For simplicity, we recommend open-source X server by the [Xming project](http://sourceforge.net/projects/xming/). For stability and full features we recommend the
[XWin](http://x.cygwin.com/) X server by Cygwin [XWin](http://x.cygwin.com/) X server by Cygwin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment