[slurm-users] About x11 support

Mahmood Naderan mahmood.nt at gmail.com
Mon Nov 19 08:51:26 MST 2018


With and without --x11, I am not able to see xclock on a compute node.

[mahmood at rocks7 ~]$ srun --x11 --nodelist=compute-0-3 -n 1 -c 6 --mem=8G -A
y8 -p RUBY xclock
srun: error: Cannot forward to local display. Can only use X11 forwarding
with network displays.
[mahmood at rocks7 ~]$ srun  --nodelist=compute-0-3 -n 1 -c 6 --mem=8G -A y8
-p RUBY xclock
Error: Can't open display: :1
srun: error: compute-0-3: task 0: Exited with exit code 1
[mahmood at rocks7 ~]$
[mahmood at rocks7 ~]$ rocks run host compute-0-3 "yum list libssh2-devel"
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Installed Packages
libssh2-devel.x86_64                 1.4.3-10.el7_2.1
@Rocks-7.0
Available Packages
libssh2-devel.i686                   1.4.3-10.el7_2.1
Rocks-7.0
[mahmood at rocks7 ~]$ rocks run host compute-0-3 "yum list xorg-x11-apps"
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Installed Packages
xorg-x11-apps.x86_64                    7.7-7.el7
@Rocks-7.0


The ssh config seems to be right



Regards,
Mahmood




On Mon, Nov 19, 2018 at 3:27 PM Chris Samuel <chris at csamuel.org> wrote:

> On Sunday, 18 November 2018 4:24:08 AM AEDT Mahmood Naderan wrote:
>
> >  >What does this command say?
> > >
> > >scontrol show config | fgrep PrologFlags
> >
> > [root at rocks7 ~]#  scontrol show config | fgrep PrologFlags
> > PrologFlags             = Alloc,Contain,X11
> >
> > That means x11 has been compiled in the code (while Werner created the
> > roll).
>
> No, that means that you've got the PrologFlags set in your slurm.conf, I'm
> afriad it doesn't mean Slurm is compiled with X11 support.
>
> > >Check your slurmd logs on the compute node.  What errors are there?
> >
> > In one terminal, I run the following command
> >
> > [mahmood at rocks7 ~]$ srun --nodelist=compute-0-5 -n 1 -c 6 --mem=8G -A
> y8 -p
> > RUBY xclock
> > Error: Can't open display :1
> > srun: error: compute-0-5: task 0: Exited with exit code 1
>
> You forgot the --x11 flag to srun!
>
> Can you try again with that flag please?
>
> All the best,
> Chris
> --
>  Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20181119/25c3a7e7/attachment.html>


More information about the slurm-users mailing list