Run openSUSE GUI apps on the Windows Subsystem for Linux

WSL version: 2.0.9.0
Kernel version: 5.15.133.1-1
WSLg version: 1.0.59
MSRDC version: 1.2.4677
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.19045.3693

I walked through “Run Linux GUI apps on the Windows Subsystem for Linux” but its using Ubuntu, I’ve installes WSL patterns, full KDE using yast2 with no success as of yet to get a GUI app to run.

Has anyone been successful in doing this, if so, is there a step by step instructions you can link me too?

Hi,
did you see this wiki-page: openSUSE:WSL - openSUSE Wiki

Yes.

I do not remember doing anything special beyond installing openSUSE WSL image. You may start with describing what exactly does not work - what you are doing, which results you get and which results you expect.

Afternoon, according to " Run Linux GUI apps on the Windows Subsystem for Linux" after installing a GUI app, it should appear under the openSUSE folder and be able to execute it from the cli. Both did not happen.

That is not the same as “run GUI app”. Can you run these applications from within installed openSUSE?

That I do not understand at all. CLI of Linux? CLI of Windows? Try to put at least some efforts in making your questions understandable to others.

Anyway - if your real question is “why my GUI applications - whatever you mean with that - do not appear in Windows Start menu” - you can read /mnt/wslg/weston.log and look for lines like

[14:33:25.087] desktop file: /usr/share/applications/panel-preferences.desktop has OnlyShowIn XFCE;
[14:33:25.126] app list entry failed to update: Key:panel-preferences
[14:33:25.126] free_app_entry(): (null): /usr/share/applications/panel-preferences.desktop

which explain why these desktop entries are ignored. I just recently updated Leap 15.4 to Leap 15.5 and renamed WSL instance accordingly and I got entries in Start menu for 15.5 (and obsolete entries for 15.4). To be honest, this is the first time I even noticed their existence - usually when I needed some GUI program I simply started it in Linux.

If your real question is “why cannot I run GUI application from Linux CLI” - then I can only repeat what I already said. Start with describing what exactly does not work - what you are doing, which results you get and which results you expect.

1 Like