[X2go-Dev] Command line alternatives to x2goclient-cli

Daniel Lindgren bd.dali at gmail.com
Wed Jul 27 14:56:40 CEST 2011


2011/7/27 Mike Gabriel <mike.gabriel at das-netzwerkteam.de>:
> How about this:
>
> pyhoca-cli --server <servername> -c GNOME -u <username> --kbd-layout se
> --kbd-type pc105/se -g 1238x929 --pack 16m-png-9

Yep, that did the trick, I can close the window. I copied most of the
command line from my x2goclient-cli aliases, where I've used
"--command gnome-session", probably been lucky to have it work there.

Are the session type options ("GNOME", "KDE" etc) documented
somewhere? I've tried to find them in man pages (x2goclient,
pyhoca-cli) and the wiki. BTW, in the man page for pyhoca-cli "-d" is
shown as a short form of both "--debug" and "--quiet".

I was wrong about the session terminating when the window is closed,
pyhoca-cli writes this to the terminal:

pyhoca-cli[2884] (PyHocaCLI) NOTICE: X2go session <session name> has terminated

But if I run x2golistsessions on the server, the session is suspended,
not terminated.

If I press Ctrl+C to suspend the session, pyhoca-cli writes this to
the terminal:

pyhoca-cli[2913] (PyHocaCLI) NOTICE: X2go session <session name> has
been suspended

That's probably the source of the confusion.

Anyway, with auto resume functionality pyhoca-cli will be able to
replace x2goclient-cli for me, perhaps with the added bonus of being
available on Windows too?

Cheers,
Daniel



More information about the x2go-dev mailing list