WhitewaterFoundry / Pengwin

A Linux distro optimized for WSL based on Debian.
Other
1.48k stars 105 forks source link

Cannot start GTK applications like gedit or gnome-builder with X410 #182

Closed Olivier-Delierre closed 5 years ago

Olivier-Delierre commented 6 years ago

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

sirredbeard commented 6 years ago

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.

Olivier-Delierre commented 6 years ago

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?

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.

Olivier-Delierre commented 6 years ago

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

lesharris commented 6 years ago

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.

sirredbeard commented 6 years ago

@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 ‘’’

Olivier-Delierre commented 6 years ago

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

sirredbeard commented 6 years ago

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 contact@whitewaterfoundry.com 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.

patrick330602 commented 6 years ago

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)

Olivier-Delierre commented 6 years ago

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

Olivier-Delierre commented 6 years ago

Some information :

Again, same issue occurred.

hidenmind commented 5 years ago

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.

hidenmind commented 5 years ago

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.

Olivier-Delierre commented 5 years ago

YAY ! Confirmed. Many thanks @hidenmind ! <3

Working on 1809 (October Update)