Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LP: #1914601] GUI apps do not start from the link created #174

Closed
patrick330602 opened this issue Feb 18, 2021 · 0 comments · Fixed by #171
Closed

[LP: #1914601] GUI apps do not start from the link created #174

patrick330602 opened this issue Feb 18, 2021 · 0 comments · Fixed by #171
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.

Comments

@patrick330602
Copy link
Member

Launchpad Bug Report Sync
By patrick330602 at Thu, 18 Feb 2021 22:49:50 +0800
https://bugs.launchpad.net/ubuntu/+source/wslu/+bug/1914601
This is created for upstream bug reference.

Description: Ubuntu 20.04.2 LTS
Release: 20.04

wslu:
Installed: 2.3.6-0ubuntu220.04.0
Candidate: 2.3.6-0ubuntu2
20.04.0
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

  • Ubuntu-20.04 Running 2

$ 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

@patrick330602 patrick330602 added Bug This is either an issue that describes a bug or a PR that resolves a bug Upstream This is a bug that related to WSL, distribution or the packages wslu depends on. Status: Pending Release This is fixed but not yet released. Target: 3.x This is targeted to the 3.x version. Target: LTS This is targeted to the LTS release. labels Feb 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant