Using X11 on OpenSUSE with WSL2
1
vote
2
answers
2123
views
I installed WSL2 on my computer, and with it I grabbed OpenSUSE so I could get some experience with a distro besides Ubuntu.
I sideloaded OpenSUSE 15.1, and it installed fine and loads into the terminal fine.
Now, in order to use things that have a GUI [I'm trying to get KDE], I need some sort of X11 window manager. I'm using Xming, which is probably the most popular one.
When I set the
$DISPLAY
variable with
DISPLAY=0.0
, it runs fine, and using $DISPLAY
returns the same thing that I inputted.
However, when I run
, I get the following: $DISPLAY is not set or cannot connect to the X server.
.
What might be causing this issue, and how might I get around it?
Asked by Sameer Iyengar
(11 rep)
Jul 28, 2020, 06:46 PM
Last activity: Jun 10, 2025, 04:05 AM
Last activity: Jun 10, 2025, 04:05 AM