<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css">html {-webkit-touch-callout: none;-webkit-text-size-adjust: none;}body {overflow: hidden;font-family: sans-serif;font-size: 15px;line-height: 21px;margin: 8px;word-wrap: break-word;}</style>
</head>
<body style="margin-top: 8px;">
<div style="font-size:11.0pt;font-family:Calibri,Tahoma,Arial,Helvetica,sans-serif;color:black;" dir="ltr">
<br>
Dear all, </div>
<div style="font-size:11.0pt;font-family:Calibri,Tahoma,Arial,Helvetica,sans-serif;color:black;" dir="ltr">
<br>
</div>
<div style="font-size:11.0pt;font-family:Calibri,Tahoma,Arial,Helvetica,sans-serif;color:black;" dir="ltr">
I started testing and evaluating Slurm roughly a year ago and used it succesfully with MPI-programs. 
</div>
<div style="font-size:11.0pt;font-family:Calibri,Tahoma,Arial,Helvetica,sans-serif;color:black;" dir="ltr">
I have now identified that I need to use X-forwarding in order to make use of an application needed to run a GUI.
</div>
<div style="font-size:11.0pt;font-family:Calibri,Tahoma,Arial,Helvetica,sans-serif;color:black;" dir="ltr">
However I seem not to be able to use the ”X11Forwarding” in Slurm.conf with any sucess.
</div>
<div style="font-size:11.0pt;font-family:Calibri,Tahoma,Arial,Helvetica,sans-serif;color:black;" dir="ltr">
A simple test with srun as ”srun - -x11 <script-to-start>”, yields an error stating:
</div>
<div style="font-size:11.0pt;font-family:Calibri,Tahoma,Arial,Helvetica,sans-serif;color:black;" dir="ltr">
”srun: error: x11_get_xauth: Could not retrieve magic cookie. Cannot use X11 forwarding.”
</div>
<div style="font-size:11.0pt;font-family:Calibri,Tahoma,Arial,Helvetica,sans-serif;color:black;" dir="ltr">
I’m guessing that there some additional setting I’m missing out on.  </div>
<div style="font-size:11.0pt;font-family:Calibri,Tahoma,Arial,Helvetica,sans-serif;color:black;" dir="ltr">
Searching through documentation does not reveal anything  extraordinary to be performed with the X11-forwarding. I have searched bug-reports and found similiar problems but fixes have been implemented in Slurm-versions prior to the one I am using. In addition
 users have been reporting that the implementation made by Slurm, now have fixed their issues.
</div>
<div style="font-size:11.0pt;font-family:Calibri,Tahoma,Arial,Helvetica,sans-serif;color:black;" dir="ltr">
I have used the ”export=DISPLAY, HOME” as an additional argument for srun but without any progress.
</div>
<div style="font-size:11.0pt;font-family:Calibri,Tahoma,Arial,Helvetica,sans-serif;color:black;" dir="ltr">
Anyone with similiar problem who can aid or advice me on howto use the X11Forward feature?
</div>
<div style="font-size:11.0pt;font-family:Calibri,Tahoma,Arial,Helvetica,sans-serif;color:black;" dir="ltr">
Any help is much appreciated. </div>
<div style="font-size:11.0pt;font-family:Calibri,Tahoma,Arial,Helvetica,sans-serif;color:black;" dir="ltr">
<br>
</div>
<div style="font-size:11.0pt;font-family:Calibri,Tahoma,Arial,Helvetica,sans-serif;color:black;" dir="ltr">
I am running Slurm 19.05 and Ubuntu 18.10.  </div>
<div style="font-size:11.0pt;font-family:Calibri,Tahoma,Arial,Helvetica,sans-serif;color:black;" dir="ltr">
<br>
</div>
<div style="font-size:11.0pt;font-family:Calibri,Tahoma,Arial,Helvetica,sans-serif;color:black;" dir="ltr">
Best regards, </div>
<div style="font-size:11.0pt;font-family:Calibri,Tahoma,Arial,Helvetica,sans-serif;color:black;" dir="ltr">
Pär Lundö </div>
</body>
</html>