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: [X2Go-Dev] 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: Wed, 11 Jan 2017 01:50:02 +0000
Resent-Message-ID: <handler.1134.B1134.14840993886893@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 1134
X-X2Go-PR-Package: nxagent
Received: via spool by 1134-submit@bugs.x2go.org id=B1134.14840993886893
          (code B ref 1134); Wed, 11 Jan 2017 01:50:02 +0000
Received: (at 1134) by bugs.x2go.org; 11 Jan 2017 01:49:48 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,URIBL_BLOCKED autolearn=ham version=3.3.2
Received: from localhost (localhost [])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 4DD573CC60
	for <1134@bugs.x2go.org>; Wed, 11 Jan 2017 02:49:47 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([])
	by localhost (ymir.das-netzwerkteam.de []) (amavisd-new, port 10024)
	with ESMTP id 4C7gN7XfROdH for <1134@bugs.x2go.org>;
	Wed, 11 Jan 2017 02:49:40 +0100 (CET)
Received: from mail-pf0-f182.google.com (mail-pf0-f182.google.com [])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 5B2A73CC5F
	for <1134@bugs.x2go.org>; Wed, 11 Jan 2017 02:49:40 +0100 (CET)
Received: by mail-pf0-f182.google.com with SMTP id y143so35539498pfb.0
        for <1134@bugs.x2go.org>; Tue, 10 Jan 2017 17:49:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=ucdavis-edu.20150623.gappssmtp.com; s=20150623;
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
X-Gm-Message-State: AIkVDXJwTcKCjMykx1IuKE1fkKMW09cGmfsRPHJtg+6GQ3xYfwlUSxoBCexZN1Dh3p2Wlw==
X-Received: by with SMTP id o2mr9215325pli.99.1484099378745;
        Tue, 10 Jan 2017 17:49:38 -0800 (PST)
Received: from dhcp22-gc1.genomecenter.ucdavis.edu (dhcp22-gc1.genomecenter.ucdavis.edu. [])
        by smtp.gmail.com with ESMTPSA id w25sm8658682pge.9.2017.
        for <1134@bugs.x2go.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Tue, 10 Jan 2017 17:49:36 -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: <F513C52A-B3A5-48B3-9C81-6FE5D9C126CF@ucdavis.edu>
References: <C5693AC9-A167-43DC-B544-50934552BE1D@ucdavis.edu>
To: 1134@bugs.x2go.org
Date: Tue, 10 Jan 2017 17:49:36 -0800
X-Mailer: Apple Mail (2.3259)
First, I’m checking DISPLAY by these methods:
env | grep DISPLAY

By xterm in single application mode, do you mean to start a terminal window from XQuartz?  Or do you mean to start an application from x2go using published applications mode?  Or?

When I ssh into the machine from Mac Terminal or from a terminal window in XQuartz, DISPLAY does not have a value.

I don’t know much about the different window environments for unix, but when I set TRINITY on x2go, I am unable to connect, I get the error “Unable to execute: start trinity”.  

I’m new at x2go and haven’t read any manual yet, I’m just trying to go for it.


> On Jan 10, 2017, at 2:55 PM, Stefan Baur <X2Go-ML-1@baur-itcs.de> wrote:
> Am 10.01.2017 um 23:44 schrieb Ted Toal:
>> I’m running in windowed mode (XFCE) through x2go and XQuartz.  The
>> DISPLAY environment variable is not set. 
> Hmm, that shouldn't happen.  While I don't have XFCE and a Mac available
> tonight, doing the same with TRINITY and a Windows machine gives me a
> properly set DISPLAY variable.
> What happens if you run, say, xterm in single application mode?
> Is DISPLAY set there?
> -Stefan
> -- 
> BAUR-ITCS UG (haftungsbeschränkt)
> Geschäftsführer: Stefan Baur
> Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
> Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243

Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Sat May 18 00:49:52 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.