X2Go Bug report logs - #1083
local Xfce session blocks X2Go Xfce session (and vice versa) for same user

version graph

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

Reported by: René Genz <liebundartig@freenet.de>

Date: Sat, 10 Sep 2016 15:45:01 UTC

Severity: normal

Merged with 1046

Found in version 4.0.1.19

Full log


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

Received: (at submit) by bugs.x2go.org; 10 Sep 2016 15:44:46 +0000
From liebundartig@freenet.de  Sat Sep 10 17:44:45 2016
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.8 required=3.0 tests=BAYES_50,FREEMAIL_FROM,
	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 257825DA95
	for <submit@bugs.x2go.org>; Sat, 10 Sep 2016 17:44:45 +0200 (CEST)
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 54qfDSD0-+7z for <submit@bugs.x2go.org>;
	Sat, 10 Sep 2016 17:44:38 +0200 (CEST)
X-Greylist: delayed 1151 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Sat, 10 Sep 2016 17:44:38 CEST
Received: from mout2.freenet.de (mout2.freenet.de [195.4.92.92])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 91D5B5DA94
	for <submit@bugs.x2go.org>; Sat, 10 Sep 2016 17:44:38 +0200 (CEST)
Received: from [195.4.92.140] (helo=mjail0.freenet.de)
	by mout2.freenet.de with esmtpa (ID liebundartig@freenet.de) (port 25) (Exim 4.85 #1)
	id 1bik9n-0003NT-8T
	for submit@bugs.x2go.org; Sat, 10 Sep 2016 17:25:27 +0200
Received: from localhost ([::1]:47486 helo=mjail0.freenet.de)
	by mjail0.freenet.de with esmtpa (ID liebundartig@freenet.de) (Exim 4.85 #1)
	id 1bik9n-0007Hn-4P
	for submit@bugs.x2go.org; Sat, 10 Sep 2016 17:25:27 +0200
Received: from mx17.freenet.de ([195.4.92.27]:52119)
	by mjail0.freenet.de with esmtpa (ID liebundartig@freenet.de) (Exim 4.85 #1)
	id 1bik7p-0005kL-FH
	for submit@bugs.x2go.org; Sat, 10 Sep 2016 17:23:25 +0200
Received: from p20030045440bed67098a16d6682e710c.dip0.t-ipconnect.de ([2003:45:440b:ed67:98a:16d6:682e:710c]:58036)
	by mx17.freenet.de with esmtpsa (ID liebundartig@freenet.de) (TLSv1.2:DHE-RSA-AES128-SHA:128) (port 465) (Exim 4.85 #1)
	id 1bik7p-0003vh-AX
	for submit@bugs.x2go.org; Sat, 10 Sep 2016 17:23:25 +0200
To: submit@bugs.x2go.org
From: René Genz <liebundartig@freenet.de>
Subject: local Xfce session blocks X2Go Xfce session (and vice versa) for same
 user
Message-ID: <b78f5b3b-7cf9-53e2-2eb4-5b04e267310b@freenet.de>
Date: Sat, 10 Sep 2016 17:23:24 +0200
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101
 Thunderbird/45.2.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Originated-At: 2003:45:440b:ed67:98a:16d6:682e:710c!58036
Package: x2goserver-xsession
Version: 4.0.1.19

the situation with X2Go and Fedora 22 x86_64 as X2Go server:
- local Xfce session does not block X2Go Xfce session of same user
- X2Go Xfce session does not block local Xfce session for same user


I did not test with Fedora 23.


Unfortunately, with Fedora 24 x86_64 as X2Go server this changed:
- local Xfce session blocks X2Go Xfce session of same user
- X2Go Xfce session blocks local Xfce session for same user


Choosing non-Xfce entry (f.e. LXDE) as X2Go and local session the connection is established and the session is started and working fine at the same time. No automatic disconnection.



Problem can be reproduced with these steps:
on X2Go server computer (Fedora 24 x86_64): log in to Xfce session as 'user'

on X2Go client computer:
- start X2Go Client and connect to X2Go server as 'user' and a Xfce session
- in X2Go Client status changes to 'Running'
- window for remote computer appears
- some seconds later same window is closed automatically
- in X2Go Client status changes to 'Finished'

The X2Go Client version and operating system does not seem to matter. I could reproduce the problem with:
- Windows 7 X2Go Client 4.0.5.1 2016-08-18
- Lubuntu 14.04 X2Go Client 4.0.1.1
- Mac OS X 10.10.6 with X2Go Client 4.0.5.1



Output on Fedora 24 X2Go server is:
$ tail -f /home/user/.xsession-x2go-errors
XSession-x2go: X session started for user at Sat Sep 10 15:09:20 CEST 2016
xfce4-session: Another session manager is already running

$ sudo tail -f /var/log/messages
Sep 10 15:30:51 f24e5720 systemd-logind: New session 21 of user user.
Sep 10 15:30:51 f24e5720 systemd: Started Session 21 of user user.
...
Sep 10 15:30:53 f24e5720 /usr/sbin/x2gocleansessions[753]: user-50-1473514252_stDXFCE_dp24: state file for this session does not exist: /tmp/.x2go-user/C-user-50-1473514252_stDXFCE_dp24/state (this can be ignored during session startups)
Sep 10 15:30:54 f24e5720 /usr/bin/x2gostartagent: successfully started X2Go agent session with ID user-50-1473514252_stDXFCE_dp24
...
Sep 10 15:30:55 f24e5720 /usr/bin/x2goruncommand: launching session with Xsession-x2go mechanism, using STARTUP="xfce4-session"
...
Sep 10 15:31:07 f24e5720 systemd-logind: Removed session 21.



Disabling SElinux on Fedora 24 X2Go server does not make a difference:
$ sudo vim /etc/selinux/config
set to disabled
$ sudo reboot


Performing fresh installation of Fedora 24 X2Go server from scratch does not make a difference.


Version number comparison:
### F22
$ which xfce4-session
/usr/bin/xfce4-session
$ rpm -qf /usr/bin/xfce4-session
xfce4-session-4.12.1-3.fc22.x86_64
$ rpm -q x2goserver
x2goserver-4.0.1.19-3.fc22.x86_64
$ rpm -q x2goserver-xsession
x2goserver-xsession-4.0.1.19-3.fc22.x86_64

### F24
$ which xfce4-session
/usr/bin/xfce4-session
$ rpm -qf /usr/bin/xfce4-session
xfce4-session-4.12.1-9.fc24.x86_64
$ rpm -q x2goserver
x2goserver-4.0.1.19-11.fc24.x86_64
$ rpm -q x2goserver-xsession
x2goserver-4.0.1.19-11.fc24.x86_64



Maybe changes for this bug are related?
http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1046

If you think this is a bug in xfce4-session or Fedora, please, tell me and I will file a bug report there.
-- 
Kind regards,
René


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 12:35:53 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.