[slurm-users] x11 requires root write access to .Xauthority

Marco Ehlert Marco.Ehlert at mpikg.mpg.de
Tue May 15 01:37:53 MDT 2018


Hi,

in slurm 17.11.5 I just realized that slurmstepd tries to add the X11 
magic cookie into .Xauthority inside root context in order to make x11 
natively work.

The filesystem has to be configured to allow this. I did this 
now, but I am wondering why it could not be done in the user's context the 
same way as the ssh daemon is doing.

Best,
Marco

IT-Support                        <Marco.Ehlert at mpikg.mpg.de>
Max-Planck-Institute of Colloids  Tel:  +49-(0)331-567-9650
and Interfaces                    Fax:  +49-(0)331-567-9612
Am Muehlenberg 1, D-14476, Golm, Germany

On Tue, 15 May 2018, Ian Mortimer wrote:

> On Mon, 2018-05-14 at 23:14 +0430, Mahmood Naderan wrote:
>
>> I see --x11 option in [1], but there isn't any such option. Is that
>> for old versions? Also, there is a wrapper [2] for srun.x11. Is there
>> any builtin x11 support in slurm?
>
> There is native X11 support in slurm but after testing it and reading
> the list archives, I decided it wasn't reliable enough to use in
> production and reverted to using the spank plugin which does work
> reliably.
>
> Are you using rocks?  I can send some instructions for installing the
> X11 spank plugin on rocks if you're interested.
>
>
> Regards
> -- 
> Ian



More information about the slurm-users mailing list