This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:components:pyhoca-cli [2013/03/08 13:31] 127.0.0.1 external edit |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== PyHoca-CLI - Download/ | ||
- | The name PyHoca is a word play combining two powerful entities: Python and Phoca (mascot of X2go, Latin species name for seals). | ||
- | |||
- | PyHoca-CLI is a client implementation for X2Go using [[wiki: | ||
- | |||
- | ===== Download/ | ||
- | |||
- | ==== Debian GNU/Linux ==== | ||
- | |||
- | PyHoca-CLI can be installed from the X2Go package repository. [[: | ||
- | |||
- | ==== Ubuntu GNU/Linux ==== | ||
- | |||
- | PyHoca-CLI can be installed from X2Go PPA on Launchpad. [[: | ||
- | |||
- | ==== ==== | ||
- | |||
- | After adding either of the above package sources to your Debian/ | ||
- | |||
- | < | ||
- | $ sudo aptitude update | ||
- | $ sudo aptitude install pyhoca-cli | ||
- | </ | ||
- | |||
- | ==== Other GNU/Linux (from source tarball) ==== | ||
- | |||
- | Other GNU/Linux distributions can install PyHoca-CLI from source tarballs. The PyHoca-CLI tarball releases can be downloaded from http:// | ||
- | |||
- | Before installation make sure your system fulfills the (Python module) dependencies for PyHoca-CLI, amongst others: python-x2go, | ||
- | |||
- | If you have seen to installing required dependencies, | ||
- | |||
- | < | ||
- | tar -vzxf pyhoca-cli_< | ||
- | cd pyhoca-cli_< | ||
- | python setup.py install | ||
- | </ | ||
- | |||
- | There also is a good from-source [[wiki: | ||
- | |||
- | ==== MS Windows ==== | ||
- | |||
- | A PyHoca-CLI installer for MS Windows is planned, but not available, yet. | ||
- | |||
- | ==== MacOS ==== | ||
- | |||
- | A PyHoca-CLI installer for MacOS is planned, but not available, yet. | ||
- | |||
- | |||
- | ===== Usage ===== | ||
- | |||
- | ==== PyHoca-CLI Command Line Arguments ==== | ||
- | |||
- | PyHoca-CLI has a man page. | ||
- | |||
- | On your GNU/Linux system execute | ||
- | |||
- | $ man pyhoca-cli | ||
- | |||
- | An always up-to-date html version of the pyhoca-cli man page can be be retrieved from the X2go Git repository: [[http:// | ||
- | |||
- | //Security notice:// amongst many options PyHoca-CLI offers a '' | ||
- | |||
- | The '' | ||
- | |||
- | Note: On Windows systems the '' | ||
- | |||
- | ==== Starting PyHoca-CLI ==== | ||
- | |||
- | To start an X2go session for remote user '' | ||
- | |||
- | < | ||
- | $ pyhoca-cli --server myserver.local -N -c GNOME --user //foo// --add-to-known-hosts | ||
- | </ | ||
- | |||
- | If you have a valid X2go session profile configuration ($HOME/ | ||
- | |||
- | < | ||
- | $ pyhoca-cli --session-profile MyProfile | ||
- | </ | ||
- | |||
- | ==== Desktop Sharing with PyHoca-CLI ==== | ||
- | |||
- | To share an already running local or remote X2go desktop session of user //foo// on X2go server '' | ||
- | |||
- | < | ||
- | $ pyhoca-cli --server myserver.local --list-desktops --user foo --add-to-known-hosts | ||
- | </ | ||
- | |||
- | Now a list of available/ | ||
- | |||
- | < | ||
- | someone@client: | ||
- | pyhoca-cli[20238] NOTICE: preparing requested X2go session | ||
- | pyhoca-cli[20238] (PyHocaCLI) NOTICE: preparing requested X2go session | ||
- | pyhoca-cli[20238] (x2gosessregistry-pylib) NOTICE: registering X2go session Pyhoca-Client_Session... | ||
- | pyhoca-cli[20238] (x2goclient-pylib) NOTICE: initializing X2go session... | ||
- | pyhoca-cli[20238] (x2gocontrolsession-pylib) NOTICE: connecting to myserver.local | ||
- | |||
- | X2go desktops available for sharing | ||
- | =================================== | ||
- | Host: myserver.local - [< | ||
- | Username: foo | ||
- | |||
- | foo@:0 | ||
- | foo@:51 | ||
- | bar@:52 | ||
- | </ | ||
- | |||
- | To view // | ||
- | |||
- | < | ||
- | someone@client: | ||
- | </ | ||
- | |||
- | The next change in the command line ('' | ||
- | |||
- | < | ||
- | someone@client: | ||
- | </ | ||
- | |||
- | If //foo// is logged in via X2go on desktop '' | ||
- | |||
- | < | ||
- | someone@client: | ||
- | </ | ||
- | |||
- | And if another user //bar// on your X2go server has enabled desktop sharing (more info [[: | ||
- | |||
- | < | ||
- | someone@client: | ||
- | </ | ||
- | |||
- | |||
- | ===== Further Readings ===== | ||
- | |||
- | Please also consult further README and TODO documentation in the PyHoca-CLI Git project (X2go upstream site): | ||
- | http:// | ||
- |