This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
usage:pyhoca-cli [2013/03/11 22:10] sunweaver [Desktop Sharing with PyHoca-CLI] |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Using PyHoca-CLI ====== | ||
- | 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: | ||
- | |||
- | ===== 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 ====== | ||
- | |||
- | For further readings, please the README and TODO documentation files in the PyHoca-CLI source tree on the [[http:// | ||
- |