Subject: Bug#1134: No environment variable available for testing in .bash_profile or .bashrc

From: Ted Toal <[email-masked]>
Date: Tue, 10 Jan 2017 13:17:15 -0800

Package: NXAGENT
Version: 3.5.0

I would like to bypass setting of certain environment variables in .bash_profile if I’m connecting via x2go, but it appears there are no environment variables I can test in .bash_profile to determine if this is an x2go session. After the session starts, some x2go environment variables are there, but not while .bash_profile is executing.