45b113
# DBus session bus over SSH with X11 forwarding
45b113
[ -z "$SSH_CONNECTION" ] && return
45b113
[ -z "$DISPLAY" ] && return
45b113
[ "$SHLVL" -gt 1 ] && return
45b113
45b113
GDK_BACKEND=x11; export GDK_BACKEND
45b113
eval $(dbus-launch --sh-syntax --exit-with-session)