Hi Stéphane,
thanks for clarifying all this!!!
On So 29 Apr 2012 15:52:32 CEST Stéphane Graber wrote:
To solve the problem properly, you'd need something that understands gnome-session and uses it as it's expected.
Here are some example calls of gnome-session:
- gnome-session => starts the default session, on Ubuntu, unity-3d
- gnome-session --session=ubuntu => starts unity-3d
- gnome-session --session=ubuntu-2d => starts unity-2d
- gnome-session --session=gnome => starts Gnome3 (shell)
- gnome-session --session=gnome-fallback => starts the gnome 3.x fallback session
I have just committed a set of patches for x2goruncommand that does
the following:
cmd in ('unity', 'UNITY') and Ubuntu is precise or later -> rewrite cmd to ,,gnome-session''
cmd in ('gnome-session, 'GNOME') and Ubuntu is precise or later -> rewrite cmd to ,,gnome-session-fallback''
This seems to work.
However, I have troubles with X2Go window resizing, esp. when running
a Unity session (I use pyhoca-gui as client).
Maybe my approach given above is not as clean as your ruleset, but we
can ignore GNOME3 (compiz shell) and Unity (compiz shell) for X2Go
anyway (IMHO). We rely on the fallback sessions to be supported in
future and to become more and more stable.
Greets, Mike
--
DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...