Hmm...
I found out some more interesting things:
It does not work, if I do
$> srun --x11 xterm
the error is:
X11 connection rejected because of wrong authentication.
/usr/bin/xterm: Xt error: Can't open display: localhost:77.0
srun: error: linuxbmc0253: task 0: Exited with exit code 1
but the following is functional:
$> salloc srun --x11 xterm
yet I get an "error:
srun: error: Ignoring --x11 option for a job step within an existing
job. Set x11 options at job allocation time.
Ok, so I thought, use --x11 on salloc:
$> salloc --x11 srun xterm
X11 connection rejected because of wrong authentication.
/usr/bin/xterm: Xt error: Can't open display: localhost:51.0
srun: error: linuxbmc0253: task 0: Exited with exit code 1
neither does additionally adding --x11 to srun:
$> salloc --x11 srun --x11 xterm
srun: error: Ignoring --x11 option for a job step within an existing
job. Set x11 options at job allocation time.
X11 connection rejected because of wrong authentication.
/usr/bin/xterm: Xt error: Can't open display: localhost:57.0
srun: error: linuxbmc0253: task 0: Exited with exit code 1
any comments welcome ...
Best
Marcus