Monday, January 22, 2018

install xwindows and xfce4 on Windows 10 + Ubuntu (creators version)


However, you can install graphical Linux applications and run these under WSL if you have an X server like VcXsrv or Xming, on your Windows machine. 

https://solarianprogrammer.com/2017/04/16/windows-susbsystem-for-linux-xfce-4/


a bit from the above link

1 sudo apt install xfce4
Next, you will need to modify the .bashrc file. There are a few text editors that work under WSL. I suggest to use vim or nano, e.g.:
1 cd ~
2 nano .bashrc
The second command from above will open .bashrc in nano and you can scroll to the end of the file and write:
1 export DISPLAY=:0.0
Save the modified file by pressing CTRL+X and answering Y when asked if you want to save the file. Close and restart the console window.
Next, you will need to install an X server for Windows. I suggest VcXsrv which works well with WSL. Download and start the installer, you can safely accept the default settings.

https://sourceforge.net/projects/vcxsrv/

https://sourceforge.net/projects/xming/

No comments:

Post a Comment