[X2go-Dev] New session param for .x2goclient/sessions file (was Re: Change Title of Frontend of Pyhoca)

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Wed Nov 30 13:30:24 CET 2011


Hi Alex,

On Mi 30 Nov 2011 13:15:19 CET Oleksandr Shneyder wrote:

> I don't like it. As result you can get a wrong behaviour of a client, if
> you starting a session with new client and resuming it with old one. I
> don't think, that this feature is important enough to break
> compatibility with old versions of clients.
>

I have reverted the server-side changes in x2gostartagent. Instead, I  
have changed x2gostartagent in a way that it will check for the  
x2gofeature X2GO_FEATURE_SESSIONTITLE and if that is available it will  
call a subscript.

This feature X2GO_FEATURE_SESSIONTITL and the corresponding subscript  
,,x2gosessiontitle'' are part of a new extension package I have added  
to x2goserver and called: x2goserver-pyhoca, an add-on package to  
improve functionality of pyhoca-gui and pyhoca-cli. This package will  
only be suggested by the core x2goserver package, so it will not be  
installed if people do not actively select it for installation.

This package currently contains two scripts only used by pyhoca:

   x2gosessiontitle
   x2gosetkeyboard

The x2gosessiontitle subscript will then only generate a custom  
session title if the env var X2GO_FEATURE_SESSIONTITLE is set to  
,,enabled''. This has to be done from the client when launching  
x2gostartagent.

I hope this approach allows us to keep the session title functionality  
and stay also compatible with old client implementations and between  
pyhoca and x2goclient.

Let me know what you think,
Mike



-- 

DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419

GnuPG Key ID 0xB588399B
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20111130/d3d816ef/attachment.pgp>


More information about the x2go-dev mailing list