diff --git a/README.md b/README.md index 9ebd2b3..60fc3a1 100644 --- a/README.md +++ b/README.md @@ -152,7 +152,34 @@ To verify if everything worked, try to open the STM32CubeMX. Execute the followi ```(cmd) stm32cubemx ``` -If it does not work you may have to play around with the DISPLAY environment variable. +If it does not work you may have to play around with the DISPLAY environment variable. Check the following section. + +## Display + +If you run into this issue, you can try this solution from https://stackoverflow.com/a/44434831 + +```(cmd) +echo $DISPLAY +OUTPUT: +:1 +``` + +```(cmd) +xauth list +OUTPUT: +:1 MIT-MAGIC-COOKIE-1 +``` + +```(cmd) +export DISPLAY=:1 +``` + +```(cmd) +xhost +local:docker +OUTPUT: +non-network local connections being added to access control list +``` +Then return to Test the Setup section and check if everything is working correctly ## Add a new Repository