Views:
10,104β
Votes: 2β
Tags:
gnome
vnc
windows-subsystem-for-linux
tightvncserver
yad
Link:
π See Original Answer on Ask Ubuntu β§ π
URL:
https://askubuntu.com/q/1134063
Title:
Default Ubuntu Desktop with TightVnc and Windows Linux Subsystem
ID:
/2019/04/15/Default-Ubuntu-Desktop-with-TightVnc-and-Windows-Linux-Subsystem
Created:
April 15, 2019
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
I use VcXsrv because itβs free and is frequently updated. See my answer here:
The important thing is to install it accepting the defaults and then (for me) to edit /etc/environment
and change this:
PATH="/mnt/e/bin:/mnt/e/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:"
to this:
PATH="/mnt/e/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
export LIBGL_ALWAYS_INDIRECT=Yes
export DISPLAY=localhost:0.0
- Adding
/mnt/e/bin:
at beginning of path is only important for shared scripts stored on NTFS partition that both Ubuntu natively runs and WSL Bash runs. - export
LIBGGL...
is important for GUI to paint properly -
export
DISPLAY...
is important for X-Server to run properly Then I can useyad
andzenity
for all my GUI scripts.