Skip to content
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

Windows 11 - WSL2 - Ubuntu 22 #101

Closed
mtcolman opened this issue Aug 2, 2022 · 2 comments
Closed

Windows 11 - WSL2 - Ubuntu 22 #101

mtcolman opened this issue Aug 2, 2022 · 2 comments

Comments

@mtcolman
Copy link

mtcolman commented Aug 2, 2022

Hi,

I've just installed this on Windows 11 WSL2 running Ubuntu 22. Here are the steps I followed:

# In Powershell
wsl --update
wsl --shutdown

# In WSL2 Ubuntu
sudo apt update && sudo apt install -y libnotify4 libxss1 libsecret-1-0 libgbm1 libasound2
sudo apt --fix-broken install -y
sudo dpkg -i podman-desktop-companion-amd64-4.1.0-rc.28.deb
podman-desktop-companion

The GUI runs, however, just for the record, I receive these errors on the CLI:

$ podman-desktop-companion
[22:0802/101731.004294:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[22:0802/101731.004379:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[22:0802/101731.013508:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[22:0802/101731.013557:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[22:0802/101731.229477:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[55:0802/101731.264404:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
[55:0802/101731.279252:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.

I've found a way to resolve the dbus errors:

# as per: https://github.com/microsoft/WSL/issues/7915 and https://github.com/microsoft/WSL/issues/2941
sudo service dbus start
export XDG_RUNTIME_DIR=/run/user/$(id -u)
sudo mkdir $XDG_RUNTIME_DIR
sudo chmod 700 $XDG_RUNTIME_DIR
sudo chown $(id -un):$(id -gn) $XDG_RUNTIME_DIR
export DBUS_SESSION_BUS_ADDRESS=unix:path=$XDG_RUNTIME_DIR/bus
dbus-daemon --session --address=$DBUS_SESSION_BUS_ADDRESS --nofork --nopidfile --syslog-only &

Then run podman-desktop-companion and I'm left with these two errors:

$ podman-desktop-companion
[1276:0802/104001.129417:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
[1276:0802/104001.133675:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.

I shall continue to have a look around...

@iongion
Copy link
Owner

iongion commented Aug 15, 2024

In WSLg - Ubuntu 24.04 this appears to not be an issue anymore.

Give this a chance https://github.com/iongion/podman-desktop-companion/releases/tag/5.2.0-rc.2 and re-open if needed.

image

@iongion iongion closed this as completed Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants