Pengwin: Cannot start GTK applications like gedit or gnome-builder with X410

Created on 13 Nov 2018  Â·  13Comments  Â·  Source: WhitewaterFoundry/Pengwin

Describe the bug
I cannot start some GTK applications like gedit or gnome-builder.

To Reproduce
Steps to reproduce the behavior:

  1. Start X410
  2. Start WLinux
  3. Type gnome-builder on terminal
  4. Nothing happened.

Screenshots
The terminal is locked like this :
Alt text
Same thing occurred with gnome-builder.

Additional context
I already have tried to add manually the "export" statement in my .bashrc.
I'm using bash. I've installed the GUI libraries on the wlinux-setup.
I'm using X410 as X server.

It doesn't seems to be an WSL issue because gedit is working on Ubuntu flavor of WSL.
Other applications like Visual studio code works fine.

Basic Troubleshooting Checklist

[x] I have confirmed WSL is enabled: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#confirm-wsl-is-enabled.
[x] I have searched the official Microsoft WSL issues page: https://github.com/Microsoft/WSL/issues.
[x] I have searched the WLinux issues page: https://github.com/WhitewaterFoundry/WLinux/issues.
[x] I have reset WLinux: Settings->Apps->Apps & features->WLinux->Advanced Options->Reset.
[x] I have disabled and re-enabled WSL in Windows Features.
[x] I have run Windows 10 updates and restarted.

WLinux Version
1.1.23.0

Windows Build
OS Name: Microsoft Windows 10 Education
OS Version: 10.0.17134 N/A Build 17134
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free

Bug Patched Undergoing Testing

Most helpful comment

I have solved this issue, just create the file: /etc/dbus-1/session.conf and run wlinux-setup and install GUI libs. After that you will be able to open gedit. I suggest wlinux-setup create this file before installing GUI libs.

All 13 comments

Nothing happened.

After you hit return there were no error messages (e.g. command not found, X errors, etc), it just sat there?

When this happens can you open a second WLinux shell and run $ ps -A to see what is running?

Can you double-check X410 is running?

Can you right-click on X410 and be sure it is set to Windowed Apps mode?

Can you reinstall gedit, $ sudo apt install --reinstall gedit?

I did a clean install of WLinux 1.1.23, $ sudo apt install gedit -y ; gedit and you should get this:

capture

Can you try VcXsrv to rule out X410? I got an update today. I haven't had any problems but we should rule it out.

After you hit return there were no error messages (e.g. command not found, X errors, etc), it just sat there?

  • Yes, no error messages appear.

When this happens can you open a second WLinux shell and run $ ps -A to see what is running?

  • gedit seems to appear on ps : gedit appears on ps

Can you double-check X410 is running?

  • Yes, X410 is running.

Can you right-click on X410 and be sure it is set to Windowed Apps mode?

  • Yes again

Can you reinstall gedit, $ sudo apt install --reinstall gedit?

  • I tried it. Doesn't works too …

If it can help I'm pretty sure the problem concerned mostly GTK applications, cause when I tested Visual Studio Code I didn't have any problem.

I tried VcXsrv but I get the same issue than with X410.

I am seeing the exact same behavior as Olivier. It seems to affect only GTK applications.

Xlib apps (xclock, xterm, etc): work
Qt apps (qtcreator): work
GTK apps: same behavior as Olivier has described.

This is a new install, I have just purchased WLinux.

@lesharris

Are you able to use GTK apps on other WSL distros?

@Olivier-Delierre

What video card are you using?

Can you try:

’’’
export LIBGL_ALWAYS_INDIRECT=0
export NO_AT_BRIDGE=0
gedit
‘’’

I'm using an Intel UHD Graphics 620.
I tried your commands but the same issue occurred.

I am currently stumped. I am looping in more assistance.

1.1.25 is coming soon, within days, and I am curious if you see the same issues when it is released.

In the mean time I am more than happy to offer a full refund because GTK apps are a big part of our advertising and I don't want you to feel duped. If you would like to exercise that option, please forward your Microsoft purchase confirmation e-mail to [email protected] with your PayPal account e-mail noted (if different) and I will handle that.

I am very sorry for this issue and would like to get to the bottom of it.

I have looked into this and I also have no idea... can you check the response of sudo apt install xclip gnome-themes-standard gtk2-engines-murrine dbus dbus-x11 -y? (They should all be installed)

@sirredbeard Let's wait for this release before asking for a refund. :-)
@patrick330602 Yes, obviously the response is that these packages are already installed.

Some information :

  • I've hard reset my laptop and installed the last Windows 10 October Update (1809)
  • After the fresh install, I installed WLinux, and X410, proceed to wlinux-setup installation's and install gedit.

Again, same issue occurred.

I am experiencing same behavior in my home computer and in my work computer, both Windows 10 pro 1803.
In my home computer I can start VS Code but no other GTK app like gedit or nautilus.
on my working computer no GTK application starts. They apears in ps and top, even on Windows task manager, but no GUI is shown.
I am using X410.

I have solved this issue, just create the file: /etc/dbus-1/session.conf and run wlinux-setup and install GUI libs. After that you will be able to open gedit. I suggest wlinux-setup create this file before installing GUI libs.

YAY ! Confirmed.
Many thanks @hidenmind ! <3

Working on 1809 (October Update)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

patmolloy picture patmolloy  Â·  4Comments

WSLUser picture WSLUser  Â·  4Comments

AceHack picture AceHack  Â·  4Comments

sharpninja picture sharpninja  Â·  3Comments

ozzcodes picture ozzcodes  Â·  3Comments