Help:SSH

The home directories are mounted read-only on the compute nodes, hence the message:

/usr/bin/xauth: error in locking authority file /home/jbernard/.Xauthority

You can force the ".Xauthority" file to be located in your scratch directory thru an "environment" file, refering to the latter:

jmenu@bellatrix:~/.ssh > ll environment 0 -rw-r--r-- 1 jmenu dit-ex 38 Feb 5 14:50 environment

jmenu@bellatrix:~/.ssh > cat environment XAUTHORITY=/scratch/jmenu/.Xauthority