From 0e98ee6d8d9d6d0e137643097e31518ed5804492 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Sl=C3=ADva?= <roman.sliva@vsb.cz> Date: Tue, 19 Sep 2023 12:34:53 +0200 Subject: [PATCH] Update x-window-system.md --- .../graphical-user-interface/x-window-system.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 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 cc041f9ff..787a1d0a6 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 @@ -99,21 +99,21 @@ In this example, we activate the Intel programing environment tools and then sta ## GUI Applications on Compute Nodes -Allocate the compute nodes using the `-X` option on the `qsub` command: +Allocate the compute nodes using the `--x11` option on the `salloc` command: ```console -$ qsub -q qexp -l select=2:ncpus=24 -X -I +$ salloc -A PROJECT-ID -q qcpu_exp --x11 ``` -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 one node via qcpu_exp queue, interactively. We request X11 forwarding with the `--x11` 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. ```console -$ ssh -X r24u35n680 +$ ssh -X cn245 ``` -In this example, we log on the r24u35n680 compute node, with the X11 forwarding enabled. +In this example, we log on the cn245 compute node, with the X11 forwarding enabled. ## Gnome GUI Environment @@ -143,7 +143,7 @@ xinit /usr/bin/ssh -XT -i .ssh/path_to_your_key yourname@cluster-namen.it4i.cz g ``` However, this method does not seem to work with recent Linux distributions and you will need to manually source -/etc/profile to properly set environment variables for PBS. +/etc/profile to properly set environment variables for Slurm. ### Gnome on Windows -- GitLab