<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">DISPLAY is null (not defined) when x2go is running, as well as when it isn't, in my case.<br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">—</div><div class="">Ted Toal, Postdoctoral Researcher</div><div class="">Carvajal-Carmona Lab</div><div class="">4502 GBSF, One Shields Ave</div><div class="">Davis, CA  956626  (530) 263-5986</div><div class=""><a href="mailto:twtoal@ucdavis.edu" class="">twtoal@ucdavis.edu</a></div></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Jan 10, 2017, at 2:12 PM, Rick Benkstein <<a href="mailto:rbenkstein@cendatsys.com" class="">rbenkstein@cendatsys.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Ted,<br class=""><br class="">I have made my software switchable between GUI non-GUI by examining the DISPLAY variable - if it is NULL then x2go is not being used.<br class=""><br class="">Rick Benkstein<br class=""><br class="">-----Original Message-----<br class="">From: <a href="mailto:x2go-dev-bounces@lists.x2go.org" class="">x2go-dev-bounces@lists.x2go.org</a> [<a href="mailto:x2go-dev-bounces@lists.x2go.org" class="">mailto:x2go-dev-bounces@lists.x2go.org</a>] On Behalf Of Ted Toal<br class="">Sent: Tuesday, January 10, 2017 3:17 PM<br class="">To: <a href="mailto:submit@bugs.x2go.org" class="">submit@bugs.x2go.org</a><br class="">Subject: [X2Go-Dev] Bug#1134: No environment variable available for testing in .bash_profile or .bashrc<br class=""><br class="">Package: NXAGENT<br class="">Version: 3.5.0<br class=""><br class="">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.<br class="">_______________________________________________<br class="">x2go-dev mailing list<br class=""><a href="mailto:x2go-dev@lists.x2go.org" class="">x2go-dev@lists.x2go.org</a><br class="">http://lists.x2go.org/listinfo/x2go-dev<br class=""></div></div></blockquote></div><br class=""></body></html>