[X2go-Dev] PROPOSAL: X2go session cache deletion (client-side)

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Fri Jul 29 11:04:19 CEST 2011


Hi Morty,

On Fr 29 Jul 2011 10:55:27 CEST Moritz Struebe wrote:

> On 2011-07-29 10:39, Mike Gabriel wrote:
>>
>> 1.
>> Place file ,,profilename'' in the .x2go/<session-name> directory to
>> become able to relate between server and client.
>
> Why is this needed?
> I do think we must relate a session profile to a server, though.
> Especially when using a shared home, but a local sqlite database.

Currently we do not know which .x2go/<session> dir belongs to what  
session profile (=server) if the server-side session has terminated.  
That is: if the server-side session has vanished, we do not know if an  
.x2go/<session> is actually a terminated session on session profile A  
or a still running session on session profile B.

We could also look for entries in session.log that inform about a  
terminated session:

mike at mimino:~/.x2go$ grep -ri "session terminated" *
S-locadm-50-1311057154_stDGNOME_dp24/session.log:Session: Session  
terminated at 'Tue Jul 19 08:33:13 2011'.
S-locadm-51-1311437782_stDGNOME_dp24/session.log:Session: Session  
terminated at 'Sat Jul 23 16:49:39 2011'.
S-locadm-52-1309380386_stDGNOME_dp24/session.log:Session: Session  
terminated at 'Wed Jun 29 21:42:50 2011'.
S-locadm-52-1311438419_stDGNOME_dp24/session.log:Session: Session  
terminated at 'Sat Jul 23 17:06:20 2011'.
S-locadm-61-1311281243_stDGNOME_dp24/session.log:Session: Session  
terminated at 'Sat Jul 23 16:43:56 2011'.
S-locadm-61-1311281243_stDGNOME_dp24/session.log:Session: Session  
terminated at 'Sat Jul 23 17:14:09 2011'.

However, what I do not like about this last approach is: it is NX  
specific. I would rather like some x2go specific method to grip here...

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/20110729/e0558b65/attachment.pgp>


More information about the x2go-dev mailing list