User Tools

Site Tools


wiki:components:pyhoca-cli

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
wiki:components:pyhoca-cli [2011/11/03 00:20]
sunweaver wiki:pyhoca-cli renamed to wiki:components:pyhoca-cli (Namespace cleanup)
wiki:components:pyhoca-cli [2013/03/08 13:31]
127.0.0.1 external edit
Line 1: Line 1:
-====== Usage of PyHoca-CLI (X2go command line client) ======+====== PyHoca-CLI - Download/Installation & Usage ======
  
 The name PyHoca is a word play combining two powerful entities: Python and Phoca (mascot of X2go, Latin species name for seals).  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 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 is a client implementation for X2Go using [[wiki:libs:python-x2go|the project's Python API]] (Python module). PyHoca-CLI can be operated completely from the command line and the goal is to reflect the full functionality spectrum of [[wiki:libs:python-x2go]]. 
  
-===== PyHoca-CLI Command Line Arguments =====+===== Download/Installation ===== 
 + 
 +==== Debian GNU/Linux ==== 
 + 
 +PyHoca-CLI can be installed from the X2Go package repository. [[:wiki:x2go-repository-debian|Add the X2Go repository for Debian to your APT system]] before you continue. 
 + 
 +==== Ubuntu GNU/Linux ==== 
 + 
 +PyHoca-CLI can be installed from X2Go PPA on Launchpad. [[:wiki:x2go-repository-ubuntu|Add the X2Go/stable PPA to your APT system]] before you continue. 
 + 
 +==== ==== 
 + 
 +After adding either of the above package sources to your Debian/Ubuntu system you will need to update your system with the new repository information by starting a terminal and execute the following commands (on Debian make sure you have sudo installed and configured): 
 + 
 +<code> 
 +$ sudo aptitude update 
 +$ sudo aptitude install pyhoca-cli 
 +</code> 
 + 
 +==== 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://code.x2go.org/releases/source/pyhoca-cli, please choose the newest version available there and also consult the README.recommended file (if available) at the same location. 
 + 
 +Before installation make sure your system fulfills the (Python module) dependencies for PyHoca-CLI, amongst others: python-x2go, python-paramiko, python-gevent, python-greenlet, python-setproctitle, python-argparse.  
 + 
 +If you have seen to installing required dependencies, extract the source tarball and run the Python installation script: 
 + 
 +<code> 
 +tar -vzxf pyhoca-cli_<version>.tar.gz 
 +cd pyhoca-cli_<version> 
 +python setup.py install 
 +</code> 
 + 
 +There also is a good from-source [[wiki:development:build-howto-linux:pyhoca-cli|PyHoca-CLI build+installation howto]] in the development area of this 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.  PyHoca-CLI has a man page. 
Line 21: Line 67:
 Note: On Windows systems the ''--password'' option is disabled, and so not available. Note: On Windows systems the ''--password'' option is disabled, and so not available.
  
-===== Starting PyHoca-CLI =====+==== 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: 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:
Line 35: Line 81:
 </code> </code>
  
-===== Desktop Sharing with PyHoca-CLI =====+==== Desktop Sharing with PyHoca-CLI ====
  
 To share an already running local or remote X2go desktop session of user //foo// on X2go server ''myserver.local'' with PyHoca-CLI open a terminal window and execute the following commands: To share an already running local or remote X2go desktop session of user //foo// on X2go server ''myserver.local'' with PyHoca-CLI open a terminal window and execute the following commands:
Line 81: Line 127:
 </code> </code>
  
-And if another user //bar// on your X2go server has enabled desktop sharing (more info [[x2godesktopsharing|here]]), then you could use this command to let user //foo// view user //bar//'s desktop session...+And if another user //bar// on your X2go server has enabled desktop sharing (more info [[:wiki:components:desktop-sharing|here]]), then you could use this command to let user //foo// view user //bar//'s desktop session...
  
 <code> <code>
Line 90: Line 136:
 ===== Further Readings ===== ===== Further Readings =====
  
-Please also consult further README and TODO documentation in the PyHoca-CLI to Git project (X2go upstream site):+Please also consult further README and TODO documentation in the PyHoca-CLI Git project (X2go upstream site):
 http://code.x2go.org/gitweb?p=pyhoca-cli.git;a=tree http://code.x2go.org/gitweb?p=pyhoca-cli.git;a=tree