45b113
# DBus session bus over SSH with X11 forwarding
45b113
if ( $?SSH_CONNECTION == 0 ) exit
45b113
if ( $?DISPLAY == 0 ) exit
45b113
if ( $SHLVL > 1 ) exit
45b113
setenv GDK_BACKEND x11
7e0b64
7e0b64
eval `dbus-launch --csh-syntax`
7e0b64
7e0b64
if ( $?DBUS_SESSION_BUS_PID == 0 ) exit
7e0b64
setsid -f /usr/libexec/dbus-1/dbus-kill-process-with-session $DBUS_SESSION_BUS_PID