diff --git a/docs.it4i/general/accessing-the-clusters/graphical-user-interface/x-window-system.md b/docs.it4i/general/accessing-the-clusters/graphical-user-interface/x-window-system.md index fd24099552c23b8c56be5b0c995d0f0995b19744..58a827ce8a772e29c4ed559c60d5df80c55774ef 100644 --- a/docs.it4i/general/accessing-the-clusters/graphical-user-interface/x-window-system.md +++ b/docs.it4i/general/accessing-the-clusters/graphical-user-interface/x-window-system.md @@ -7,13 +7,15 @@ The X Window system is a principal way to get GUI access to the clusters. The ** ## 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: ```console 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. @@ -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. +### 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 ```console @@ -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. -## X Server on OS X +### X Server on OS X 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 [XWin](http://x.cygwin.com/) X server by Cygwin