[X2Go-Dev] X2Go support in Q4OS

Michael DePaulo mikedep333 at gmail.com
Sat May 30 00:10:36 CEST 2015


On Fri, May 29, 2015 at 10:33 AM, Mike Gabriel
<mike.gabriel at das-netzwerkteam.de> wrote:
> On  Fr 29 Mai 2015 15:55:06 CEST, Ulrich Sibiller wrote:
>
>> On Fri, May 29, 2015 at 3:39 PM, Q4OS Team <info at q4os.org> 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.
>>
>> Uli

Because 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/*.desktop
>

I'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]

(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 .

[1] https://bugzilla.gnome.org/show_bug.cgi?id=731173
[2] https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1251281

> Or more generic:
>
>   /usr/share/xsessions-remote/*.desktop
>
> Mike

That's a valid point. We should discuss with FreeDesktop.org though.

-Mike


More information about the x2go-dev mailing list