Score:0

Switched driver, lost monitor

cn flag

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

ChanganAuto avatar
us flag
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.
Manuel Oliveira avatar
cn flag
Should I have enrolled MOK? If that is the case I can reswitch
Manuel Oliveira avatar
cn flag
I re-switched, got the monitor back.. but now I have the "Invalid MIT-MAGIC-COOKIE-1 key" again
ChanganAuto avatar
us flag
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 avatar
us flag
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.
Manuel Oliveira avatar
cn flag
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
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.