Hello X2Go developers,
we are developing Q4OS distribution based on Trinity DE. We want to support the great X2Go product in our distro as perfect as possible, I would like to ask you, if it would be possible to add Q4OS item into X2Go Client 'session type' combobox. I don't know exactly the background, but suppose to add our startup session script '/usr/bin/start-q4os-x2go' into the Client source code.
with the best, Pete, Q4OS Team
Hi Pete
On 27.05.2015 10:10 AM, Q4OS Team wrote:
we are developing Q4OS distribution based on Trinity DE. We want to support the great X2Go product in our distro as perfect as possible, I would like to ask you, if it would be possible to add Q4OS item into X2Go Client 'session type' combobox. I don't know exactly the background, but suppose to add our startup session script '/usr/bin/start-q4os-x2go' into the Client source code.
Generally possible, sure. But Q4OS is supposed to be using Trinity, right? So you'd really be interested in a Trinity menu entry. This one does already exist.
What is /usr/bin/start-q4os-x2go supposed to do?
As long as the required (X2Go) packages are available on Q4OS, it should be working out of the box with Trinity and I don't see any reason to add another menu entry just for Q4OS. Unless I'm missing something?
Mihai
Hi Pete,
On Thu, May 28, 2015 at 9:51 PM, Mihai Moldovan <ionic@ionic.de> wrote:
Hi Pete
On 27.05.2015 10:10 AM, Q4OS Team wrote:
we are developing Q4OS distribution based on Trinity DE. We want to support the great X2Go product in our distro as perfect as possible, I would like to ask you, if it would be possible to add Q4OS item into X2Go Client 'session type' combobox. I don't know exactly the background, but suppose to add our startup session script '/usr/bin/start-q4os-x2go' into the Client source code.
Generally possible, sure. But Q4OS is supposed to be using Trinity, right? So you'd really be interested in a Trinity menu entry. This one does already exist.
What is /usr/bin/start-q4os-x2go supposed to do?
As long as the required (X2Go) packages are available on Q4OS, it should be working out of the box with Trinity and I don't see any reason to add another menu entry just for Q4OS. Unless I'm missing something?
Mihai
In addition to what Mihai said, we can also modify the behavior of x2goserver to launch /usr/bin/start-q4os-x2go supposed if the user selects "TRINITY" in x2goclient, but x2goserver detects that it is running on Q4OS.
We are already launching different GNOME and UNITY commands depending upon what Linux distro you are using.
This is the x2goruncommand bash script in x2goserver 4.0.1.19. Our lines for launching trinity are 197 & 198. Our lines for launching GNOME or Unity are 93 through 167 (including comments & whitespace). You don't need to read through all those lines; just note that we have flexibility in x2goserver. http://code.x2go.org/gitweb?p=x2goserver.git;a=blob;f=x2goserver/bin/x2gorun...
-Mike#2
Hi Mike, Mihai,
On 05/29/2015 04:31 AM, Michael DePaulo wrote:
Hi Pete,
On Thu, May 28, 2015 at 9:51 PM, Mihai Moldovan <ionic@ionic.de> wrote:
Hi Pete
On 27.05.2015 10:10 AM, Q4OS Team wrote:
we are developing Q4OS distribution based on Trinity DE. We want to support the great X2Go product in our distro as perfect as possible, I would like to ask you, if it would be possible to add Q4OS item into X2Go Client 'session type' combobox. I don't know exactly the background, but suppose to add our startup session script '/usr/bin/start-q4os-x2go' into the Client source code. Generally possible, sure. But Q4OS is supposed to be using Trinity, right? So you'd really be interested in a Trinity menu entry. This one does already exist.
What is /usr/bin/start-q4os-x2go supposed to do?
As long as the required (X2Go) packages are available on Q4OS, it should be working out of the box with Trinity and I don't see any reason to add another menu entry just for Q4OS. Unless I'm missing something?
Mihai In addition to what Mihai said, we can also modify the behavior of x2goserver to launch /usr/bin/start-q4os-x2go supposed if the user selects "TRINITY" in x2goclient, but x2goserver detects that it is running on Q4OS.
We are already launching different GNOME and UNITY commands depending upon what Linux distro you are using.
This is the x2goruncommand bash script in x2goserver 4.0.1.19. Our lines for launching trinity are 197 & 198. Our lines for launching GNOME or Unity are 93 through 167 (including comments & whitespace). You don't need to read through all those lines; just note that we have flexibility in x2goserver. http://code.x2go.org/gitweb?p=x2goserver.git;a=blob;f=x2goserver/bin/x2gorun...
-Mike#2
As long as the required (X2Go) packages are available on Q4OS, it should be working out of the box with Trinity. Unfortunately no, Q4OS needs to set env and take some tasks before launch a session. This is what our script does, see below.
What is /usr/bin/start-q4os-x2go supposed to do? This is small dash compatible script, it takes some Q4OS specific tasks, set Q4OS environment and then launches default Trinity 'starttde' script.
We can also modify the behavior of x2goserver to launch /usr/bin/start-q4os-x2go supposed if the user selects "TRINITY" in x2goclient Both methods look nice. I suppose the best way to detect Q4OS is to simply check /usr/bin/start-q4os-x2go to exist.
Pete
On Fri, May 29, 2015 at 3:33 AM, Q4OS Team <info@q4os.org> wrote:
Hi Mike, Mihai,
On 05/29/2015 04:31 AM, Michael DePaulo wrote:
Hi Pete,
On Thu, May 28, 2015 at 9:51 PM, Mihai Moldovan <ionic@ionic.de> wrote:
[...]
As long as the required (X2Go) packages are available on Q4OS, it should be working out of the box with Trinity. Unfortunately no, Q4OS needs to set env and take some tasks before launch a session. This is what our script does, see below.
What is /usr/bin/start-q4os-x2go supposed to do? This is small dash compatible script, it takes some Q4OS specific tasks, set Q4OS environment and then launches default Trinity 'starttde' script.
We can also modify the behavior of x2goserver to launch /usr/bin/start-q4os-x2go supposed if the user selects "TRINITY" in x2goclient Both methods look nice. I suppose the best way to detect Q4OS is to simply check /usr/bin/start-q4os-x2go to exist.
Pete
I just made a commit to x2goserver on both the release/4.0.1.x branch (which will become 4.0.1.20) and the master branch (which will become 4.1.0.0) to do that: release/4.0.1.x: http://code.x2go.org/gitweb?p=x2goserver.git;a=commit;h=c8cee419bca5126323ab... master: http://code.x2go.org/gitweb?p=x2goserver.git;a=commit;h=9ec47ce0dfe7a9d4895d...
BTW, how does Q4OS install X2Go exactly? I downloaded the Q4OS 1.2.2 x64 iso. I don't see any x2goserver package, but I do see x2go-keyring_2011.12.07+wheezy~baikal~12~build1_all.deb . If Q4OS is accessing the baikal apt repo under http://packages.x2go.org/debian/ , then that is a problem because baikal provides x2goserver 4.0.0.x, which does not support trinity.
-Mike#2
On 05/29/2015 02:36 PM, Michael DePaulo wrote:
On Fri, May 29, 2015 at 3:33 AM, Q4OS Team <info@q4os.org> wrote:
Hi Mike, Mihai,
On 05/29/2015 04:31 AM, Michael DePaulo wrote:
Hi Pete,
On Thu, May 28, 2015 at 9:51 PM, Mihai Moldovan <ionic@ionic.de> wrote: [...] As long as the required (X2Go) packages are available on Q4OS, it should be working out of the box with Trinity. Unfortunately no, Q4OS needs to set env and take some tasks before launch a session. This is what our script does, see below.
What is /usr/bin/start-q4os-x2go supposed to do? This is small dash compatible script, it takes some Q4OS specific tasks, set Q4OS environment and then launches default Trinity 'starttde' script.
We can also modify the behavior of x2goserver to launch /usr/bin/start-q4os-x2go supposed if the user selects "TRINITY" in x2goclient Both methods look nice. I suppose the best way to detect Q4OS is to simply check /usr/bin/start-q4os-x2go to exist.
Pete I just made a commit to x2goserver on both the release/4.0.1.x branch (which will become 4.0.1.20) and the master branch (which will become 4.1.0.0) to do that: release/4.0.1.x: http://code.x2go.org/gitweb?p=x2goserver.git;a=commit;h=c8cee419bca5126323ab... master: http://code.x2go.org/gitweb?p=x2goserver.git;a=commit;h=9ec47ce0dfe7a9d4895d...
BTW, how does Q4OS install X2Go exactly? I downloaded the Q4OS 1.2.2 x64 iso. I don't see any x2goserver package, but I do see x2go-keyring_2011.12.07+wheezy~baikal~12~build1_all.deb . If Q4OS is accessing the baikal apt repo under http://packages.x2go.org/debian/ , then that is a problem because baikal provides x2goserver 4.0.0.x, which does not support trinity.
-Mike#2
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.
Pete
On Fri, May 29, 2015 at 3:39 PM, Q4OS Team <info@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
On Fr 29 Mai 2015 15:55:06 CEST, Ulrich Sibiller wrote:
On Fri, May 29, 2015 at 3:39 PM, Q4OS Team <info@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
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
Or more generic:
/usr/share/xsessions-remote/*.desktop
Mike
--
DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
On Fri, May 29, 2015 at 10:33 AM, Mike Gabriel <mike.gabriel@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@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
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 <mike.gabriel@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@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]
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/1251281
Or more generic:
/usr/share/xsessions-remote/*.desktop
Mike
That'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: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...