[X2Go-Dev] x2goclient.exe - Saving session settings to registry

newsgroups.mail2 at stefanbaur.de newsgroups.mail2 at stefanbaur.de
Tue Feb 21 16:42:43 CET 2012


Am 21.02.2012 16:38, schrieb Daniel Lindgren:
>>> I haven't tried the
>>> --portable option in Windows, hopefully it allows you to start a
>>> session from the command line (or a shortcut) by specifying the
>>> session file.
>> That is independent of --portable, as far as I can tell from x2goclient.exe
>> --help, so it *should* (IOW, I haven't tested it) be possible with settings
>> saved in the registry as well: The parameter to do that is
>> --session=<session>, where<session>  is the ID-string of a session saved
>> either in a sessions file or in the registry.
> Yep, it does work with registry settings but you then specify the
> *name* of the session, that becomes impractical if you use files to
> store the session, you would have to parse through all session files
> to see which one contains the session you want to start. Not a problem
> if you have a few files stored locally, probably not ideal if you have
> a (slow) network folder with hundres of session files.
<snip>

Ah, sorry, I got that wrong: there is --session and --sessionid (this 
one gets used when you select the option to create a desktop shortcut 
from the drop-down menu)

IMO, there should be at most one "sessions" file per user.

-Stefan



More information about the x2go-dev mailing list