parent
55f67627a1
commit
ce56e999f1
@ -0,0 +1,6 @@
|
||||
# DBus session bus over SSH with X11 forwarding
|
||||
if ( $?SSH_CONNECTION == 0 ) exit
|
||||
if ( $?DISPLAY == 0 ) exit
|
||||
if ( $SHLVL > 1 ) exit
|
||||
setenv GDK_BACKEND x11
|
||||
eval `dbus-launch --auto-syntax --exit-with-x11`
|
@ -0,0 +1,7 @@
|
||||
# DBus session bus over SSH with X11 forwarding
|
||||
[ -z "$SSH_CONNECTION" ] && return
|
||||
[ -z "$DISPLAY" ] && return
|
||||
[ "$SHLVL" -gt 1 ] && return
|
||||
|
||||
GDK_BACKEND=x11; export GDK_BACKEND
|
||||
eval $(dbus-launch --sh-syntax --exit-with-session)
|
Loading…
Reference in New Issue