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

John A. Sullivan III jsullivan at opensourcedevel.com
Sat Jul 30 23:59:07 CEST 2011


On Fri, 2011-07-29 at 11:04 +0200, Mike Gabriel wrote:
> 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...
> 
<snip>
I would also like to see it NX independent.  I could see us integrating
SPICE within a year - John




More information about the x2go-dev mailing list