Pengwin
Pengwin copied to clipboard
Failed to start message bus: Failed to open "/usr/share/dbus-1/session.conf": No such file or directory
Describe the bug Can't use xfce4.
To Reproduce Steps to reproduce the behavior:
sudo apt install xfce4echo $DISPLAYto check if$DISPLAYexistsxfce4-session
Expected behavior Successfully start xfce in X410
Screenshots

Additional context It works on normal Debian Buster for me.
Basic Troubleshooting Checklist
[x] I have searched Google for the error message. [x] I have checked official WSL troubleshooting documentation: 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 Pengwin issues page: https://github.com/WhitewaterFoundry/Pengwin/issues. [ ] I have reset Pengwin: Settings->Apps->Apps & features->Pengwin->Advanced Options->Reset. [ ] I have disabled and re-enabled WSL in Windows Features. [ ] I have run Windows 10 updates and restarted.
What other troubleshooting have you attempted?
Insert here: Tried start chromium independently, and it works. And I also tried copying /usr/share/dbus-1/session.conf from Debian Buster WSL1 to Pengwin WSL2, it works for me.
Pengwin Version
Find: Settings->Apps->Apps & features->Pengwin->Advanced Options->Version.
Insert here: 20.8.3.0
Windows Build
Run 'systeminfo | findstr /C:"OS"' in Command Prompt and insert here:
OS Name: Microsoft Windows 10 ??? OS Version: 10.0.19041 N/A Build 19041 OS Manufacturer: Microsoft Corporation OS Configuration: Standalone Workstation OS Build Type: Multiprocessor Free BIOS Version: American Megatrends Inc. 1607, 2019/6/17
For help on retrieving: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#check-your-build-number
Thanks for reporting. I tested this days before and it worked. Be sure that you install the GUI support in pengwin-setup :
pengwin-setup autoinstall GUI GUILIB
Close Pengwin and try again. I will paste here all the steps since a new Pengwin installation.
Regards, Carlos
Probably you are facing the issue that you reported in other thread about zsh. I will try to reproduce it with zsh
I am pretty sure that I had already installed it.
pengwin-setup autoinstall GUI GUILIB
# maple3142 @ MAPLE in ~ on git:master o [17:12:20] C:130
$ pengwin-setup autoinstall GUI GUILIB
Automatically install without prompts or updates
Starting pengwin-setup.
Holding pengwin-base & pengwin-setup to ensure no changes while operating
[sudo] password for maple3142:
Selected: GUI GUILIB
GUI
Automatically install without prompts or updates
GUILIB
Automatically install without prompts or updates
Installing GUILIB
Reading package lists...
Building dependency tree...
Reading state information...
binutils is already the newest version (2.35-2).
dbus is already the newest version (1.12.20-1).
dbus-x11 is already the newest version (1.12.20-1).
gnome-themes-standard is already the newest version (3.28-1).
gtk2-engines-murrine is already the newest version (0.98.2-3).
libegl1-mesa is already the newest version (20.1.5-1).
mesa-utils is already the newest version (8.4.0-1+b1).
libnss3 is already the newest version (2:3.55-1).
libqt5core5a is already the newest version (5.14.2+dfsg-6).
xclip is already the newest version (0.13-1).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Configuring dbus if you already had it installed. If not, you might see some errors, and that is okay.
rm: cannot remove '/etc/dbus-1/session.conf': No such file or directory
sed: can't read /usr/share/dbus-1/session.conf: No such file or directory
sed: can't read /usr/share/dbus-1/session.conf: No such file or directory
sed: can't read /usr/share/dbus-1/session.conf: No such file or directory
dbus[260]: Failed to start message bus: Failed to open "/usr/share/dbus-1/session.conf": No such file or directory
EOF in dbus-launch reading address from bus daemon
#!/bin/bash
# Check if we have Windows Path
if ( which cmd.exe >/dev/null ); then
eval "$(timeout 2s dbus-launch --auto-syntax)"
fi
Unholding pengwin-base & pengwin-setup
Another way to fix it is sudo apt reinstall dbus
Now it is working after you reinstalled dbus?
Yes, reinstalling dbus seems to fix /usr/share/dbus-1/session.conf