![]() If these values are not set, you must configure them and restart the SSHD service. Important are following setings x11forwarding yes, x11uselocalhost yes and allowtcpforwarding yes. You might want to check your SSH configuration for X11 on the Jetson Nano first. Now start the SSH connection to the Jetson Nano ( while XQuarts is running in the background). It shouldn’t need anything other than starting XQuarts. Of course, if you prefer to use a package manager like Homebrew, that’s also possible! If you do not have to log in again automatically after the installation, carry out this step yourself! That’s pretty much it. To do this, download the latest version ( as DMG) from the official site and run the installation. If you haven’t done it, install XQuartz on your macOS now. However, the other sections are independent of the operating system. If you are a user of another operating system, search the Internet for the relevant solution for the “Preparation” section. Since I use macOS myself, this tutorial will also be based on this. Note: If you like to use the GUI, you can jump directly to section “Python & OpenCV” and adapt necessary steps. 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. ![]() After an OS update including a restart of the system, an error occurs with SSH X11 forwarding.
0 Comments
Leave a Reply. |