You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(OPTIONAL) Install desktop env and GUI on port 3390. I used XRDP instead of VcxSrv because of issues while setting up the latter. Use Windows RDP to connect to the ipaddr of WSL
sudo apt install xrdp xfce4 xfce4-goodies
sudo cp /etc/xrdp/xrdp.ini /etc/xrdp/xrdp.ini.bak
sudo sed -i 's/3389/3390/g' /etc/xrdp/xrdp.ini
sudo sed -i 's/max_bpp=32/#max_bpp=32\nmax_bpp=128/g' /etc/xrdp/xrdp.ini
sudo sed -i 's/xserverbpp=24/#xserverbpp=24\nxserverbpp=128/g' /etc/xrdp/xrdp.ini
echo xfce4-session >~/.xsession
sudo nano /etc/xrdp/startwm.sh # Comment out last two lines, add startxfce4
sudo /etc/init.d/xrdp start