3
# Make sure that people starting graphical clients over SSH get the correct
4
# settings, i.e. make sure to run the profile activation script
5
############################################################################
7
# testing SSH_CLIENT as the woody ssh doesn't set SSH_CONNECTION
8
# also testing SSH_CONNECTION as the current ssh manpage no longer mentions
9
# SSH_CLIENT, so it appears that variable is being phased out.
10
if ( ( (test -n "${SSH_CLIENT}") || (test -n "${SSH_CONNECTION}") ) && \
11
(test -n "${DISPLAY}") ); then
12
. /etc/X11/Xsession.d/20desktop-profiles_activateDesktopProfiles