This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
wiki:components:pyhoca-cli [2013/03/11 12:25] sunweaver |
wiki:components:pyhoca-cli [2013/03/11 12:43] sunweaver |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | + | This page has been splitted | |
- | ===== Usage ===== | + | |
- | + | ||
- | ==== PyHoca-CLI Command Line Arguments ==== | + | |
- | + | ||
- | PyHoca-CLI | + | |
- | + | ||
- | On your GNU/Linux system execute | + | |
- | + | ||
- | $ man pyhoca-cli | + | |
- | + | ||
- | An always | + | |
- | + | ||
- | //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://code.x2go.org/ | + | |
- | + |