Add tip for using systemd inside a Distrobox container
parent
46541522ff
commit
80116216fb
11
Distrobox.md
11
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.
|
||||
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/
|
Loading…
Reference in a new issue