Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2795

WSL2 doesn't recognize XServer and runs desktop environments on its own

$
0
0

I've been messing around with WSL2 for a while, and I wanted to make the most profit out of it by running an X server instead of running Ubuntu on demanding Virtual Machines, so I've been following a guide on how to install gnome in wsl and run it on an X server. (https://gist.github.com/Ta180m/e1471413f62e3ed94e72001d42e77e22)

WSL Version: 1.1.3.0Kernel Version: 5.15.90.1WSLg Version: 1.0.49MSRDC Version: 1.2.3770Direct3D Version: 1.608.2-61064218DXCore Version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hypWindows Version: 10.0.19045.2604Ubuntu Version: 22.04.1 LTS

The problem is that after configuring everything, installing gnome, and editing my bashrc file, the desktop environment ran on a different window instead of the X server that was already running, and obviously, dropped a massive white screen with an error popup. I've tried the same thing with xfce, but it still ran on a different window.

Any solutions?


Viewing all articles
Browse latest Browse all 2795

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>