Skip to content

Commit 3ae5e4e

Browse files
committed
config/session-management: explain how to check for D-Bus session
1 parent 948b284 commit 3ae5e4e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/config/session-management.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,16 @@ D-Bus is an IPC (inter-process communication) mechanism used by userspace
1010
software in Linux. D-Bus can provide a system bus and/or a session bus, the
1111
latter being specific to a user session.
1212

13-
- To provide a system bus, you should [enable](./services/index.md) the `dbus`
14-
service. This might require a system reboot to work properly.
13+
- To provide a system bus, you should
14+
[enable](./services/index.md#enabling-services) the `dbus` service. This
15+
might require a system reboot to work properly.
1516
- To provide a session bus, you can start a given program (usually a window
1617
manager or interactive shell) with
1718
[dbus-run-session(1)](https://man.voidlinux.org/dbus-run-session.1). Most
1819
desktop environments, if launched through an adequate display manager, will
19-
launch a D-Bus session themselves.
20+
launch a D-Bus session themselves. If a D-Bus session is active for the
21+
current session, the environment variable `DBUS_SESSION_BUS_ADDRESS` should
22+
be defined.
2023

2124
Note that some software assumes the presence of a system bus, while other
2225
software assumes the presence of a session bus.

0 commit comments

Comments
 (0)