Starts graphical desktop on WSL Ubuntu (on Windows 10) and setup VNC or, alternatively, X Window remote session.
Based on following tutorials:
Currently uses lightweight XFCE4 desktop. Requires at least 800Mb of free space on host machine.
- Install X Window client on Windows 10 host, like VcXsrv or some other.
- Setup
display numberparameter equal to 1 in X Windows client. - Start X Windows client session on host Win10.
- Clone this repo to
~/within WSL. - Launch
./XFCE4_through_XWin.shfrom repository folder in WSL terminal. First time it takes 1-2 minutes to install xfce4.
- Install some VNC viewer on Windows 10 host, like RealVNC VNC Viewer or some other.
- Clone this repo to
~/within WSL. - Launch
./XFCE4_through_VNC.shfrom repository folder in WSL terminal. - Try to connetc with VNC Viewer on host Win10 to VNC stream at
localhost:5901or127.0.0.1:5901.