Trying to find TF version and getting "Invalid MIT-MAGIC-COOKIE-1..." - DeepTalk - Deep Learning Community
Trying to find TF version and getting “Invalid MIT-MAGIC-COOKIE-1…”
post by votbod on Aug 2, 2020
completely new tensorbook with ubuntu. opened terminal. ran python -c ‘import tensorflow as tf; print(tf. version)’ and got Invalid MIT-MAGIC-COOKIE-1 key2.2.0. Why didn’t the command work?
post by jeremy on Aug 5, 2020
That’s interesting. I usually only see those error messages when using Tensorflow over SSH.
For whatever reason, Tensorflow 2 attempts to open an X window. When it fails, it may print an error message like that.
Is this happening over SSH or just in your local terminal?
post by votbod on Aug 6, 2020
local terminal but is that command in some way making it think its a remote client?
post by jeremy on Sep 2, 2020
It seems that the Invalid MIT-MAGIC-COOKIE-1 key message doesn’t pop up at all when using lightdm.
To switch to lightdm, run:
sudo apt -y install lightdm
Once that installs, run the following, and select lightdm:
sudo dpkg-reconfigure lightdm
Then reboot.
post by fkx on Apr 15, 2021
ok, what is lightdm and why does it work and why isn’t installed? (just curious)