X2Go Bug report logs - #1382
X2Go Agent terminates unexpectedly only for LDAP users

version graph

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

Reported by: Fred Chen <fred@lionsemi.com>

Date: Wed, 10 Apr 2019 07:00:02 UTC

Severity: normal

Found in version

Full log

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

Received: (at 1382) by bugs.x2go.org; 17 Apr 2019 08:44:46 +0000
From fred@lionsemi.com  Wed Apr 17 10:44:43 2019
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50,DKIMWL_WL_MED,
	autolearn_force=no version=3.4.2
Received: from localhost (localhost [])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id C953C5DAED
	for <1382@bugs.x2go.org>; Wed, 17 Apr 2019 10:44:43 +0200 (CEST)
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 KQUoj9n4M48p for <1382@bugs.x2go.org>;
	Wed, 17 Apr 2019 10:44:35 +0200 (CEST)
Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 0B0195DA8B
	for <1382@bugs.x2go.org>; Wed, 17 Apr 2019 10:44:34 +0200 (CEST)
Received: by mail-pf1-x430.google.com with SMTP id w25so11764520pfi.9
        for <1382@bugs.x2go.org>; Wed, 17 Apr 2019 01:44:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=lionsemi-com.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: APjAAAUO63lxM9vG4L77qSZrcwKr8GpVImJ5vEVjyN8r2iAz+u8/h6wK
X-Google-Smtp-Source: APXvYqzjXbvnH0V8fZ97xVJdSO3Eiy2Ec9jTNjQUK8EMNFSTOv8V5hI/KaC8DtU9ujDhkLhZVJwECQ==
X-Received: by 2002:a63:c61:: with SMTP id 33mr75141957pgm.293.1555490672511;
        Wed, 17 Apr 2019 01:44:32 -0700 (PDT)
Received: from [] (c-73-170-245-102.hsd1.ca.comcast.net. [])
        by smtp.gmail.com with ESMTPSA id v19sm73540508pfn.62.2019.
        for <1382@bugs.x2go.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Wed, 17 Apr 2019 01:44:31 -0700 (PDT)
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
From: Fred Chen <fred@lionsemi.com>
Mime-Version: 1.0 (1.0)
Date: Wed, 17 Apr 2019 01:44:29 -0700
Subject: Issue resolved
Message-Id: <803F14D8-EE3B-4C20-A2B7-955D7E147C67@lionsemi.com>
To: 1382@bugs.x2go.org
X-Mailer: iPhone Mail (16D57)
It turns out the source of the problem was a single line in the LDAP user’s .bashrc that was not in the local user’s config.

I originally did not even look at this because both the local user and the LDAP user were configured with /bin/csh as their login shell but it seems that the .bashrc is still read by the desktop manager or some other service as part of the Xsession.

We were using environment modules and the offending line was calling “module load” on a module that then loaded other modules.

When a new bash shell is started from the user’s session, there doesn’t seem to be a problem so I’m not sure why this terminates the session but it’s mostly a non-issue now for us.

Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Jun 20 21:28:45 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.