Skip to main content
edited title
Link
Marlon
  • 379
  • 3
  • 7
  • 21

How could I fix this errror message at VcXsrv ? Trying to use WSL 2 using graphical apps under VcXsrv Xserver

Source Link
Marlon
  • 379
  • 3
  • 7
  • 21

How could I fix this errror message at VcXsrv ? Trying to use WSL 2 using graphical apps under VcXsrv

I have installed Ubuntu 20.04 LTS at Windows 10 Professional build 19041.329 and would like to run graphical apps at X server. Did a install of Docker Desktop and did a test and it's working fine.

But with focus on the graphical apps I installed: VcXsrv

VT-x is enabled at BIOS, WSL 2 is active under Windows 10 Pro.

PS C:\WINDOWS\system32> wsl -l -v
  NAME                   STATE           VERSION
* Ubuntu-20.04           Running         2
  docker-desktop-data    Stopped         2
  docker-desktop         Stopped         2

I disabled at Windows 10 the domain, public and private Firewall zones and at Ubuntu 20.04 LTS I did:

$ sudo ufw disable

I followed this tutorial to install Docker: Docker Install at WSL2

I have used the same IP address from WSL interface (Windows 10):

$sudo apt-get update && sudo apt-get upgrade -y
$sudo apt-get install xfce4

Did the steps:

$nano .bashrc

export DISPLAY=SAMEIP_of_WSL_IFACE:0 -> put at the EOF.

source ~/.bashrc

When I did run one time and launched Xserver for Windows with success (show the black screen).

But now I facing this message at VcxSvr when I click Xlaunch not open and show this: enter image description here

Tried with regular user and root like image bellow: enter image description here

Have no clue about...Tried to put in the WSL a static IP, used Privazer (cleanup windows) and nothing...