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


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#1134: No environment variable available for testing in .bash_profile or .bashrc
Reply-To: Ted Toal <twtoal@ucdavis.edu>, 1134@bugs.x2go.org
Resent-From: Ted Toal <twtoal@ucdavis.edu>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Tue, 10 Jan 2017 21:20:03 +0000
Resent-Message-ID: <handler.1134.B.148408304712864@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 1134
X-X2Go-PR-Package: nxagent
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.148408304712864
          (code B); Tue, 10 Jan 2017 21:20:03 +0000
Received: (at submit) by bugs.x2go.org; 10 Jan 2017 21:17:27 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: *
X-Spam-Status: No, score=1.3 required=3.0 tests=BAYES_50,DKIM_SIGNED,
	DKIM_VALID,RCVD_IN_SORBS_SPAM,URIBL_BLOCKED autolearn=no version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id C42963CC60
	for <submit@bugs.x2go.org>; Tue, 10 Jan 2017 22:17:26 +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 9knGTlLSO3cB for <submit@bugs.x2go.org>;
	Tue, 10 Jan 2017 22:17:20 +0100 (CET)
Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id A0FEC3CC5F
	for <submit@bugs.x2go.org>; Tue, 10 Jan 2017 22:17:19 +0100 (CET)
Received: by mail-pf0-f196.google.com with SMTP id f144so11578236pfa.2
        for <submit@bugs.x2go.org>; Tue, 10 Jan 2017 13:17:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=ucdavis-edu.20150623.gappssmtp.com; s=20150623;
        h=from:content-transfer-encoding:mime-version:subject:message-id:date
         :to;
        bh=ZfHs4FVknYOuOk7+xV+LUpKZh73NIVTT+tRbm2+T/kk=;
        b=eZ2kYsE/TdFlqnJOdGFTWgRGkp1am3BY8SXLworbD5mFv6TSmMTNmrD9Gyp18dfUQu
         CIswj7BsZ2Qlb7LK9K06YdLpruQkNUEaUeyYNFxqYQipMmRMXQvx1a/9bhNDte5Rjn0G
         7ZNB4orw5Qm1frmH0pS6PX4SC8/uSkcKXavGVABOdYD+4D0tpwt37CAy59UYdw077bAC
         1lxnKh/EniIEiH7reNUg3EyP4+D/sH7eg68E4LmVBmXakSZrp4KmCVDIZhqrYIBTiPpu
         sv/YbzJvQe7ws9SJyGpYMcENKLiIv/Dt3czCjaoJsFr8Bh+vW6p3JHsp3tlNnt5ZEVws
         yxWQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:from:content-transfer-encoding:mime-version
         :subject:message-id:date:to;
        bh=ZfHs4FVknYOuOk7+xV+LUpKZh73NIVTT+tRbm2+T/kk=;
        b=ccEi059omV3iKtmsYfM8b2no2/AIlqlxKdzLs55zW8sENSj7MV6c2vUo75/5hyyKLW
         imvSYCoOmpWPbHZ8CHoXnETVFGYSLI2YY6HB294EIGnpxdAbQCJwiUQlPsCS+WTo+2ZJ
         dJH1UITdAoZrE4CVMNaqmnawFWXPFMVun+lbcsLGR7Mr8emM0hOte8DRUItypgtWKbJd
         R74Rcw051odPKb3vxKbXgtFbTUkIpi9S/g+5uP0LDqel/wJWND12ZfQGUwd5iVphc8aG
         4pnEeCOPRStXg2PuKyGMIcfeVKCNNn9kxCo1w0BiQFlmB8rz+AO0x/By1AVefz+ozeSo
         2Bpw==
X-Gm-Message-State: AIkVDXK8vy3hZWL9zabk1DjzY92OJfyIVoOCiXipxev2drSJ+bm7yUGRRxw9QG7ulfKTdg==
X-Received: by 10.84.173.195 with SMTP id p61mr7860424plb.68.1484083038038;
        Tue, 10 Jan 2017 13:17:18 -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 b10sm7973040pga.21.2017.01.10.13.17.16
        for <submit@bugs.x2go.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Tue, 10 Jan 2017 13:17:16 -0800 (PST)
From: Ted Toal <twtoal@ucdavis.edu>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\))
Message-Id: <9E59DC33-FF80-4D84-BA9F-96BCFDA8B8CE@ucdavis.edu>
Date: Tue, 10 Jan 2017 13:17:15 -0800
To: submit@bugs.x2go.org
X-Mailer: Apple Mail (2.3259)
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.

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 15:28:10 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.