Discussion - Adding a screen to the robot (Making a Mobile Robot Pt 17)

This is the discussion topic for the video and blog post linked above. Please keep all replies relevant to the content, otherwise create a new topic.

1 Like

Hello Josh. I am struggling here. I tried to flip the screen using the command you suggested but it fails as follows:

$ DISPLAY=:0 xrandr -o inverted
Invalid MIT-MAGIC-COOKIE-1 keyCan't open display :0

Any ideas?

I was trying to do it from the desktop through ssh before logging in in the GUI of the robot and it seems it would only work after you log in: xorg - X11: Invalid MIT-MAGIC-COOKIE-1 key - Ask Ubuntu so I enabled automatic login for my user, following these instructions: Enable or Disable Automatic Login in Ubuntu 20.04

Ah yes of course, I’m glad you got it figured out!

In case other people have this error, and that doesn’t fix it, here are some other things to try.