[slurm-users] About x11 support
Mahmood Naderan
mahmood.nt at gmail.com
Mon Nov 19 08:53:57 MST 2018
Excuse me, the last email was mistakenly sent.
The ssh config seems to be fine
[root at rocks7 ~]# grep X11 /etc/ssh/sshd_config
X11Forwarding yes
X11UseLocalhost no
Werner,
I am running that command on TTY. As you can see, I can run xclock while
sshing to the node
[mahmood at rocks7 ~]$ ssh -Y compute-0-3
Last login: Mon Nov 19 19:23:07 2018 from rocks7.local
Rocks Compute Node
Rocks 7.0 (Manzanita)
Profile built 10:57 15-Nov-2018
Kickstarted 11:17 15-Nov-2018
[mahmood at compute-0-3 ~]$ xclock
Warning: Missing charsets in String to FontSet conversion
^C
[mahmood at compute-0-3 ~]$
That ^C means the terminal was blocked while xclock was running.
Regards,
Mahmood
On Mon, Nov 19, 2018 at 7:21 PM Mahmood Naderan <mahmood.nt at gmail.com>
wrote:
> 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/58bac7c2/attachment.html>
More information about the slurm-users
mailing list