[slurm-users] X11 forwarding, slurm-22.05.3, hostbased auth
Allan Streib
astreib at indiana.edu
Mon Oct 10 17:02:04 UTC 2022
Yes, 'salloc --x11' followed by 'ssh -X' to the allocated node works.
'hostname' command gives me the short hostname. However /etc/localhost
contains 'localhost' not the short hostname. I will experiement with
that.
These nodes are all running Ubuntu 20.04 LTS by the way.
Allan
Tina Friedrich <tina.friedrich at it.ox.ac.uk> writes:
> I remember having problems in that it worked via SSH - did you check
> that (i.e. if you 'ssh -X' to a node it works?) - but not via SLURM.
>
> That seemed to be authorization, and the way the SLURM inbuild method
> generated the magic cookies - it couldn't cope with the node hostname
> being it's FQDN, it needed it to be the short hostname. I 'fixed' it by
> changing all the nodes' hostnames to short format :) (CentOS uses long
> by default, but it's not as if I really care).
>
> Tina
>
--
Allan Streib
Luddy School of Informatics, Computing, and Engineering
Indiana University
More information about the slurm-users
mailing list