From 03142cf1e29c563d025bcd1a95fb569981290d5b Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Thu, 28 Jul 2022 21:43:09 -0500 Subject: [PATCH] Improve systemd inside Distrobox commands --- Distrobox.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Distrobox.md b/Distrobox.md index 9297b41..5a5f3d8 100644 --- a/Distrobox.md +++ b/Distrobox.md @@ -22,7 +22,11 @@ You can even install a window manager or desktop environment inside the containe Run the following commands inside the container to make the host systemd accessible inside the container: ```sh +# These two commands may not be necessary sudo umount /run/systemd/system -sudo rmdir /run/systemd/system +sudo rm -r /run/systemd/system + sudo ln -s /run/host/run/systemd/system /run/systemd -sudo ln -s /run/host/run/dbus/system_bus_socket /run/dbus/ \ No newline at end of file +sudo mkdir -p /run/dbus +sudo ln -s /run/host/run/dbus/system_bus_socket /run/dbus +``` \ No newline at end of file