Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 842 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 842 Bytes

wsl_xserver

Scripts for enabling gnome desktop in wsl ubuntu.

Prerequisities

To make it work you need to have default Ubuntu 18.04 or Ubuntu 20.04 in WSL version 2.

wsl -l -v

VcxSrv needs to be installed in default path e.g. c:\program files\vcxsrv\

To install vcxsrv via https://chocolatey.org

choco install vcxsrv

Installation

Run installation script as administrator

Start-Process powershell -verb runas -ArgumentList $("-file " + $(Join-Path (Get-Location) "install.ps1")) 

Public TCP Firewall rule for 'VcXsrv windows xserver' needs to be disabled manually.

Start xserver with shortcut Ubuntu.lnk created on your desktop. Disable lock screen in terminal opened from gnome-session execute

gsettings set org.gnome.desktop.lockdown disable-lock-screen true