Hi,

I am using Xming 7.7.0.60 on Windows 10 Pro 20H2 version 19042.746 build
with WSL2.

Even after a while the GUI won't open. If I run `terminator` command
from wsl terminal it opens fine on Xming, so I don't think it's X server
issue. And before `apt update` yesterday, those desktop shortcuts worked
just fine.

My assumption, is that `wslu v3.2.1-1; wslusc v40` assumes you have WSL1
and sets DISPLAY to a local IP which would not work in WSL2 since it's
not local network anymore.

And from what I've seen `wslu v2.3.6; wslusc v37` version doesn't set
DISPLAY propery at all.

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

Title:
  GUI apps do not start from the link created

Status in wslu package in Ubuntu:
  New

Bug description:
  Description:    Ubuntu 20.04.2 LTS
  Release:        20.04

  wslu:
    Installed: 2.3.6-0ubuntu2~20.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
  <nothing happens>

  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

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to