From mikedep333@gmail.com Fri Aug 15 14:46:39 2014 Received: (at 569) by bugs.x2go.org; 15 Aug 2014 12:46:40 +0000 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.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham version=3.3.2 Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 07D035DB0A for <569@bugs.x2go.org>; Fri, 15 Aug 2014 14:46:39 +0200 (CEST) Received: by mail-wi0-f169.google.com with SMTP id n3so953220wiv.2 for <569@bugs.x2go.org>; Fri, 15 Aug 2014 05:46:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Fkbp+TzEXXf9Oa7CQB1q5+OfRwHFw8zFHofTLmaWnmM=; b=h6WEzZ5SNlmr+u6F4NmVvZTDI55LPVtG9K8rNrKhmu2bxxDRaBpABDgnq5HdAOahQp f+iikv/KKBv9FmVj7lMJO/eYmfoZuO3T74sBW3xoW6VCgXpZseo1z/FOXIxpLyzdPjcn wROEZWCrunb9Uc1ZDjOqoerN4cFpnQAgyArxOIGSeNJnwGtU+1jqgFXr3/E5wZ+jkh73 fQLDerF+IECuuqG4UiuMWGlXpfHLtHsmSP9SJ+v9Qm5THj4slEgou072tts69P2xcLfI 6i7m4wEk/cgDECPK4oRcZpwcb58o9JLvAHGYChz01Lnfk4q+5I1XXlruNQdU9c99EM6d hZmg== MIME-Version: 1.0 X-Received: by 10.180.11.135 with SMTP id q7mr20518090wib.67.1408106798680; Fri, 15 Aug 2014 05:46:38 -0700 (PDT) Received: by 10.180.238.66 with HTTP; Fri, 15 Aug 2014 05:46:38 -0700 (PDT) In-Reply-To: <20140815091843.Horde.pM_xPfU-6wQ1JFin-YaDrA1@mail.das-netzwerkteam.de> References: <20140815091843.Horde.pM_xPfU-6wQ1JFin-YaDrA1@mail.das-netzwerkteam.de> Date: Fri, 15 Aug 2014 08:46:38 -0400 Message-ID: Subject: Re: [X2Go-Dev] Bug#569: Cinnamon 1.4: Failed to load session "cinnamon2d" From: Michael DePaulo To: Mike Gabriel Cc: 569@bugs.x2go.org Content-Type: text/plain; charset=UTF-8 On Fri, Aug 15, 2014 at 5:18 AM, Mike Gabriel wrote: > Hi Mike#2 > > > On Do 14 Aug 2014 15:48:33 CEST, Michael DePaulo wrote: > >> Package: x2goserver >> Version: 4.1.0.0-nightly >> >> When I attempt to launch "session type" "custom desktop" "CINNAMON", I >> get this error dialog: >> Failed to load session "Cinnamon2d" >> http://imgur.com/VQ0A1si >> >> I emailed bug report 150 a bunch of details about Cinnamon 1.4 and my >> test setup, but those details are not showing up on bug report 150. So >> I am copying them (and made minor updates) below: >> >> Clearly the problem is that x2goruncommand has incorrect logic for >> launching this version of Cinnamon, 1.4. >> >> Remember that this version of CInnamon, on this version of Linux >> Mint, is supported through April 2017. >> >> Version 1.4 is probably used on other distros too. > > > Can you provide a patch for x2goruncommand? Probably for x2goserver on > release/4.0.1.x branch? > > Mike [...] Yes, I plan to do so. 1st, I've been brainstorming what logic to implement for different versions of Cinnamon. For example, do I run apt or yum commands to check what version is installed? There are other packaging systems too. I think what is best is to run the 2D cinnamon session scripts in order from newest to latest, if they exist. This will be a simple script I can write quickly. 2.0 & 2.2: cinnamon-session-cinnamon2d 1.6 & 1.8: gnome-session-cinnamon2d 1.4: gnome-session-cinnamon I determined the versions' commands by browsing the .deb contents under here: http://packages.linuxmint.com/pool/main/c/cinnamon/ Do I still need to export DESKTOP_SESSION before calling the scripts? Those scripts do not export it, but x2goruncommand exports it before calling gnome-session. -Mike#2