SUSE / open-build-service-connector

Visual Studio Code extension for integration with the Open Build Service
MIT License
30 stars 2 forks source link

The connector does not load correctly on remote WSL instances running on a Windows host #36

Closed KeithMnemonic closed 3 years ago

KeithMnemonic commented 3 years ago

When accessing the OBS extension (0.0.6) from a Windows host connecting to a Leap instance running on WSL none of the existing accounts contained is settings.json are shown. You just see an "Add a new Account" or "Import accounts from osc" button and none of those do anything when clicked. The logs on the wsl instance in ~/.vscode-server/data/logs/20210318T093751/exthost1/exthost.log show:

[2021-03-18 09:37:57.293] [exthost] [info] ExtensionService#_doActivateExtension SUSE.open-build-service-connector {"sta
rtup":false,"extensionId":{"value":"SUSE.open-build-service-connector","_lower":"suse.open-build-service-connector"},"ac
tivationEvent":"onView:bookmarkedProjectsTree"}
[2021-03-18 09:37:57.293] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kberger/.vscode-server/exten
sions/suse.open-build-service-connector-0.0.6/dist/extension
[2021-03-18 09:37:57.353] [exthost] [error] Activating extension SUSE.open-build-service-connector failed due to an erro
r:
[2021-03-18 09:37:57.353] [exthost] [error] Error: Cannot autolaunch D-Bus without X11 $DISPLAY
[2021-03-18 09:38:05.284] [exthost] [info] extension host terminating: received terminate message from renderer