A page in your DokuWiki was added or changed. Here are the details:
Date : 2013/03/11 12:43
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 Iceweasel/18.0.1
IP-Address : 46.142.155.137
Hostname : 137-155-142-46.pool.kielnet.net
Old Revision: http://wiki.x2go.org/doku.php/wiki:components:pyhoca-cli?rev=1363004700
New Revision: http://wiki.x2go.org/doku.php/wiki:components:pyhoca-cli
Edit Summary:
User : sunweaver
@@ -1,91 +1 @@
-
- ===== …
[View More]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://code.x2go.org/doc/pyhoca-cli/man/man1/pyhoca-cli.1.html|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:
-
- <code>
- $ pyhoca-cli --server myserver.local -N -c GNOME --user //foo// --add-to-known-hosts
- </code>
-
- If you have a valid X2go session profile configuration ($HOME/.x2goclient/sessions file) you can also use the ''--session-profile'' option. For a session profile in x2goclient's ''sessions'' file named
//MyProfile// use this command:
-
- <code>
- $ pyhoca-cli --session-profile MyProfile
- </code>
-
- ==== 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:
-
- <code>
- $ pyhoca-cli --server myserver.local --list-desktops --user foo --add-to-known-hosts
- </code>
-
- Now a list of available/sharable desktop sessions will be shown (your///foo//'s own desktops are always sharable), e.g. ''foo@:0'' (local desktop on the server):
-
- <code>
- someone@client:~$ pyhoca-cli --server myserver.local --list-desktops
- 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 - [<ip-address>]:<port>
- Username: foo
-
- foo@:0
- foo@:51
- bar@:52
- </code>
-
- To view //foo//'s local desktop session ''foo@:0'' use this command line:
-
- <code>
- someone@client:~$ pyhoca-cli --server myserver.local --share-desktop foo@:0 --user foo --add-to-known-hosts
- </code>
-
- The next change in the command line (''--share-mode 1'') will enable you to access //foo//'s local desktop in full (read-write) access mode...
-
- <code>
- someone@client:~$ pyhoca-cli --server myserver.local --share-desktop foo@:0 --share-mode 1 --user foo --add-to-known-hosts
- </code>
-
- If //foo// is logged in via X2go on desktop ''foo@:51'', you could connect to that desktop as well...
-
- <code>
- someone@client:~$ pyhoca-cli --server myserver.local --share-desktop foo@:51
--share-mode 1 --user foo --add-to-known-hosts
- </code>
-
- 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>
- someone@client:~$ pyhoca-cli --server myserver.local --share-desktop bar@:52 --user foo --add-to-known-hosts
- </code>
-
-
- ===== Further Readings =====
-
- 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
-
+ This page has been splitted up and moved to the usage and installation name space...
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
[View Less]
A page in your DokuWiki was added or changed. Here are the details:
Date : 2013/03/11 12:29
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 Iceweasel/18.0.1
IP-Address : 46.142.155.137
Hostname : 137-155-142-46.pool.kielnet.net
Old Revision: http://wiki.x2go.org/doku.php/wiki:x2go-repository-debian?rev=1363004924
New Revision: http://wiki.x2go.org/doku.php/wiki:x2go-repository-debian
Edit Summary: [Adding the needed Debian Repository to your …
[View More]system]
User : sunweaver
@@ -57,12 +57,12 @@
<code bash>
$ apt-get install x2go-keyring && apt-get update
</code>
- Now you can search for X2go related package that are now available for your APT system:
+ Now you can search for X2Go related package that are now available for your APT system:
<code bash>
$ apt-cache search x2go
</code>
Congratulations, you are now able to access the X2Go packages. You may continue by installing x2goserver, x2goclient or pyhoca-gui or
any other of the available packages.
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
[View Less]
A page in your DokuWiki was added or changed. Here are the details:
Date : 2013/03/11 12:28
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 Iceweasel/18.0.1
IP-Address : 46.142.155.137
Hostname : 137-155-142-46.pool.kielnet.net
Old Revision: http://wiki.x2go.org/doku.php/wiki:x2go-repository-debian?rev=1363004887
New Revision: http://wiki.x2go.org/doku.php/wiki:x2go-repository-debian
Edit Summary:
User : sunweaver
@@ -21,17 +21,17 @@
…
[View More] The following commands will ensure that your system will be able to work with the repository archive key. We have also provided our archive key and the X2Go maintainers' keys in a keyring package called ''x2go-keyring'' (see below). If you choose to install that package you can skip these first steps...
<code bash>
- apt-key adv --recv-keys --keyserver keys.gnupg.net E1F958385BFE2B6E
+ $ apt-key adv --recv-keys --keyserver keys.gnupg.net E1F958385BFE2B6E
</code>
Please add the
file ''x2go.list'' to the folder ''/etc/apt/sources.list.d/''.
This can be done unsing preferred editor (in this example ''nano'').
<code bash>
- nano /etc/apt/sources.list.d/x2go.list
+ $ editor /etc/apt/sources.list.d/x2go.list
</code>
Then add the X2Go repository (binaries and sources) as a couple of new lines (example for Debian squeeze):
@@ -48,21 +48,21 @@
Please perform an update of your APT package database:
<code bash>
- apt-get update
+ $ apt-get update
</code>
After the update you should be able to access the X2Go packages via the apt command family. As a first action you should install our ''x2go-keyring package and refresh the apt cache:
<code bash>
- apt-get install x2go-keyring && apt-get update
+ $ apt-get install x2go-keyring && apt-get update
</code>
Now you can search for X2go related package that are now available for your APT system:
<code bash>
- apt-cache search x2go
+ $ apt-cache search x2go
</code>
Congratulations, you are now able to access the X2Go packages. You may continue by installing x2goserver, x2goclient or pyhoca-gui or any other of the available packages.
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
[View Less]
A page in your DokuWiki was added or changed. Here are the details:
Date : 2013/03/11 12:28
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 Iceweasel/18.0.1
IP-Address : 46.142.155.137
Hostname : 137-155-142-46.pool.kielnet.net
Old Revision: http://wiki.x2go.org/doku.php/wiki:x2go-repository-debian?rev=1362938252
New Revision: http://wiki.x2go.org/doku.php/wiki:x2go-repository-debian
Edit Summary:
User : sunweaver
@@ -45,15 +45,15 @@
…
[View More] **Note:** If you have not got a folder ''/etc/apt/sources.list.d/'' add the lines to ''/etc/apt/sources.list''.
- Please perform an update on your debian package database:
+ Please perform an update of your APT package database:
<code bash>
apt-get update
</code>
- After the update you should be able to access the X2Go packages via the apt command. As a first action you should install our ''x2go-keyring package and refresh the apt cache:
+ After the update you should be able
to access the X2Go packages via the apt command family. As a first action you should install our ''x2go-keyring package and refresh the apt cache:
<code bash>
apt-get install x2go-keyring && apt-get update
</code>
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
[View Less]
A page in your DokuWiki was added or changed. Here are the details:
Date : 2013/03/11 12:25
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 Iceweasel/18.0.1
IP-Address : 46.142.155.137
Hostname : 137-155-142-46.pool.kielnet.net
Old Revision: ---
New Revision: http://wiki.x2go.org/doku.php/doc:installation:pyhoca-cli
Edit Summary: created
User : sunweaver
====== Installation of PyHoca-CLI ======
The name PyHoca is a word play combining two …
[View More]powerful entities: Python and Phoca (mascot of X2go, Latin species name for seals).
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]].
===== 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.
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
[View Less]
A page in your DokuWiki was added or changed. Here are the details:
Date : 2013/03/11 12:25
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 Iceweasel/18.0.1
IP-Address : 46.142.155.137
Hostname : 137-155-142-46.pool.kielnet.net
Old Revision: http://wiki.x2go.org/doku.php/wiki:components:pyhoca-cli?rev=1362749499
New Revision: http://wiki.x2go.org/doku.php/wiki:components:pyhoca-cli
Edit Summary:
User : sunweaver
@@ -1,53 +1,4 @@
- ====== …
[View More]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).
-
- 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]].
-
- ===== 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 ====
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
[View Less]
A page in your DokuWiki was added or changed. Here are the details:
Date : 2013/03/11 12:24
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 Iceweasel/18.0.1
IP-Address : 46.142.155.137
Hostname : 137-155-142-46.pool.kielnet.net
Old Revision: http://wiki.x2go.org/doku.php/doc:installation:pyhoca-gui?rev=1363004643
New Revision: http://wiki.x2go.org/doku.php/doc:installation:pyhoca-gui
Edit Summary: [MS Windows]
User : sunweaver
@@ -34,9 +…
[View More]34,7 @@
==== MS Windows ====
[[http://code.x2go.org/releases/binary-win32/pyhoca-gui/|To install PyHoca-GUI for MS Windows click here.]] Download the //bundled// (PyHoca-GUI + VcXsrv + Ghostscript) setup installer to your computer and run the PyHoca-GUI setup and follow the presented installation instructions.
-
- At the time of writing no MS Windows installer is available for the PyHoca command line client PyHoca-CLI.
==== MacOS ====
A PyHoca-GUI/PyHoca-CLI installer for MacOS
is currently not available. Sorry.
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
[View Less]
A page in your DokuWiki was added or changed. Here are the details:
Date : 2013/03/11 12:23
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 Iceweasel/18.0.1
IP-Address : 46.142.155.137
Hostname : 137-155-142-46.pool.kielnet.net
Old Revision: ---
New Revision: http://wiki.x2go.org/doku.php/doc:installation:pyhoca-gui
Edit Summary: created
User : sunweaver
====== Installing Pyhoca (GUI/CLI) ======
==== Debian GNU/Linux ====
PyHoca-GUI and …
[View More]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-GUI and 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 bash>
sudo aptitude update
sudo aptitude install pyhoca-gui
</code>
==== Other GNU/Linux (from source tarball) ====
Other GNU/Linux distributions can install PyHoca-GUI from source tarballs. The PyHoca-GUI tarball releases can be downloaded from http://code.x2go.org/releases/source/pyhoca-gui, 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-GUI, amongst others: python-x2go, python-paramiko, python-gevent, python-greenlet, python-setproctitle, python-argparse, wxPython (2.8/2.9).
If you have seen to installing required dependencies, extract the source tarball and run the Python installation script:
<code bash>
tar -vzxf pyhoca-gui_<version>.tar.gz
cd
pyhoca-gui_<version>
python setup.py install
</code>
==== MS Windows ====
[[http://code.x2go.org/releases/binary-win32/pyhoca-gui/|To install PyHoca-GUI for MS Windows click here.]] Download the //bundled// (PyHoca-GUI + VcXsrv + Ghostscript) setup installer to your computer and run the PyHoca-GUI setup and follow the presented installation instructions.
At the time of writing no MS Windows installer is available for the PyHoca command line client PyHoca-CLI.
==== MacOS ====
A PyHoca-GUI/PyHoca-CLI installer for MacOS is currently not available. Sorry.
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
[View Less]