User Tools

Site Tools


wiki:components:pyhoca-cli

This is an old revision of the document!


Usage of PyHoca-CLI (X2go command line client)

PyHoca-CLI is a client implementation for X2go using the project's Python API (module) Python-X2go. PyHoca-CLI can be operated completely from the command line and the goal is to reflect the full functionality spectrum of Python-X2go.

PyHoca-CLI Command Line Arguments

PyHoca-CLI has a man page. An always up-to-date html version can be be retrieved from the X2go Git repository: man pyhoca-cli.

Security notice: amongst many options PyHoca-CLI offers a –password option. You should never use this password option from the command line, directly (as it will probably appear in the command history of your terminal shell). However, it might be handy for some of you to use this option when calling pyhoca-cli from within your own scripts.

The –password value (i.e. the actual password passed to PyHoca-CLI) will also be obfuscated in the process list of your system (*nix operating systems only).

Note: On Windows systems the –password option is disabled, and so not available.

Starting PyHoca-CLI

To start an X2go session for remote user foo on X2go server myserver.local with PyHoca-CLI open a terminal window and execute the following command:

$ pyhoca-cli --server myserver.local -N -c GNOME --user foo --add-to-known-hosts

Future features Roadmap

Note: not ordered by development priority

To be added:

  Embedded menu extension for PyHoca-GUI (Client retrieves a menu tree from a Server and allows the User to 
  start remote 'rootless' Applications from a GUI menu).
  Unity Desktop support to be added to PyHoca-GUI.
wiki/components/pyhoca-cli.1306092986.txt.gz · Last modified: 2013/03/08 13:31 (external edit)