-
Notifications
You must be signed in to change notification settings - Fork 852
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GUI Apps That Are Defaults With Linux Distro's Don't Work. #8669
Comments
As noted in the Prerequisites section of the tutorial you linked:
Support for Linux GUI applications is not directly available in Windows 10. There are "unofficial" solutions for running Linux GUI applications on WSL on Windows 10:
If you have any problems getting these running, you might want to ask in either:
|
Also to cover:
Distributions for WSL are typically more barebones in nature because they are designed primarily as developer environments, not full desktop environments. The Ubuntu distribution for WSL, for instance, is based on Ubuntu Server, not Desktop, and does not include Gimp nor Gedit by default, although it's certainly possible to install them (and it sounds like you have). |
Gimp and Gedit did come with my Ubuntu install by default. I didn't have to install them. All the Distro needed was an update after a full upgrade, and that updated everything in it. I installed XRDP, after installing the Ubuntu Gnome Desktop environment. When I started the I used the Remote Desktop Connection app, entered all details correctly, the Distro's IP Address in this case, it connected for a very brief amount of time. After attempting to log in to the Xorg session (another session I installed), the connection dropped because it was actively refused. |
It went into an irrecoverable state after I hit Enter to log in. |
I can PROVE this. I looked through the entire Windows Task Manager. |
@NickDeBeenAIE I don't know if you had a chance to read my answer I linked from Ask Ubuntu regarding xrdp (linked above), but running Gnome on WSL is a pretty advanced topic, and I don't recommend it for most users. The main issue is that Gnome relies on Systemd, but Systemd and WSL aren't currently compatible. Systemd requires that it run as PID1, but WSL's It's possible to work around this, as I demonstrate in that answer (at a very basic level), but doing it correctly is much more complex. I also haven't tried it recently, and it's very likely that it requires additional effort in 22.04 that wasn't necessary when I did it in 20.04. As mentioned above, if you need to use XRDP, I recommend Xfce4 as a "lightweight" desktop environment that doesn't rely on Systemd. |
This is because it takes me to what looks like "the front desk" so to speak. Only now did you actually send a link to your XRDP post, else I found it on your first reply. I'll need the commands sent here exclusively. |
That was accidental. Didn't mean to do that. |
When I followed the Gnome (Ubuntu) instructions to export Ubuntu shell:
So its probably going to be the exact same thing as another export command, because I only execute commands as sudo as in my experience with Linux distros. Exporting as the normal user is never a good idea. Following the last 2 instructions:
|
And just FYI, what you've gotten so many users like me to do, is lock ourselves out of the Ubuntu Desktop by posting that answer as it had the opposite effect on me. |
@NickDeBeenAIE As I said, I don't recommend it because it does change WSL behavior. I also mentioned that it likely wouldn't work without additional steps on Ubuntu 22.04, which you said you are using.
Since you specifically say that you didn't follow the instructions, and you attempted to If you've done the |
Well isn't exporting a shell of anything a sudo thing? I am attempting to install said Linux Distro in a VM, but its not fully installing as the installer crashes. The VM service I'm using is VMWare Workstation 16 (non-commercial). The last time I installed this on a Windows 11 install was after an AMD driver update. Windows 11 as a result was complete s***, and failed to boot and repair. So, I installed VMWare on my now Windows 10 install, and it made the screen flicker slightly, so I'm afraid of rebooting, because it did exactly the same thing when I had Windows 11. I fear that VMWare has corrupt something critical. |
WSL is shut down at this time and the feature is disabled. Linux is better in a VM. |
Found the perfect solution:
|
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request. Thank you! |
Version
OS Build 19044.1865
WSL Version
Kernel Version
5.10.102.1
Distro Version
Ubuntu 22.04LTS
Other Software
No response
Repro Steps
https://docs.microsoft.com/en-us/windows/wsl/tutorials/gui-apps
Follow all instructions posted on the above link.
The image above has ABSOLUTELY NO Windows 10 based Linux GUI images (Microsoft only shows a picture of their useless Windows 11 Operating System having Linux GUI apps installed and running fine).
It shows only Windows 11's GUI feature working.
When I took that screenshot, it didn't get the Start Menu.
The thing is, GUI is actively being refused.
I have absolutely no Linux applications in my Start Menu (please see screenshot below), although all distro's come with Gimp and Gedit by default, this is a fact (except for Arch or Debian, but correct me if I'm wrong).
Expected Behavior
Actual Behavior
When I attempt to run either Gimp or Gedit:
Cannot open display:
(When I rangimp
)And;
gedit
(gedit:43): Gtk-WARNING **: 09:57:37.387: cannot open display: "Insert.IP.Address.Here"
(replace "Insert.IP.Address.Here" with your systems IP Address).Diagnostic Logs
Not applicable as I have no idea where they are stored.
The text was updated successfully, but these errors were encountered: