Created
September 26, 2018 09:19
-
-
Save marc-hanheide/a6ebdcdba22bd6ddd9f82299192cccdd to your computer and use it in GitHub Desktop.
gain access to local running dbus session in gnome
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # source or copy this to gain access to a running dbus session in your ssh session | |
| GNOME_SESSION_PID=$(pgrep gnome-session) | |
| export DBUS_SESSION_BUS_ADDRESS=$(grep -z DBUS_SESSION_BUS_ADDRESS /proc/$GNOME_SESSION_PID/environ|cut -d= -f2-) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment