[slurm-users] Slurm 19.05 X11-forwarding

Ryan Novosielski novosirj at rutgers.edu
Tue Feb 25 20:23:19 UTC 2020


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I seem to remember there being a config option to specify rewriting
the hostname as well. I thought it was part of X11Parameters, but I
only see one option there:

https://slurm.schedmd.com/archive/slurm-19.05-latest/slurm.conf.html

On 2/25/20 10:55 AM, Tina Friedrich wrote:
> I remember having issues when I set up X forwarding that had to do
> with how the host names were set on the nodes. I had them set
> (CentOS default) to the fully qualified hostname, and that didn't
> work - with an error message very similar to what you're getting,
> if memory serves right. 'Fixed' it by setting the hostnames on all
> my cluster nodes to the short version.
>
> What does 'xauth list' give you on your nodes (and the machine
> you're coming from)?
>
> This is/was SLURM 18.08 though, not sure if that makes a
> difference.
>
> Tina
>
> On 25/02/2020 04:55, Pär Lundö wrote:
>> 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-bounces at lists.schedmd.com> On Behalf Of Patrick
>> Goetz Sent: den 24 februari 2020 21:38 To:
>> slurm-users at 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>
>>>
>>>
>>

- -- 
 ____
 || \\UTGERS,     |----------------------*O*------------------------
 ||_// the State  |    Ryan Novosielski - novosirj at rutgers.edu
 || \\ University | Sr. Technologist - 973/972.0922 ~*~ RBHS Campus
 ||  \\    of NJ  | Office of Advanced Res. Comp. - MSB C630, Newark
      `'
-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQST3OUUqPn4dxGCSm6Zv6Bp0RyxvgUCXlWCNgAKCRCZv6Bp0Ryx
vjTSAJ9S7WA/rYjw5ylOljq9IpPqwTsHKACfbn/nnGJvE+QHvJoJ2djkkCQjMok=
=Ju41
-----END PGP SIGNATURE-----



More information about the slurm-users mailing list