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
c7535b
eval $(dbus-launch --sh-syntax --exit-with-x11)