Open maicol07 opened 11 months ago
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!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Thank you @maicol07. Do you have systemd enabled in your distro ?
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 /etc/wsl.conf
to disable systemd:
[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.
I found this on stack overflow : https://stackoverflow.com/questions/20285697/error-in-spawning-a-dbus-launch-what-is-that
I added this line to my .bashrc :
export $(dbus-launch)
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 A permanent fix on WSL side would be nice though as I have not had this issue before december with the same application.
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