Closed LuckyJosh closed 2 years ago
Just recently I added the following condition to my wsl .bashrc:
wsl
.bashrc
if ! xhost >& /dev/null ; then echo -e "\033[31;1mDisplay ($DISPLAY) not found\033[0m: You might want to turn on the XServer" ; fi
If the XServer is not running it will show as the first line in every new terminal:
The red/bold formatting is just my personal preference.
Should we add this to the Win10-instructions?
I like it.
Additionally we could add instructions to place the XServer in the AutoStart list.
Even better 👍
Just recently I added the following condition to my
wsl
.bashrc
:If the XServer is not running it will show as the first line in every new terminal:
The red/bold formatting is just my personal preference.
Should we add this to the Win10-instructions?