GUI apps do not start from the link created
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wslu (Ubuntu) |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Description: Ubuntu 20.04.2 LTS
Release: 20.04
wslu:
Installed: 2.3.6-0ubuntu2~
Candidate: 2.3.6-0ubuntu2~
Version table:
*** 2.3.6-0ubuntu2~
500 http://
100 /var/lib/
2.3.6-0ubuntu1 500
500 http://
C:\Users\
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\
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\
<nothing happens>
Looks like DISPLAY propery is not set correctly by the underlying script:
$ pwd
/usr/share/wslu
$ export DISPLAY=
$ . wsl-integration.sh
$ echo $DISPLAY
SHOULD_BE_SET
summary: |
- GUI apps do not work + GUI apps do not work from the link created |
summary: |
- GUI apps do not work from the link created + GUI apps do not start from the link created |
Changed in wslu (Ubuntu): | |
status: | Incomplete → Fix Committed |
Hi,
For GUI apps, -g should be passed when creating shortcuts.
Can you run `wslusc -g terminator` and check it again? Thanks