On Wed, 2010-09-08 at 13:57 +0200, Kevin Moellering wrote: > > Am 09.08.2010 17:12, schrieb contact at gmli.fr: > > > Hi, > > > > > > I would like to do two things : > > > > > > - prevent users from suspending their session > > > - prevent users from resuming their session > > > > You should take care about the *bindings packages - if you are using > > kde, you should not execute the command "updatelockbutton". > > The postgresdb/sqlitedb is used for sessionresuming. If you make sure, > > that "x2golistsessions" won't return any running sessions, no session > > will be returned. > > > Hello everybody, > > after reading the archives of the mailing list I'm still not completely > sure if there actually exists a functionality that cleans up sessions of > users that are inactive for X hours. > > Now I decided to completely prevent users from suspending their > sessions. I read the entry from Heinz-M. Graesing which he made on > Sunday, the 9th of August 2010, but as far as i can see this does not > prevent users from suspending their session when hitting the X on the > upper right of the x2go window. > Wouldn't it also be a feasible workaround to overwrite > /usr/bin/x2gosuspend-session with /usr/bin/x2goterminate-session? <snip> That would seem to be reasonable. I suppose it would be safest to look at the source and see what the closeEvent() does to see if it calls x2gosuspend. I think that's the method Qt will call when the dialog "x" is clicked - John
_______________________________________________ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev