Error: Couldn't connect to the Wayland compositor
Caused by:
Could not find a listening wayland compositor.
I have install sudo apt-get install libwayland-dev and set export XDG_RUNTIME_DIR="$HOME/.wl-clipboard/temp". Why this?
My OS is:
PS C:\Users\HuaFEEng> wsl --list -v
NAME STATE VERSION
* Ubuntu-20.04 Running 2
huafeeng@Hua-Lenovo-DT:~$ uname -a
Linux Hua-Lenovo-DT 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
I exec that cmd:
But got error:
I have install
sudo apt-get install libwayland-dev
and setexport XDG_RUNTIME_DIR="$HOME/.wl-clipboard/temp"
. Why this?My OS is:
Thanks!