[X2Go-Dev] ATTN: Alex - Questions regarding x2goclient.exe --portable and session specification
Oleksandr Shneyder
oleksandr.shneyder at obviously-nice.de
Wed Feb 15 13:54:47 CET 2012
Am 14.02.2012 15:29, schrieb newsgroups.mail2 at stefanbaur.de:
> Hi Alex,
>
> I noticed that x2goclient.exe can be called with --portable to make it
> use a session file rather than Windows registry entries.
if running with --portable option, x2goclient should not save data in
registry. But you should also specify a "--home" parameter.
> Is it possible to specify the location of the session file?
Yes, with "--home" parameter you can specify a folder, that should be
used as home directory. All X2Go data (ssh files, x2goclient settings,
sessions, etc) will be read from this directory and written into this
directory. On windows, if using this parameter, for x2goclient settings
will be used not registry, but the ini files in "home"/.x2goclient/
(same way as for x2goclient on linux). You can also specify for windows
a drive label in brackets instead of drive letter for example:
(x2godrive):/x2goclient/
instead of
D:/x2goclient
x2goclient --portable --home=(x2godrive):/x2goclient/
it is useful if you using flash drive with portable x2goclient and you
don't know the letter which will be assumed by windows for this drive.
> Is there a way to export/import sessions from the registry to a sessions
> file and back?
no
> Is there any kind of documentation as to which command line options are
> available *specifically with the Windows x2go client*?
sorry, only --help command line option. I plan to change many options
and implement some new in next release of x2goclient. The same is for
documentation.
> By the way, the message that is shown after "x2goclient.exe --help" is
> too large to fit on my screen. It doesn't have scroll bars, and there's
> no way to resize that window, either. I have to use Ctrl-A, Ctrl-C to
> copy the message to the clipboard, then hit space to "click" the OK
> button that is outside of my screen, then paste the clipboard content
> into a text editor if I want to read all of it...
> Also, is it possible to connect without a session file/registry entry,
> by specifying all required parameters on the command line?
no, you can only specify the name of preconfigured session with
"--session" or id of session (from ini file or registry) with
"--session-id". Perhaps I will implement such feature in future.
> if so, what are the minimum required parameters for that? Whenever I try
> to pass parameters, x2goclient.exe simply returns me to the command
> line. :-(
> The only parameters that seem to cause a response are "--help",
> "--maximize" and "--hide"...
there are unary and binary parameters for x2goclient
unary:
--maximize
--no-menu
binary:
--link=adsl
--pack=16m-jpeg-9
the format of binary parameters is not usual for POSIX systems. I will
definitive change this in next release.
> -Stefan
> _______________________________________________
> X2Go-Dev mailing list
> X2Go-Dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/x2go-dev
regards,
Alex
--
Oleksandr Shneyder
Dipl. Informatik
X2go Core Developer Team
email: oleksandr.shneyder at obviously-nice.de
web: www.obviously-nice.de
--> X2go - everywhere at home
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20120215/042fa0c8/attachment.pgp>
More information about the x2go-dev
mailing list