X2Go Bug report logs - #438
x2goserver and rhel6.4 / selinux Problem

version graph

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

Reported by: Frank Knoben <admin@igpm.rwth-aachen.de>

Date: Thu, 27 Feb 2014 09:10:02 UTC

Severity: normal

Tags: moreinfo, not-a-bug

Found in version

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Full log

🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#438: x2goserver and rhel6.4 / selinux Problem
Reply-To: Frank Knoben <admin@igpm.rwth-aachen.de>, 438@bugs.x2go.org
Resent-From: Frank Knoben <admin@igpm.rwth-aachen.de>
Original-Sender: frank@igpm.rwth-aachen.de
Resent-To: x2go-dev@lists.berlios.de
Resent-CC: X2Go Developers <x2go-dev@lists.berlios.de>
X-Loop: owner@bugs.x2go.org
Resent-Date: Thu, 27 Feb 2014 09:10:02 +0000
Resent-Message-ID: <handler.438.B.139349193814717@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 438
X-X2Go-PR-Package: x2goserver
Received: via spool by submit@bugs.x2go.org id=B.139349193814717
          (code B); Thu, 27 Feb 2014 09:10:02 +0000
Received: (at submit) by bugs.x2go.org; 27 Feb 2014 09:05:38 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham
Received: from mx-out-1.rwth-aachen.de (mx-out-1.rwth-aachen.de [])
	by ymir (Postfix) with ESMTP id 20AD65DB16
	for <submit@bugs.x2go.org>; Thu, 27 Feb 2014 10:05:38 +0100 (CET)
X-IronPort-AV: E=Sophos;i="4.97,553,1389740400"; 
Received: from igpm.igpm.rwth-aachen.de ([])
  by mx-1.rz.rwth-aachen.de with ESMTP; 27 Feb 2014 10:05:38 +0100
Received: from indy5.igpm.rwth-aachen.de ([])
	by igpm.igpm.rwth-aachen.de with esmtp (Exim 4.72)
	(envelope-from <frank@igpm.rwth-aachen.de>)
	id 1WIwuP-0001v6-OB
	for submit@bugs.x2go.org; Thu, 27 Feb 2014 10:05:37 +0100
Received: from france.igpm.rwth-aachen.de ([])
	by indy5.igpm.rwth-aachen.de with esmtpsa (TLSv1:AES128-SHA:128)
	(Exim 4.72)
	(envelope-from <frank@indy5.igpm.rwth-aachen.de>)
	id 1WIwuP-0009A0-J0
	for submit@bugs.x2go.org; Thu, 27 Feb 2014 10:05:37 +0100
Message-ID: <530EFFE1.7070106@igpm.rwth-aachen.de>
Date: Thu, 27 Feb 2014 10:05:37 +0100
From: Frank Knoben <admin@igpm.rwth-aachen.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: submit@bugs.x2go.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Sender: frank@igpm.rwth-aachen.de
Package: x2goserver


on a scientific linux 6.4 system with selinux enabled (RedHat Clone) I 
have the following problem with x2goserver-

After connecting with x2goclient to the server system, the .Xauthority 
file my home directory is created with the following selinx


ls -Z .Xauthority

-rw-------. frank users unconfined_u:object_r:default_t:s0 .Xauthority


Then I do a logout. Now, when I try to connect again to the x2go server 
system, I get
the following error message on the client side and no session is started.


"Warning: Cookie mismatch in the X authentication data.

"Session: Terminating session at 'Thu Feb 27 09:40:05 2014'.
Info: Your session was closed before reaching a usable state.
Info: This can be due to the local X server refusing access to the client.
Info: Please check authorization provided by the remote X application.
Session: Session terminated at 'Thu Feb 27 09:40:05 2014'.

deleting proxy

nxproxy not running

proxy deleted


But when I change the selinux permissions to


ls -Z .Xauthority

-rw-------. frank users unconfined_u:object_r:xauth_home_t:s0 .Xauthority


with the command

/usr/bin/chcon unconfined_u:object_r:xauth_home_t:s0 .Xauthority*

there is no problem logging in to the x2goserver system the next time.

Can this be fixed in the x2goserver software?


Frank Knoben

Institut fuer Geometrie und Praktische Mathematik
RWTH Aachen

Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Feb 29 02:25:09 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.