

In addition, it is shown how to use this remote via SSH/X11 Forward ( headless). In this part you will learn how to recognize faces in pictures. In the two previous steps you installed the Jetson nano operating system and installed the necessary hardware pereferie. Steffen Lorenz macOS, SSH, Ubuntu, X11, XQuartz First steps with Jetson Nano 2GB Developer Kit (Part 3) The good thing is I learned a lot about xhost, xauth plus my own systems. % echo % ssh -C4Y xeyesĮverything is all right again. # I deleted all old macports % sudo reboot With the restart of my macOS, this export of the environment variable became active again, of course. zprofile file, which set the local environment variable $DISPLAY. In the end my problem was very easy to solve! I still had entries from already deleted macports in the. With me ( also due to the ignorance on my part) the first signs of despair are appearing! Trust me, I deleted also all recommended files, what did not change this situation.

I’ve also read the man pages where it even says that the environment variable $DISPLAY should not be changed. Some of the suggested solutions are total nonsense ( or I completely misunderstand). Searching the internet didn’t really help me. This solution also works but is not permanent and not secure. Non-network local connections being added to access control % ssh -C4Y exit % xhostĪccess control enabled, only authorized clients can % xhost +local: Additionally I allowed local connections in the access control. But even with this solution I have my doubts! So I undo the setting and restart XQuartz.Īs described in the previous step, I undid the setting and restarted XQuartz. % xhostĪccess control enabled, only authorized clients can % ssh -C4Y exit Restart XQuartz, establish a new connection. Open the XQuartz settings and uncheck the respective checkbox. This solution is permanent and can be set up in the simplest way. XQuartz offers the possibility to establish the connection without authentication. As soon as I end the connection, restart XQuartz and establish a new SSH connection, the error message appears again. This setting is ( fortunately) only valid for this one session. % xhost +Īccess control disabled, clients can connect from any % ssh -C4Y exit Since I’m on my own and relatively secure network, I leave XQuartz running in the background, disable access control, reconnect and everything works again. Invalid MIT-MAGIC-COOKIE-1 keyError: Can't open display: exit I connect to the Ubuntu with my macOS and get the error message. Instead of displaying the windows as usual, “Invalid MIT-MAGIC-COOKIE-1” is displayed in the terminal.
Xquartz big sur update#
After an OS update including a restart of the system, an error occurs with SSH X11 forwarding.
