-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
On 04/29/2012 04:31 PM, Mike Gabriel wrote:
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
Using gnome-session instead of '/etc/X11/Xsession "gnome-session
Looking at the current scripts in there, this will mostly affect accessibility, gconf, translated xdg directories, ibus and probably some others. I'd strongly recommend always starting a full desktop session through /etc/X11/Xsession unless you're trying to debug a very specific part of the session.
Stéphane Graber Ubuntu developer http://www.ubuntu.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBCgAGBQJPnVHXAAoJEMY4l01keS1nGYAQANiq8fN+Q5o3mY1o9LdFqG+g ksKk6CKiy/vq2madgxumjxNXbkrEpVvQqwKlJga6N3q+9bhgDaGiRDDi5mbmRUva ucNaW40Ijp81+5SGZqjzQo54jn9zf8FjNEiKGNJ+vw6zdRnz2+HIiIURtKNMu9dY VmZL0pDb+oMGeUDxu8aADGWhRUEy+IdHPUCerBa3U6f6hhAiPxhcubF1mXc82Ovk VtIbGEVxALF20roWVIKiTtAZvMRI5pFu4O8qNg0sbfxPGrmbIg+T05B2kSERAqLU ZvasGnReUEBG8+Yh7o6m9msSv4jctFjno9r37aOz38+iQVIql+IhMeZ36UwLCWi+ eoqsFz0fe5Q7A1pA6n9ZkQ4pHEOaaKI2KgAi/B3K5MAHy5flNNQyTyh5bLjc+3qa 3mTya6ze1totv13g1fOvRyOVeZ4KayV2j7c8J7suSz2aRclftTHm2MmJLLmPBhuD QRkyE/xKiS5UuvBg/UfAPWm7L9baO4s5j9RbwPuNlVCC5Q6mYBLBQIV4pugA5lES OiCcHyI6dDqdyX6tVmovLcQO1SRNMMd2TkuVmfs67Fg+wY4fpRhlCPhDjGHcoFr0 7JOTiJeY59UtIYFAjx4SAaslkimjK4VVGgQmBuS4bPKlD3vYiKe3dqDBBNIaRcK0 lUzO4maJczoP6uOhsM9P =HKb9 -----END PGP SIGNATURE-----