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

Use external X server for application (emacs) on WSL1 (recently upgraded)?

$
0
0

On Jan. 23, 2022, I was led by MS Windows 10 to upgrade the WSL on my Windows 10 (20H2). It promised to support WSL2 and WSLg.

However, the support of graphic display is not possible. I can only start emacs using the terminal of an Ubuntu/WSL in terminal mode (not GUI).

The problem is that even running vcXsrv, the Ubuntu/WSL1 application would not be able to use the external X server to run as GUI app.

According to the latest WSL documentation, my Windows is too old to have WSL2 and WSLg supported. But Windows nevertheless asked me to upgrade.

I also confirmed that my Ubuntu is still in WSL1 mode, and I could not convert it to WSL 2 mode.

Here is the detailed my Windows:

Edition Windows 10 EnterpriseVersion 20H2Installed on    ‎10/‎21/‎2021OS build    19042.2486Experience  Windows Feature Experience Pack 120.2212.4190.0

And the version of wsl:

wsl --versionWSL version: 1.0.3.0Kernel version: 5.15.79.1WSLg version: 1.0.47MSRDC version: 1.2.3575Direct3D version: 1.606.4DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hypWindows version: 10.0.19042.2486

and the mode of wsl:

wsl --list --verbose  NAME            STATE           VERSION* Ubuntu          Stopped         1  Ubuntu-22.04    Running         1

(Ubuntu was broken, when I tried to reset it to try to change to run with WSL2. I had installed Ubuntu-22.04 afresh, but the problem with the clipboard is the same.)

So my wish now is to go back to the older version or behavior of WSL using VcXsrv as X server for graphic display.


Viewing all articles
Browse latest Browse all 2798

Trending Articles



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