From 8c6babc7efc2f80ea49df3e77607ab1807a88a19 Mon Sep 17 00:00:00 2001 From: Jan Siwiec <jan.siwiec@vsb.cz> Date: Thu, 9 Jul 2020 12:43:59 +0200 Subject: [PATCH] Update x-window-system.md --- .../graphical-user-interface/x-window-system.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 47fcc5e42..5516a90b0 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 @@ -17,7 +17,7 @@ In order to display the GUI of various software tools, you need to enable the X ### 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_ and check the _Enable X11 forwarding_ checkbox before logging in.  @@ -25,7 +25,7 @@ Then log in as usual. ### WSL (Bash on Windows) -In order to display the GUI of various software tools, you need to enable the X display forwarding. Log in using the -X option in the SSH client: +In order to display the GUI of various software tools, you need to enable the X display forwarding. Log in using the `-X` option in the SSH client: ```console local $ ssh -X username@cluster-name.it4i.cz @@ -77,7 +77,7 @@ Read more [here][h]. !!! note Make sure that X forwarding is activated and the X server is running. -Then launch the application as usual. Use the & to run the application in background: +Then launch the application as usual. Use the `&` to run the application in background: ```console $ ml intel (idb and gvim not installed yet) @@ -92,15 +92,15 @@ In this example, we activate the Intel programing environment tools and then sta ## GUI Applications on Compute Nodes -Allocate the compute nodes using -X option on the qsub command: +Allocate the compute nodes using the `-X` option on the `qsub` command: ```console $ qsub -q qexp -l select=2:ncpus=24 -X -I ``` -In this example, we allocate 2 nodes via qexp queue, interactively. We request X11 forwarding with the -X option. It will be possible to run the GUI enabled applications directly on the first compute node. +In this example, we allocate 2 nodes via qexp queue, interactively. We request X11 forwarding with the `-X` option. It will be possible to run the GUI enabled applications directly on the first compute node. -For **better performance**, log on the allocated compute node via SSH, using the -X option. +For **better performance**, log on the allocated compute node via SSH, using the `-X` option. ```console $ ssh -X r24u35n680 @@ -121,7 +121,7 @@ xserver-xephyr, on OS X it is part of [XQuartz][i]. First, launch Xephyr on loca local $ Xephyr -ac -screen 1024x768 -br -reset -terminate :1 & ``` -This will open a new X window of size 1024x768 at DISPLAY :1. Next, connect via SSH to the cluster with the DISPLAY environment variable set and launch a gnome-session: +This will open a new X window of size 1024x768 at DISPLAY :1. Next, connect via SSH to the cluster with the `DISPLAY` environment variable set and launch a gnome-session: ```console local $ DISPLAY=:1.0 ssh -XC yourname@cluster-name.it4i.cz -i ~/.ssh/path_to_your_key -- GitLab