X2Go Bug report logs - #1134
No environment variable available for testing in .bash_profile or .bashrc

version graph

Package: nxagent; Maintainer for nxagent is X2Go Developers <x2go-dev@lists.x2go.org>; Source for nxagent is src:nx-libs.

Reported by: Ted Toal <twtoal@ucdavis.edu>

Date: Tue, 10 Jan 2017 21:20:03 UTC

Severity: normal

Found in version 3.5.0

Full log


Message #20 received at 1134@bugs.x2go.org (full text, mbox, reply):

Received: (at 1134) by bugs.x2go.org; 10 Jan 2017 22:41:33 +0000
From twtoal@ucdavis.edu  Tue Jan 10 23:41:31 2017
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=3.0 tests=BAYES_20,DKIM_SIGNED,
	DKIM_VALID,HTML_MESSAGE,URIBL_BLOCKED autolearn=ham version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 583E93CC5F
	for <1134@bugs.x2go.org>; Tue, 10 Jan 2017 23:41:31 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id s38z3UT8C2Wl for <1134@bugs.x2go.org>;
	Tue, 10 Jan 2017 23:41:24 +0100 (CET)
Received: from mail-pf0-f171.google.com (mail-pf0-f171.google.com [209.85.192.171])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 1A26B5DA91
	for <1134@bugs.x2go.org>; Tue, 10 Jan 2017 23:41:24 +0100 (CET)
Received: by mail-pf0-f171.google.com with SMTP id 127so53803684pfg.1
        for <1134@bugs.x2go.org>; Tue, 10 Jan 2017 14:41:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=ucdavis-edu.20150623.gappssmtp.com; s=20150623;
        h=from:message-id:mime-version:subject:date:in-reply-to:cc:to
         :references;
        bh=B72lkuVNO3gUuYQRFqGAVQmp/zieHsjcUPwlTWEvFqY=;
        b=qpTV3IlyCYtm7W8HW5Iyt6YvBfX9d6gCoShwm5YOaJ39PS39SD5q+JTM2GRhGOBR4L
         Iv8N6P1jXBMvO1jENbZNw25sW3Z+XZsz5xz3VsXgMvcCJzDS6GGpojd1cIX+McNf92hh
         guv1Pe8HLeu5831zWdRxKwkUIq5XRr5Cl/iwo258khnrtDtHxd3tH8v1GuQGYGOCV13j
         1BQdoFy0FC8EG5KhMwnbhpPFVxG3Vaxuz6/yQZcHuoc0WGRBAJPdVUjj8xS050KBRIbq
         9gCFPFnOR7GrRxuCqW9wWigHX+wA78eRbV8TVVJwdrCBWBi3IdmQQC48UuUDmSN2+e0c
         txRA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:from:message-id:mime-version:subject:date
         :in-reply-to:cc:to:references;
        bh=B72lkuVNO3gUuYQRFqGAVQmp/zieHsjcUPwlTWEvFqY=;
        b=CIp9vYN42GzaCCGDChu9DWnAqnBIwQ4exuIVWLEYwbhcDpKmOa1XgVz8EmZZPOrOaM
         dIFrZjTFE9tmiXfRC3VSroE3fizldVmdgh96xg11Oge65Opoy792OE6HqIGyt9Tc/DH/
         gW0vX3Azzp74Y7t+e6P1fRCZWn1bMyZ2wutLe5niW0vv14keq4ox85iVX/w/8DluSn1T
         drRtKQv3MUli+sLPFdFVFvmt47wiOlgOZUMTOw+yE9bsLI5K3F1fHKWDp+pPjf8EY995
         BL4nZB4nWMaZyPkxEGwwzFZONBM2VMebd7oPwUHVyj2dTetiSSdCQ1oNPWe4t6Zh7ipT
         iwfA==
X-Gm-Message-State: AIkVDXIigE0D7jRx/K3XSTMYl92FaETRuyxsOBjA/u+D85V9n9pSeSUGf8dcz0A6yPRORQ==
X-Received: by 10.99.140.28 with SMTP id m28mr6708847pgd.174.1484088082806;
        Tue, 10 Jan 2017 14:41:22 -0800 (PST)
Received: from dhcp22-gc1.genomecenter.ucdavis.edu (dhcp22-gc1.genomecenter.ucdavis.edu. [128.120.136.85])
        by smtp.gmail.com with ESMTPSA id d15sm8131456pfl.46.2017.01.10.14.41.21
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Tue, 10 Jan 2017 14:41:21 -0800 (PST)
From: Ted Toal <twtoal@ucdavis.edu>
Message-Id: <6C6C9CB6-4F5D-4F9C-B429-143A78490313@ucdavis.edu>
Content-Type: multipart/alternative;
 boundary="Apple-Mail=_EE2490F0-79C5-44DF-9B33-BDC58A9399F0"
Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\))
Subject: Re: [X2Go-Dev] Bug#1134: No environment variable available for
 testing	in .bash_profile or .bashrc
Date: Tue, 10 Jan 2017 14:41:20 -0800
In-Reply-To: <1fe5ef7f8e274faf9c51e7e06369ea01@CDS-EXCHG2.cds.local>
Cc: "1134@bugs.x2go.org" <1134@bugs.x2go.org>,
 "submit@bugs.x2go.org" <submit@bugs.x2go.org>
To: Rick Benkstein <rbenkstein@cendatsys.com>
References: <9E59DC33-FF80-4D84-BA9F-96BCFDA8B8CE@ucdavis.edu>
 <1fe5ef7f8e274faf9c51e7e06369ea01@CDS-EXCHG2.cds.local>
X-Mailer: Apple Mail (2.3259)
[Message part 1 (text/plain, inline)]
DISPLAY is null (not defined) when x2go is running, as well as when it isn't, in my case.
—
Ted Toal, Postdoctoral Researcher
Carvajal-Carmona Lab
4502 GBSF, One Shields Ave
Davis, CA  956626  (530) 263-5986
twtoal@ucdavis.edu




> On Jan 10, 2017, at 2:12 PM, Rick Benkstein <rbenkstein@cendatsys.com> wrote:
> 
> Ted,
> 
> 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.
> 
> Rick Benkstein
> 
> -----Original Message-----
> From: x2go-dev-bounces@lists.x2go.org [mailto:x2go-dev-bounces@lists.x2go.org] On Behalf Of Ted Toal
> Sent: Tuesday, January 10, 2017 3:17 PM
> To: submit@bugs.x2go.org
> Subject: [X2Go-Dev] Bug#1134: No environment variable available for testing in .bash_profile or .bashrc
> 
> 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.
> _______________________________________________
> x2go-dev mailing list
> x2go-dev@lists.x2go.org
> http://lists.x2go.org/listinfo/x2go-dev

[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Mar 28 19:38:31 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.