Open barnscott opened 4 years ago
We have tried to make run gnome in WSL without success. I can give you instructions to install mate (gnome 2 fork) if you wish.
Regards
Yes please. And if gnome is not in scope for future release, we can close this "issue".
https://www.whitewaterfoundry.com/blog/2020/4/10/installing-mate-in-fedora-remix-for-wsl
Let's leave it open to keep trying
Any news on getting gnome to work for release 33?
Hello @milesbuckton,
Gnome desktop is by far the most difficult desktop to run in WSL. You can easily run MATE and with a bit of work KDE Plasma. But gnome desktop is dependant on systemd and other features. We don't have yet the support for systemd. After that, we will try again.
Meanwhile, if you feel brave enough here is a guide to run Gnome desktop on Ubuntu:
I still recommend mate if you want gnome feeling
Regards, Carlos
Hello @crramirez, thank you for your reply. I most certainly agree that it is the most difficult to run in WSL2! I accepted your challenge, and got Gnome to work on Debian, Ubuntu, and Fedora WSL2. 😄 I did come across similar information regarding your link in my previous travels, but I did needed to reference a lot of other pages to come to the complete solution which included network manager, and pulseaudio support. The link that really sealed the deal in assisting me to get it working was: https://github.com/arkane-systems/genie/issues/98#issuecomment-778641443, or similarly https://gist.github.com/gbraad/9b995bfacec3775c297ce89764ba8d6d. 😉 The only real difference was that I installed the "Fedora Workstation" instead of the "Basic Desktop".
@milesbuckton Glad to see this works for you! "Basic Desktop" is my general goto, as people might not prefer using GNOME from WSL2. I personally prefer i3
... and that is not to create a "please, don't touch my computer"-setup ;-) just lightweight for something on the second screen. On a regular desktop I would run Gnome.
Can you try flatpak
?
@gbraad, of course...fortunately I have the hardware to run a more bloated Gnome setup. 😄 I did try flatpak, and it was possible to install Discord for example:
@milesbuckton I am actually amazed. I tried LibreOffice this way and I run into issues related to the X-server: "Failed to open display", and for Discord I get issues with "Can't mount tmpfs on /newroot/dev/shm".
systemd is fully available in WSL2 and Snap is already available for Ubuntu WSL. Will this issue be made easier?
Of course, flatpak is still in a near-unusable state. Like Can't mount tmpfs on /newroot/dev/shm
.
Yes in fact it should be resolved.
Here are the instructions for SystemD, snap and Gnome. https://www.whitewaterfoundry.com/blog/2022/05/10/fedora-remix-for-wsl-36-released
Fedora Remix supports SystemD in Windows 10 as well.
I haven't had problems with flatpaks but I remember this shm issue. I can check it again but I remember that can be solved mounting it in the right path.
Regards
Tested flatpak with Libre office and it works also
Is your feature request related to a problem? Please describe. I am interested in starting a gnome session via WSL/Fedora-remix, but I am not sure if it is possible. If it is possible, feel free to redirect me to the docs. I'm using WSL2 and FedoraRemix release 32. I understand Gnome would be a resource hog, but I have a fairly powerful PC and am more interested in gaining access to my preferred DE without requiring a VM.
I can currently launch a few GUI apps without issue, like gedit. However, I get the following errors when attempting to run a gnome-session, see below the os-release.
I am using VcXsrv.
$ cat /etc/os-release
$ gnome-session
$ startx
Help appreciated.