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.friedr...@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

Reply via email to