diff --git a/Distrobox.md b/Distrobox.md index e3946a0..9297b41 100644 --- a/Distrobox.md +++ b/Distrobox.md @@ -16,4 +16,13 @@ You can also install apps inside the container and run them from the outside wit ### Running WMs or DEs -You can even install a window manager or desktop environment inside the container and use it in remote desktop with `~/.xinitrc`. See the [window managers](Window-managers) article for more information. \ No newline at end of file +You can even install a window manager or desktop environment inside the container and use it in remote desktop with `~/.xinitrc`. See the [window managers](Window-managers) article for more information. + +### Use systemd inside the container + +Run the following commands inside the container to make the host systemd accessible inside the container: +```sh +sudo umount /run/systemd/system +sudo rmdir /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