X2Go Bug report logs - #1046
x2go session causes dbus conflicts with logged in desktop on Fedora 24

version graph

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

Reported by: Andy Wang <dopey@moonteeth.com>

Date: Sat, 25 Jun 2016 03:35:01 UTC

Severity: normal

Merged with 1083

Found in version 4.0.1.19

Full log


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

Received: (at 1046) by bugs.x2go.org; 26 Jun 2017 20:13:27 +0000
From rnowotny@rotek.at  Mon Jun 26 22:13:13 2017
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=3.0 tests=BAYES_20,HTML_MESSAGE,
	SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.1
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 903865DAD1
	for <1046@bugs.x2go.org>; Mon, 26 Jun 2017 22:13:09 +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 r9WQJL0SaucN for <1046@bugs.x2go.org>;
	Mon, 26 Jun 2017 22:12:28 +0200 (CEST)
Received: from mail.rotek.at (mail.rotek.at [88.116.105.147])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 0C5E95DACD
	for <1046@bugs.x2go.org>; Mon, 26 Jun 2017 22:12:23 +0200 (CEST)
Received: from vm-imap.rotek.at (vm-imap.local.rotek.at [192.168.168.15])
	by mail.rotek.at (Postfix) with ESMTP id 0C2BFC404B9
	for <1046@bugs.x2go.org>; Mon, 26 Jun 2017 22:12:23 +0200 (CEST)
Received: from [192.168.168.104] (vk-rnowotny.local.rotek.at [192.168.168.104])
	by vm-imap.rotek.at (Postfix) with ESMTP id 0A80E2B001FC
	for <1046@bugs.x2go.org>; Mon, 26 Jun 2017 22:12:24 +0200 (CEST)
Subject: Could not acquire name on session bus / Zesty / ubuntu-mate / x2go
To: 1046@bugs.x2go.org
References: <000001d2eea8$55268570$ff739050$@rotek.at>
 <handler.1046.B1046.149850135211865.ackinfo@bugs.x2go.org>
From: Robert Nowotny <rnowotny@rotek.at>
Message-ID: <ef1414c5-f7ce-3cd7-40f3-1febffa6c71c@rotek.at>
Date: Mon, 26 Jun 2017 22:12:22 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101
 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <handler.1046.B1046.149850135211865.ackinfo@bugs.x2go.org>
Content-Type: multipart/alternative;
 boundary="------------523CADA5BBE88B781D6C0593"
[Message part 1 (text/plain, inline)]
Package:X2Go Server
Version : 4.0.1.20
System : Ubuntu 17.04 Zesty Zapatus, Kernel 4.4.0-81-generic
Desktop: MATE 1.18.0

After Launching the Client, it shows a black Window, showing "Could not acquire name on session bus"

First I suggested to edit the file/etc/systemd/system/display-manager.service - but that is wrong, then 
the desktop on the machine will note come up : ***** WRONG : 
/etc/systemd/system/display-manager.service

[Service]
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
.....

***** /WRONG - Desktop Session will not boot this way (remote desktop is 
working) ***** /etc/x2go/Xsession.d/75dbus_dbus-launch # $Id:$ # In 
order to activate the session bus at X session launch # simply place 
use-session-dbus into your /etc/X11/Xsession.options file # STARTDBUS= 
DBUSLAUNCH=/usr/bin/dbus-launch if has_option use-session-dbus; then # 
changed rn am 26.06.2017 - $DBUS_SESSION_BUS_ADDRESS is not zero length, 
but : "unix:path=/run/user/1000/bus" # if [ -z 
"$DBUS_SESSION_BUS_ADDRESS" ] && [ -x "$DBUSLAUNCH" ]; then # old code - 
STARTDBUS will ne not set if [ -x "$DBUSLAUNCH" ]; then # new code - 
STARTDBUS will be set to yes STARTDBUS=yes fi fi if [ -n "$STARTDBUS" ]; 
then # Note that anything that is D-Bus-activated between here and # 
95dbus_update-activation-env will not have the complete environment # 
set up by Xsession.d, unless the Xsession.d snippet that sets the # 
environment variable also calls dbus-update-activation-environment. # 
See <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815503> eval 
$($DBUSLAUNCH --exit-with-session --sh-syntax) fi


***** /etc/x2go/Xsession.d/75dbus_dbus-launch - now its working as 
expected on my machine ... yours sincerely Ing. Robert Nowotny Rotek GmbH

[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Feb 3 04:34:34 2023; 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.