<div dir="ltr">Did you compile SLURM with x11 support?<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El jue, 22 abr 2021 a las 15:21, Luis R. Torres (<<a href="mailto:lrtorres@gmail.com">lrtorres@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Folks,</div><div><div><br></div><div>I'm currently running a small but powerful 10 node cluster where we require the scheduling of certain graphical apps.  Our SLURM version is 20.11.0, half our nodes are RHEL7 and the other half Ubuntu 18.04.</div><div><br></div><div>Our slurm config related to x11 is:</div><div>





<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">PrologFlags=</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(180,36,25)"><b>x</b></span><span style="font-variant-ligatures:no-common-ligatures">11</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(180,36,25)"><b>X</b></span><span style="font-variant-ligatures:no-common-ligatures">11Parameters=home_</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(180,36,25)"><b>x</b></span><span style="font-variant-ligatures:no-common-ligatures">authority</span></p></div><div><br></div><div>We get the following error when attempting to use forwarding using SLURM</div><div><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><br></span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">srun --nodelist=node01 --x11 xeyes</span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">X11 connection rejected because of wrong authentication.</span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Error: Can't open display: localhost:78.0</span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">srun: error: node01: task 0: Exited with exit code 1</span></p></div><div><br></div><div>The steps we take are:</div><div>ssh -X user@login-node</div><div>[user@login-node]$ srun --nodelist=node01 --x11 xeyes</div><div><br></div><div>No user accounts are allowed to SSH directly into execution nodes, only a few special user accounts, however, those accounts have issues when using --x11 but have NO issues when connecting directly (and forwarding) to the execution nodes.</div><div><br></div><div>We went through this group to determine if anyone else has had similar issues resolved but I didn't find anything other than some recommendations.  Has someone actually resolved this particular (or very similar) issue?</div><div><br></div><div>Our sshd_config is as follows:</div><div><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(193,101,28)"><span style="font-variant-ligatures:no-common-ligatures">X11Forwarding</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"> </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(46,174,187)">yes</span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(193,101,28)"><span style="font-variant-ligatures:no-common-ligatures">X11DisplayOffset</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"> </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(180,36,25)">10</span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(193,101,28)"><span style="font-variant-ligatures:no-common-ligatures">X11UseLocalhost</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"> </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(46,174,187)">no</span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(193,101,28)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(46,174,187)"><br></span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo"><font color="#000000"><span style="font-variant-ligatures:no-common-ligatures">Our cluster is configured with SlurmUser=slurm, not root.</span></font></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(193,101,28)"><br></p></div></div><div>Thanks,</div>-- <br><div dir="ltr"><div dir="ltr"><div>----------------------------------------<br>Luis R. Torres<br></div></div></div></div>
</blockquote></div>