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?
1 Like
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?
local terminal but is that command in some way making it think its a remote client?
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.
1 Like
ok, what is lightdm and why does it work and why isn’t installed? (just curious)