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