WAYLAND_DISPLAY not set after wsl --update #242
Unanswered
TrentonAdams
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Update: I have confirmed that a brand new installation works for both mate-terminal and gedit, without the use of GWSL. Now I have to find out why. I suspect there's some stuff that GWSL did during install that messed things up, preventing wsl --update from working completely. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The
wsl --update
seemed to work just fine, but the wayland stuff isn't working out of the gate.I noticed that if I look at the login process, it shows as having variables setup for wayland, but they aren't available in the environment...
If I go and paste all those env vars in, it then works...
Keep in mind I was previously using GWSL to run an X server. I know it messes with some settings to auto set it up.
Furthermore, I cannot run mate-terminal...
If I uninstall/re-install mate-terminal, it then comes up in the start menu, but still does not work.
I will next try backing up my current distro, and re-installing fresh to see if that works properly for things like mate-terminal. In the mean time, if anyone has ideas to fix mate-terminal, and to get the ENV vars automatically set up, let me know.
UPDATE:
As it turns out, mate-terminal won't do wayland, and so is not working. I'm not sure if this wayland updates comes with a working x-server, as I would think mate-terminal should work if it does. What I do know is that gedit definitely uses wayland, as setting WAYLAND_DISPLAY to something funky makes gedit not work.
What I have found is that I can continue using GWSL, and if I have WAYLAND_DISPLAY set from inside mate-terminal, gedit will indeed use wayland. I know this because I have WAYLAND_DEBUG set to 1, and it spews heavily if I have WAYLAND_DISPLAY set to wayland-0, and it does not spew anything if I don't have WAYLAND_DISPLAY set, while gedit works in both cases; clearly using the GWSL xserver or wayland as appropriate.
Beta Was this translation helpful? Give feedback.
All reactions