Added Display section for troubleshooting
This commit is contained in:
parent
e3f48009c0
commit
ad1438f906
29
README.md
29
README.md
|
@ -152,7 +152,34 @@ To verify if everything worked, try to open the STM32CubeMX. Execute the followi
|
||||||
```(cmd)
|
```(cmd)
|
||||||
stm32cubemx
|
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
|
## Add a new Repository
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue