On 2012-11-08 22:28, Ralf Hemmecke wrote:
For single-host installations this is done using a sqlite database owned by x2gouser. It is accessed using the sbit-mechanism. Thanks. In other words. Assume, I want to do a rootless installation as user foouser. Then I would probably have to rewrite the sources so that foouser is also responsible for this sqlite database (of course only for sessions of foouser, i.e. this DB then lives somewhere under $HOME/.x2go).
Nope. Foouser maintains his own database. You might even get quite far using a text file.
This is only due to the convenience having the same interface for multi-server as well as local installations. I don't understand what exactly you mean by multi-server and local installation. But maybe it's irrelevant for me anyway.
Multiserver: Load balacing, you get a server assigned that has little load. Later you get reconnected to that server.
Now could you even tell me approximatly in which files I would have to look?
/usr/lib/x2go/* They are less then 2000 lines of code! Shouldn't be too much work to read through them. And of course all files with static paths in them. Please keep in mind that you probably want your changes go upstream. Thus try to find a solution that does not break the current setup.
And another question. Does the x2goclient know that an x2gouser exists on the server. Hopefully I only have to deal with the server side.
It might be, that you need to adjust the search path of the client, but that shouldn't be too difficult.
Cheers Morty
-- Dipl.-Ing. Moritz 'Morty' Struebe (Wissenschaftlicher Mitarbeiter) Lehrstuhl für Informatik 4 (Verteilte Systeme und Betriebssysteme) Friedrich-Alexander-Universität Erlangen-Nürnberg Martensstr. 1 91058 Erlangen
Tel : +49 9131 85-25419 Fax : +49 9131 85-28732 eMail : struebe@informatik.uni-erlangen.de WWW : http://www4.informatik.uni-erlangen.de/~morty