<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">So, is it still possible to use spank even when the code is compiled for x11?</div><div class="gmail_default" style="font-family:tahoma,sans-serif">It seems that Rocks uses RSA keys. It also uses hostbasedauthentication.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">[root@rocks7 ~]# cd /etc/ssh/<br>[root@rocks7 ssh]# ls<br>authorized_keys  shosts.equiv  ssh_host_ecdsa_key      ssh_host_ed25519_key.pub  ssh_known_hosts<br>moduli           ssh_config    ssh_host_ecdsa_key.pub  ssh_host_rsa_key<br>RCS              sshd_config   ssh_host_ed25519_key    ssh_host_rsa_key.pub<br>[root@rocks7 ssh]# cd authorized_keys/<br>[root@rocks7 authorized_keys]# ls<br>id_rsa.pub<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Also ssh_known_hosts contains</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">compute-0-5 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCaWf7D+NY5gl6ibFcCRAY4Rt9kbTYAsFFJ7iiMCY1sAehWSs49Vy3rUrP/+et1i9doXzq/Yh00FdwO8cRUHO14zifnDJVbLRBuLhmfZTVACms6EzIC+HhhseDCqUSV64qrp0G/bGaHr18x59HvwyHgIqfUW+lCOj7GDXP0wy/ikMSr8PwRKgreq+HdpHbYI7D5WIQzvdo6gMwjKl4Srg+9AlBTLpB78lm8mRxCAqtiDfE8+PQxfovAuyd/Y8DURCNx1FRiXjI8XCnzv8M7QnhL/dBq4QZ6hQBmzIasJ1kHt/PFmQHJQnauvFI2TEQYMUVZ6eDEbx4IWjExvUrukrul 'rocks7-cluster-key'<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Does that mean everything is ok?</div><div class="gmail_default" style="font-family:tahoma,sans-serif">I wonder why the second command fails?</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">
<div class="gmail_default" style="font-family:tahoma,sans-serif">1)<br>[mahmood@rocks7 ~]$ srun --nodelist=rocks7 -n 1 -c 6 --mem=8G -A y8 -p RUBY xclock<br>Warning: Missing charsets in String to FontSet conversion<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">which shows the xclock<br><br>2)<br>[mahmood@rocks7 ~]$ srun --x11 --nodelist=rocks7 -n 1 -c 6 --mem=8G -A y8 -p RUBY xclock<span class="gmail-im"><br>srun: error: Cannot forward to local display. Can only use X11 forwarding with network displays.</span></div>

</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">
<span class="gmail_default" style="font-family:tahoma,sans-serif"></span>>Another thing is we had to set:<br>
>  * X11Parameters=local_xauthority <br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Where? sshd config file?<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div><div dir="ltr" class="gmail-m_5834167802996447569gmail_signature"><div dir="ltr"><font face="tahoma,sans-serif">Regards,<br>Mahmood</font><br><br><br></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 16, 2018 at 2:45 PM Bas van der Vlies <<a href="mailto:bas.vandervlies@surfsara.nl" target="_blank">bas.vandervlies@surfsara.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It is compile\d with `-x11` else you get an error message that the <br>
option is not supported.  As said it only supports RSA-keys (hardcoded <br>
in the src, libssh2 can handle more formats) and you must use short <br>
hostnames. <span class="gmail_default" style="font-family:tahoma,sans-serif"></span>Another thing is we had to set:<br>
  * X11Parameters=local_xauthority<br>
<br>
because we have autofs enabled home dirs.<br>
<br>
regards<br>
<br>
</blockquote></div></div>