Skip to content

Commit efc0b45

Browse files
committed
session-management: mention dbus-update-activation-environment
Necessary, for example, to allow gnome-keyring-daemon to launch prompts for user interaction, since the prompts are launched by the dbus daemon.
1 parent df24f4c commit efc0b45

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/config/session-management.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@ latter being specific to a user session.
2121
Note that some software assumes the presence of a system bus, while other
2222
software assumes the presence of a session bus.
2323

24+
When using a session bus, it might be necessary to export display environment
25+
variables, such as `DISPLAY` (for [X](./graphical-session/xorg.md) or XWayland)
26+
and `WAYLAND_DISPLAY` (for [Wayland](./graphical-session/wayland.md)) to the
27+
D-Bus activation environment. This is used, for example, by programs that
28+
expect to be able to launch a prompt for user interaction.
29+
[dbus-update-activation-environment(1)](https://man.voidlinux.org/dbus-update-activation-environment.1)
30+
can be used to export variables from your environment.
31+
2432
## elogind
2533

2634
[elogind(8)](https://man.voidlinux.org/elogind.8) manages user logins and system

0 commit comments

Comments
 (0)