Skip to main content

Posts

Showing posts with the label Windows Subsystem for Linux

The easiest way to run GUI apps on Windows Subsystem for Linux

To Install WSL (Windows Subsystem for Linux) 1). Turn Windows features on or off 2). Enable Windows Subsystem for Linux 3). Restart Computer 4). Launch Microsoft Store 5). Search for Ubuntu 6). Select Ubuntu 18.04 under Apps 7). Click Get 8). Launch Ubuntu and wait for install To enable GUI mode in Ubuntu  Set username and password Run the following Commands: sudo apt-get update -y sudo apt-get install ubuntu-desktop -y sudo apt-get install xfce4 xorg xrdp -y sudo sed -i 's/port=3389/port=3390/g' /etc/xrdp/xrdp.ini Create and modify .xsession cd /home/user/ sudo vim .xsession Add text: gnome-session --session=ubuntu-2d Save and exit vi sudo chmod 755 .xsession sudo systemctl enable xrdp You will need a second account on Ubuntu (Give password as "password") sudo adduser remote sudo usermod -aG sudo remote Modify startwm.sh cd /etc/xrdp sudo chmod 777 startwm.sh vim startwm.sh Comment out the bottom two lines #test -x /etc/X11/Xsession &...