When I run a mpirun comand in my Ubuntu 20.04 LTS I get the error Invalid MIT-MAGIC-COOKIE-1 key
I tried different procedures found in the forums and I also reinstalled my invidia drivers. Nothing worked. The problem is in the local system, I'm not using ssh connections and I do not have a .Xauthority file.
For example if I run: /usr/bin/mpirun -n 1 echo "HelloWorld"
I get: Invalid MIT-MAGIC-COOKIE-1 keyHelloWorld
This is annoying because when I want to redirect the output on a file I have this message in every row of a mpi comand.
How can I solve this? Thanks, Nabla