-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
On 04/29/2012 12:22 AM, Mike Gabriel wrote:
Hi all,
with Ubuntu precise launching an X2Go session named ,,GNOME'' results in a UNITY-2D desktop session.
First thing: it is nice to have Unity available via X2Go.
Second thing: it is a PITA that starting ,,gnome-session'' ends up with the UNITY shell. If we say GNOME in the client we should end up with GNOME(3).
@devs: ------ Currently, the client-side translates the session profile <command> (GNOME, KDE, ...) into the server-side command (gnome-session, startkde). For single applications this translation is done within x2goruncommand.
I would like to suggest to move this translation into x2goruncommand completely. Allowing the server-side to detect what actual command has to be executed for ,,GNOME'' or ,,KDE'' or <OTHER> will be much more handy than making the client-side aware of the server's operating system, shell, Xsession files, etc.
Your opinions, please!!!
Greets, Mike
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:
The names match entries in /usr/share/gnome-session/sessions/
It's also generally recommended to start these sessions through /etc/X11/Xsession or some things won't be set properly (gconf/dconf profile being the most annoying one).
I'm usually using: export DESKTOP_SESSION=gnome-fallback /etc/X11/Xsession "gnome-session --session=$DESKTOP_SESSION"
This simulates what gdm/lightdm do and make all the Xsessions script do the right thing and finally calling gnome-session with the right session. (DESKTOP_SESSION is used by gconf to change the default settings depending on the session).
Hope that helps you get a clear picture of how that all works and let you get good support for that in x2go. I had to dig into that lately when fixing some bugs in LTSP and in Weblive (with both x2go and NX).
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/
iQIcBAEBCgAGBQJPnUebAAoJEMY4l01keS1nNx4QAISKX1vw/Ciuz3JLyF2lhLwP BM5dHtOo3LUowbvBao9DK8HYa44C+DPuZdq+E788vei5NRI1DW+qaLaT2LIhPstl BXhQjj8pPf4uhP5y/LDb434m09bJGrsWou3YS2rMwkcx8wQ14HtDBfB2WnqiNTmW UsoEmYJcgHfnDFEsU5oy8S+VyXi2wp56vTKfiO0YsyPZIkhApUdpqKkKq2qCbFBE jNxh8uot2D3UjZCsT3+9IuJp1igFapkS7PfJbTpAjldc+sP/+JaKO9Od05ySYCt4 000/RpmbG5qFLM+XNLZRGbWXtCNKLK4MF3j8AYja94ayVT9VrdBLwGnfCqWLmbFI L87TlyPB1T6CMy8J6qeWM0LZ1ZGzjGE00t7mfQqL0HKBgWrXJoPtJ4zBdoqRhepY dUZBUgC5DxOgdPY9VaeGrmMjpDUBjFNs+l2F2ACLqUsrktnQYLp86LkfNLehYuye KnE65tSi5jY/SOPPDmOiRTV2OU04cqIgmIVDgoNc/3iGxyYcM//l3rUC4TBRv7Ht gOmdINTLhXzEmadTLXgnGhXZRGVUhGzoZG3s18q3135TGPb38tWN4+6vmUbWyBHB +yla9b3YkB6UPk5VocTZDDadDTxTRdHGb2Bb6JHakBRDrqswsXkUVgNknhwNBLsQ 5YLNmaPLKp5BjxF88gWg =S0F0 -----END PGP SIGNATURE-----