-
Notifications
You must be signed in to change notification settings - Fork 822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WSL sometimes gives dconf error when it boots after Windows boot #10947
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! Open similar issues:
Closed similar issues:
|
Thank you @maicol07. Do you have systemd enabled in your distro ? |
Yes |
Do you still see those errors with systemd disabled ? |
I'll let you know in some days |
@OneBlue so it seems I don't get the error anymore but WSLg apps can't start (i.e. xclock), which might be related to the dbus and glitching issue from the OP. |
I do have systemd enabled and I see the same issue, too. (Currently, I don't know how to disable systemd). My application is an alpha version of GitButler. |
@koppor add the following to [boot]
systemd=false |
Same behavior with [boot]
systemd=false |
Hi @koppor, I don't know if that will help you, but I had the same issue and many problems with some apps, like Gedit or Tilix, not saving my configuration. It solved all of my problems :) |
I confirm @DavyG-SSG fix works! I don't know if it's a temporary fix or not, but it works! |
I have the same issue and can confirm the fix from @DavyG-SSG |
I'm hitting the same problem here with Ubuntu 22.04 in WSL and Remote Desktop Manager for Linux, but I guess all applications using dconf are equally affected. Both workarounds of disabling systemd or adding export $(dbus-launch) to .bashrc worked. We do need a proper fix though |
Windows Version
Microsoft Windows [Version 10.0.23606.1000]
WSL Version
2.0.15.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.133.1-1
Distro Version
Ubuntu 22.04
Other Software
No response
Repro Steps
Boot Windows and open WSL (or a graphical app with WSLg)
Expected Behavior
No errors
Actual Behavior
Gives dconf errors in the shell:
After running a command:
Also WSLg apps are glitched
Diagnostic Logs
WslLogs-2023-12-29_10-25-48.zip
The text was updated successfully, but these errors were encountered: