From bcf6d6e4ef52aef24601420c68b8659d696035a6 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Jul 17 2023 18:24:25 +0000 Subject: Add equivalent check for $DISPLAY = :* to ssh-x-forwarding.csh --- diff --git a/SOURCES/ssh-x-forwarding.csh b/SOURCES/ssh-x-forwarding.csh index 10d87ed..be38241 100644 --- a/SOURCES/ssh-x-forwarding.csh +++ b/SOURCES/ssh-x-forwarding.csh @@ -1,6 +1,7 @@ # DBus session bus over SSH with X11 forwarding if ( $?SSH_CONNECTION == 0 ) exit if ( $?DISPLAY == 0 ) exit +if ( $DISPLAY =~ :* ) exit if ( $SHLVL > 1 ) exit setenv GDK_BACKEND x11