orion / rpms / dbus

Forked from rpms/dbus a year ago
Clone
8b0805
# DBus session bus over SSH with X11 forwarding
8b0805
if ( $?SSH_CONNECTION == 0 ) exit
8b0805
if ( $?DISPLAY == 0 ) exit
bcf6d6
if ( $DISPLAY =~ :* ) exit
8b0805
if ( $SHLVL > 1 ) exit
8b0805
setenv GDK_BACKEND x11
01b117
01b117
eval `dbus-launch --csh-syntax`
01b117
01b117
if ( $?DBUS_SESSION_BUS_PID == 0 ) exit
01b117
setsid -f /usr/libexec/dbus-1/dbus-kill-process-with-session $DBUS_SESSION_BUS_PID