Hi Mike#2 On Sa 30 Mai 2015 00:10:36 CEST, Michael DePaulo wrote:
On Fri, May 29, 2015 at 10:33 AM, Mike Gabriel <[email protected]> wrote:On Fr 29 Mai 2015 15:55:06 CEST, Ulrich Sibiller wrote:On Fri, May 29, 2015 at 3:39 PM, Q4OS Team <[email protected]> wrote:Pretty quick, thanks .. the most preferred way to install X2Go Server in Q4OS is to use specific installer from 'Software Centre'. It will add debian-baikal repos and install X2Go Server from. We instructs our customers to set 'start-q4os-x2go' as 'Custom' command in Session preferences in X2Go Client now. It works perfectly for Trinity/Q4OS. So the new feature could be accessible for most Q4OS users after transition into the new Server's branch, when baikal lifetime cycle will finish.What about a directory (e.g. /etc/x2go/distsessions.d) where distributions can add additional session type files. This way any distribution / desktop environment can simply add their session without having to ask anyone for inclusion in the x2go packages. UliBecause unlike Thinlinc for example, the user selects the session type in X2Go Client before connecting, not after connecting. This would work, but it would require the user to manually type in the session type unless it is an already listed session type in X2Go Client. It would be very useful for letting system administrators override the session command though. Reportedly, FreeNX supports overrides via a file under /etc/.Why not do it the freedesktop.org way finally /usr/share/xsessions/*.desktop ? Of course, it may come in handy to have a second location, that is X2Go specific: /usr/share/x2gosessions/*.desktopI've been thinking about this lately. X2Go often must launch a different command than what the local display server must launch. The best example is that gnome flashback under X2Go needs gnome-session to be launched with --disable-acceleration-check. This applies to gnome-session 3.16 or later[1], or gnome-session 3.8 in ubuntu 14.04 with the latest update applied.[2]
At the end of the day, those files need to be shipped by gnome-session, mate-session and the other various desktop shell package. Thus, we need to make upstream aware of such implementations. Once, the various desktop shell upstreams have become aware of such files (which requires a freedesktop.org spec, see below), we will not have to worry about the various differences anymore, because the different upstream versions of different desktop shell (versions) will (hopefully) always ship the correct remote session's .desktop file.
For the interim, we may be able to provide a set of extra-packages that will provide support for those .desktop files. But the interim phase should be kept rather short.
(I am about to write a fix for x2goserver to accommodate gnome flashback in Ubuntu 14.04. I will send a separate email about this.) So yes, we could do this, but we need /usr/share/x2gosessions/foo.desktop to take precedence over /usr/share/xsessions/foo.desktop .
Of course.
[1] https://bugzilla.gnome.org/show_bug.cgi?id=731173 [2] https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1251281Or more generic: /usr/share/xsessions-remote/*.desktop MikeThat's a valid point. We should discuss with FreeDesktop.org though.
Let's put that on the agenda for the X2Go Gathering. One of us needs to get in contact with the freedesktop people some time earlier or later.
Mike -- DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148 GnuPG Key ID 0x25771B31 mail: [email protected], http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
pgpGuwzxALTVh.pgp
Description: Digitale PGP-Signatur
_______________________________________________ x2go-dev mailing list [email protected] http://lists.x2go.org/listinfo/x2go-dev
