0

When running mpi programs I got a message saying: "Invalid MIT-MAGIC-COOKIE-1 key"

I switched to the X.Org driver and the message disappeared.

I switched back to NVidia 470 (the one I had before) and the message disappeared but I lost the connection to my external monitor.

Upon switching back to NVidia I was asked for a secure boot password. When restarting the system (in the MOK window) I choose to continue boot. Was this correct?

How can I fix this situation?

Thanks in advance

Manuel Oliveira
  • 123
  • 1
  • 6
  • No, it wasn't correct and what you're seeing is the direct consequence of the Nividia driver not being loaded. If you aren't dual-booting with Windows 11 just disable Secure Boot in UEFI. – ChanganAuto Nov 23 '21 at 11:19
  • Should I have enrolled MOK? If that is the case I can reswitch – Manuel Oliveira Nov 23 '21 at 12:11
  • I re-switched, got the monitor back.. but now I have the "Invalid MIT-MAGIC-COOKIE-1 key" again – Manuel Oliveira Nov 23 '21 at 12:24
  • https://ubuntuforums.org/showthread.php?t=2392377 and https://bbs.archlinux.org/viewtopic.php?id=206743 and https://www.linuxquestions.org/questions/linux-newbie-8/invalid-mit-magic-cookie-1-keyinvalid-mit-magic-cookie-1-when-trying-x11-forwarding-4175504689/ – ChanganAuto Nov 23 '21 at 13:00
  • Again, just disable Secure Boot if you aren't dual-booting with Windows 11. Otherwise yes, you must enroll MOK. Check what you've been installing that might have changed permissions and everything else mentioned in the links above. – ChanganAuto Nov 23 '21 at 13:02
  • The link above appear to work with remote machines. I am running mpi programs locally. The most similar problem I found is here: https://askubuntu.com/questions/1340333/invalid-mit-magic-cookie-1-using-mpirun-in-local-no-reomte-x-connections. However it does not have a solution yet – Manuel Oliveira Nov 23 '21 at 13:16

0 Answers0