[X2go-Dev] PROPOSAL: X2go session cache deletion (client-side)
Mike Gabriel
mike.gabriel at das-netzwerkteam.de
Fri Jul 29 10:39:38 CEST 2011
Hi all,
for post-Baikal coding here the first proposal to get rid of (or
minimize) the lost .x2go/<session> directories:
1.
Place file ,,profilename'' in the .x2go/<session-name> directory to
become able to relate between server and client.
2.
When connecting to an X2go server do the following:
o do everything from now in background, 2 minutes after the session has
started
o get a session list from the server
o check local session directories in .x2go/ for matching sessions
o for any session that is in R or S state on the server: keep the local
session directory
o for any other session directory on the client that contains a profilename
file with the currently connected profilename in it: remove the local
session directory as the session is obviously not valid any more on the
server
3.
On session profile renames: remove all cached .x2go/<session>
directories for the old session profile name.
Feedback!!!
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/2dede46f/attachment.pgp>
More information about the x2go-dev
mailing list