Hi, Thank you for your reply Patrick. I´ve tried that but I still get the error stating that the magic cookie could not be retrieved. Reading Tim´s answer, this bug should have been fixed in a release following 18.08, but I´m using 19.05 thus it should have been taken care of?
Best regards, Pär Lundö -----Original Message----- From: slurm-users <slurm-users-boun...@lists.schedmd.com> On Behalf Of Patrick Goetz Sent: den 24 februari 2020 21:38 To: slurm-users@lists.schedmd.com Subject: Re: [slurm-users] Slurm 19.05 X11-forwarding This bug report appears to address the issue you're seeing: https://bugs.schedmd.com/show_bug.cgi?id=5868 On 2/24/20 4:46 AM, Pär Lundö wrote: > > Dear all, > > I started testing and evaluating Slurm roughly a year ago and used it > succesfully with MPI-programs. > I have now identified that I need to use X-forwarding in order to make > use of an application needed to run a GUI. > However I seem not to be able to use the "X11Forwarding" in Slurm.conf > with any sucess. > A simple test with srun as "srun - -x11 <script-to-start>", yields an > error stating: > "srun: error: x11_get_xauth: Could not retrieve magic cookie. Cannot > use > X11 forwarding." > I'm guessing that there some additional setting I'm missing out on. > 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. > I have used the "export=DISPLAY, HOME" as an additional argument for > srun but without any progress. > Anyone with similiar problem who can aid or advice me on howto use the > X11Forward feature? > Any help is much appreciated. > > I am running Slurm 19.05 and Ubuntu 18.10. > > Best regards, > Pär Lundö > > This message is from an external sender. Learn more about why this > matters. > <https://ut.service-now.com/sp?id=kb_article&number=KB0011401> > >