Using Gnome Desktop on Windows WSL version of ubuntu

4

For Windows 10 Pro 64 Bit, is there a way to install the Gnome Desktop in the Windows (WSL downloaded from the MS Store) version of Ubuntu? Or do I need to use a different distro?

Lightman

Posted 2018-03-19T12:48:07.543

Reputation: 41

1

Sort of. It is possible. You can use Kali WSL or see the many issues Ubuntu WSL has but still doable. Me submitting an answer is impossible for another 2 weeks. Don’t have a Windows machine accessible. Somebody with 10k reputation can generate an answer from my previous comments to the now deleted answer. Xfce on Kali WSL

– Ramhound – 2018-03-20T00:37:47.957

Answers

1

First, you have to install a "X Window System" port for Windows. I recommend you to use VcXsrv. After that's done, you should make sure that gnome is installed because, as far as I know, the wsl version of Ubuntu doesn't ship with any gui apps, including gnome, and you do that by typing sudo apt install gnome gnome-session in the terminal.

Install the packages if you don't have them already.

Open Xlaunch (which you installed earlier on your Windows host) and select "One large window" or alternatively "Fullscreen" and replace the -1 with a 0.

Then just hit enter a few times until a big, black window opens. Go to the wsl terminal and type: DISPLAY=:0 XDG_SESSION_TYPE=x11 gnome-session. Wait a bit and you should be able to see the desktop in the xlaunch.

SkyyySi

Posted 2018-03-19T12:48:07.543

Reputation: 11