© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
BazziteB
Bazzite•2y ago•
2 replies
Fenn

[Distrobox] Installing apps that require systemd services?

I've been reading through the documentation for Bazzite, Distrobox, as well as the Arch Wiki trying to figure out how to start services from within a Distrobox container, from the host system.

For example, I wanted to install
ckb-next
ckb-next
on the
arch
arch
container, which has a daemon that runs at startup to detect my keyboard and adjust the RGB. It installs just fine, but I'm unable to start or enable any systemd services from within the container, nor start that specific service from outside of it.

The Arch Wiki has a small blurb on how to use systemd from within the container, along with a couple commands to ostensibly make it happen:

# ln -s /run/host/run/systemd/system /run/systemd
# mkdir -p /run/dbus
# ln -s /run/host/run/dbu/system_bus_socket /run/dbus
# ln -s /run/host/run/systemd/system /run/systemd
# mkdir -p /run/dbus
# ln -s /run/host/run/dbu/system_bus_socket /run/dbus


Any ideas, or anyone able to point me to some more complete documentation? I should probably also be reading the Podman and Docker documentation, but I haven't yet.
Solution
https://github.com/89luca89/distrobox/blob/main/docs/useful_tips.md#using-init-system-inside-a-distrobox

however not everything with a systemd service will work, but it is worth to try. i do not need systemd in my distroboxes as i have not needed it
GitHub
distrobox/docs/useful_tips.md at main · 89luca89/distrobox
Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available...
distrobox/docs/useful_tips.md at main · 89luca89/distrobox
Jump to solution
BazziteJoin
The operating system for the next generation of gamers.
29,482Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

error exporting apps from ubuntu distrobox
BazziteBBazzite / 🛟bazzite-help
2y ago
systemd service to run apps headlessly in gamemode
BazziteBBazzite / 🛟bazzite-help
2y ago
installing packet tracer not launching on distrobox
BazziteBBazzite / 🛟bazzite-help
6mo ago
Installing apps not on steam
BazziteBBazzite / 🛟bazzite-help
8mo ago