[LP: #1914601] GUI apps do not start from the link created #174
Labels
Bug
This is either an issue that describes a bug or a PR that resolves a bug
Status: Pending Release
This is fixed but not yet released.
Target: LTS
This is targeted to the LTS release.
Target: 3.x
This is targeted to the 3.x version.
Upstream
This is a bug that related to WSL, distribution or the packages wslu depends on.
Description: Ubuntu 20.04.2 LTS
Release: 20.04
wslu:
Installed: 2.3.6-0ubuntu2
20.04.020.04.0Candidate: 2.3.6-0ubuntu2
Version table:
*** 2.3.6-0ubuntu2~20.04.0 500
500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
100 /var/lib/dpkg/status
2.3.6-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
C:\Users\username\Desktop>wsl -l -v
NAME STATE VERSION
$ wslusc --version
wslu v2.3.6; wslusc v37
$ wslusc terminator
[info] Create shortcut terminator.lnk successful
C:\Users\username\Desktop>terminator.lnk
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
You need to run terminator in an X environment. Make sure $DISPLAY is properly set
$ wslusc --gui terminator
[info] Create shortcut terminator.lnk successful
C:\Users\username\Desktop>terminator.lnk
Looks like DISPLAY propery is not set correctly by the underlying script:
$ pwd
/usr/share/wslu
$ export DISPLAY=SHOULD_BE_SET
$ . wsl-integration.sh
$ echo $DISPLAY
SHOULD_BE_SET
The text was updated successfully, but these errors were encountered: