Added Display section for troubleshooting

This commit is contained in:
hamza 2024-10-04 14:35:10 +00:00
parent e3f48009c0
commit ad1438f906
1 changed files with 28 additions and 1 deletions

View File

@ -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:
<device>:1 MIT-MAGIC-COOKIE-1 <secret>
```
```(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