Hi,

I've tested the version from PPA:

$ wslusc --version
wslu v3.2.1-1; wslusc v40
$ wslusc --gui terminator
[warn] wsl-term.ico not found in Windows directory. Copying right now...
[info] wsl-term.ico copied. Located at "/mnt/c/Users/username/wslu".
[warn] wsl-gui.ico not found in Windows directory. Copying right now...
[info] wsl-gui.ico copied. Located at "/mnt/c/Users/username/wslu".
[info] Create shortcut terminator.lnk successful

And the shortcut doesn't work and I think I know why. DISPLAY option is
not set properly by the script:

$ echo $DISPLAY
172.18.96.1:0 # this should be the correct one
$ unset DISPLAY
$ . wslusc-helper.sh
$ echo $DISPLAY
192.168.0.16:0.0 # this is what is set by the script

The correct way would be setting DISPLAY from /etc/reslv.conf:

$ cat /etc/resolv.conf
# This file was automatically generated by WSL. To stop automatic generation of 
this file, add the following entry to /etc/wsl.conf:
# [network]
# generateResolvConf = false
nameserver 172.18.96.1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1914601

Title:
  GUI apps do not start from the link created

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wslu/+bug/1914601/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to