X2Go Bug report logs - #599
X2Go fails to launch gnome-fallback properly on distros other than Debian and Ubuntu

version graph

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

Reported by: Michael DePaulo <mikedep333@gmail.com>

Date: Sun, 7 Sep 2014 23:20:02 UTC

Severity: normal

Found in version 4.0.1.15

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

Bug is archived. No further changes may be made.

Full log


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

Received: (at submit) by bugs.x2go.org; 7 Sep 2014 23:17:55 +0000
From mikedep333@gmail.com  Mon Sep  8 01:17:54 2014
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=5.0 tests=BAYES_50,FREEMAIL_FROM,
	T_DKIM_INVALID autolearn=ham version=3.3.2
Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 393CE5DEA7
	for <submit@bugs.x2go.org>; Mon,  8 Sep 2014 01:17:54 +0200 (CEST)
Received: by mail-wi0-f179.google.com with SMTP id q5so1767261wiv.12
        for <submit@bugs.x2go.org>; Sun, 07 Sep 2014 16:17:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:date:message-id:subject:from:to:content-type;
        bh=KXiV+OJqsYKYiCeLQ5ir+WqAYqlag+N1er8PSN6vb90=;
        b=Quo6AYzF60hBRkKmoOly7FOzylppS38flT3/jp1TyPhplBeg/pJfQWtKnxcM6RNiDm
         kpcCo/LsP6ou95H7WK40Ds453a8kFYKbYf1y0cVXFlhiUMMv06KpfjNQq5IwyN9ROoA+
         4yWIVO/1alsfliYEsdRvpbnhDBt43o8g5VI9gVmCPVq7DKt56G/zLO4drWb7NzQZH2Hq
         9WVih2+SikJJ9CCg+CHcfr/ul7doz2p7ffUX4wGskYmpB8uKYwEidDA9q/9dhl5cBJ6T
         +eNFuaNINuk7DjIyjB84GuV9fWy/axVXOsHhTWBim6Y1ANloJ3TJHjlAv7skcOJsk0QD
         bQvQ==
MIME-Version: 1.0
X-Received: by 10.180.205.168 with SMTP id lh8mr18669149wic.67.1410131873851;
 Sun, 07 Sep 2014 16:17:53 -0700 (PDT)
Received: by 10.180.238.66 with HTTP; Sun, 7 Sep 2014 16:17:53 -0700 (PDT)
Date: Sun, 7 Sep 2014 19:17:53 -0400
Message-ID: <CAMKht8hNJf+o3BTR_QrVh3mzxgOYgLS8agP07T9dQ5yHpy3NNQ@mail.gmail.com>
Subject: X2Go fails to launch gnome-fallback properly on distros other than
 Debian and Ubuntu
From: Michael DePaulo <mikedep333@gmail.com>
To: submit@bugs.x2go.org
Content-Type: multipart/mixed; boundary=001a11c38ace6e615f050281e970
[Message part 1 (text/plain, inline)]
Package: x2goserver
Version: 4.0.1.15
Severity: normal

In /usr/bin/x2goruncommand , the logic for deciding to launch the
"gnome-fallback" session instead of the default instead of "gnome"
session is specific to Debian and Ubuntu.

The same is true for "gnome-2d", and "gnome-flashback". (Although
there are bugs in gnome-session preventing gnome-flashback from
working with X2Go. See X2Go bug #598.)

Rather than adding logic for every other distro, I have prepared a
patch that is distro-neutral. It looks for the presence of session
files under /usr/share/gnome-session/sessions/ to decide which session
to (attempt to) launch. It uses the following priority:
gnome-flashback (GNOME 3.8 and later)
gnome-fallback (GNOME 3.4 and GNOME 3.6)
gnome-2d (GNOME 3.2)
gnome (GNOME2, or gnome-shell on GNOME3)

I tested it on openSUSE 12.3 (GNOME 3.6) successfully. Without this
patch, GNOME gives a warning dialog saying that it could not launch a
regular session and had to resort to a fallback session. With this
patch, it does not give that warning (because the fallback session was
intentional.)

I also tested Ubuntu 12.04: No regression

-Mike#2
[x2goserver-make-gnome3-logic-distro-neutral.patch (application/octet-stream, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 16:34:13 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.