A page in your DokuWiki was added or changed. Here are the details:
Date : 2013/03/14 22:41
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 Iceweasel/18.0.1
IP-Address : 46.142.39.109
Hostname : 109-39-142-46.pool.kielnet.net
Old Revision: ---
New Revision: http://wiki.x2go.org/doku.php/doc:installation:printing
Edit Summary: created
User : sunweaver
====== X2Go Server Printing Component ======
For being able to use X2Go printing, you'll need a running CUPS server. You can use your network's existing CUPS server (multi-node X2Go printing, see below) or you can install a CUPS server on the same machine as the X2go server tools are running on (single-node X2Go printing setup).
<note>
X2go Printing is intended for
* use on low bandwith networks – like internet connections or GSM connections
* use of printers that are directly connected to X2Go (thin-)clients
For other scenarios, please use a central CUPS server (see
multi-node printing below) without the X2Go printing feature installed.
</note>
X2Go Printing falls into two components:
* cups-x2go -- a CUPS backend that spools X2go print jobs
* x2goserver-printing -- the X2Go server-side printing add-on package.
:!: **Before you begin!**
> This page is targeted at people who use Debian/Ubuntu packages provided by the X2Go project. Please make sure that you have added the X2Go repository to your package management system. The required steps are described here: [[wiki:x2go-repository-debian|Debian]], [[wiki:x2go-repository-ubuntu|Ubuntu]] (depending on the distro that you have chosen for your X2Go server).
===== Single-Node Printing =====
==== Summary ====
The minimal X2go server + CUPS setup is: install ''x2goserver'', ''x2goserver-printing'', ''cups'', ''cups-x2go'' on the same machine.
<code>
sudo aptitude install x2goserver x2goserver-printing cups cups-x2go
</code>
Printing works nearly out of the box, you only have to add a
virtual CUPS queue based on the Virtual X2Go Printer (''cups-x2go'') backend.
==== En Detail... ====
The X2Go server-side printing component contains the script ''x2goprint'' which looks for incoming ''cups-x2go'' backend print jobs and processes them towards connected X2Go clients. It is an X2Go Server add-on included in the [[http://code.x2go.org/gitweb?p=x2goserver.git;a=summary|X2Go server source project]]. Debian/Ubuntu users have to install the extra package with the following command:
<code>
$ sudo aptitude install x2goserver-printing
</code>
:!: Note that X2Go printing requires the user(s) need(s) to be added to the fuse group on the server, as it uses the file and folder sharing to transfer the spool file to the client.
For single-node X2Go printing (means: all steps of the printing process take place on the same machine) only one further step for setting up X2Go printing is necessary: after installing the X2Go CUPS engine (package: ''cups-x2go'') you have to add a
»Virtual X2go Printer« backend to your CUPS server.
- install CUPS-X2Go backend<code>
$ sudo aptitude install cups-x2go
</code>
- add a new printer in CUPS, possibly named: »x2goprinter« (name is arbitrary)
- as printing device (i.e. backend) you should select the “Virtual X2go Printer”
- as printing driver choose:
* vendor: »generic«
* model: »Generic CUPS-X2GO Printer«
You may configure further options by editing the CUPS-X2Go config file ''/etc/cups/cups-x2go.conf'', but this should normally not be necessary. The below code block shows the default set of options:
<code>
##
## cups-x2go.conf -- CUPS Backend Configuration
##
## Server with x2go system
#x2goserver = local
## dsa key for user x2goprint
#printdsa = /root/.x2go/ssh/.x2goprint/id_dsa
## command to generate pdf files
#ps2pdf = /usr/bin/gs -q -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s.pdf" -dAutoRotatePages=/PageByPage
-dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f "%s"
## loglevel for cups-x2go, possible values: emerg, alert, crit, err, warn, notice, info, debug
#loglevel = notice
</code>
<note>Before Sep 2011 configuring sudo was needed for local X2go printing, since then setting up sudo is only needed if CUPS with cups-x2go and the X2go server package are installed on //different// machines.</note>
==== Client Side ====
- Run x2goclient
- Click on Settings (the wrench icon)
- Select the Printing Tab
- Select the "Print" radio button to print from a printer or select the "View as PDF" radio button to view as a PDF. (The command 'evince' worked better for me than xpdf. xpdf wouldn't run for some reason, even after I installed it).
===== Multi-Node Printing =====
For an X2Go setup where X2Go server and CUPS server are hosted on different machines, please refer to the [[wiki:advanced:multi-node:x2goserver-printing|Multi-Node
X2Go Printing]] setup.
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2013/03/14 22:41
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 Iceweasel/18.0.1
IP-Address : 46.142.39.109
Hostname : 109-39-142-46.pool.kielnet.net
Old Revision: http://wiki.x2go.org/doku.php/doc:installation:start?rev=1363120881
New Revision: http://wiki.x2go.org/doku.php/doc:installation:start
Edit Summary: [Server and Components]
User : sunweaver
@@ -9,8 +9,8 @@
===== Server and Components =====
* [[doc:installation:x2goserver|X2Go Server]]
* [[wiki:components:desktop-bindings|X2Go Desktop Bindings]]
* [[doc:installation:desktop-sharing|X2Go Desktop Sharing]]
-
+ * [[doc:installation:printing|X2Go Client-Side Printing]]
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2013/03/14 22:40
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 Iceweasel/18.0.1
IP-Address : 46.142.39.109
Hostname : 109-39-142-46.pool.kielnet.net
Old Revision: http://wiki.x2go.org/doku.php/wiki:components:printing?rev=1362749499
New Revision: http://wiki.x2go.org/doku.php/wiki:components:printing
Edit Summary: removed
User : sunweaver
@@ -1,84 +1 @@
- ====== X2Go Server Printing Component ======
- For being able to use X2Go printing, you'll need a running CUPS server. You can use your network's existing CUPS server (multi-node X2Go printing, see below) or you can install a CUPS server on the same machine as the X2go server tools are running on (single-node X2Go printing setup).
-
- <note>
- X2go Printing is intended for
- * use on low bandwith networks – like internet connections or GSM connections
- * use of printers that are directly
connected to X2Go (thin-)clients
- For other scenarios, please use a central CUPS server (see multi-node printing below) without the X2Go printing feature installed.
- </note>
-
- X2Go Printing falls into two components:
-
- * cups-x2go -- a CUPS backend that spools X2go print jobs
- * x2goserver-printing -- the X2Go server-side printing add-on package.
-
- :!: **Before you begin!**
- > This page is targeted at people who use Debian/Ubuntu packages provided by the X2Go project. Please make sure that you have added the X2Go repository to your package management system. The required steps are described here: [[wiki:x2go-repository-debian|Debian]], [[wiki:x2go-repository-ubuntu|Ubuntu]] (depending on the distro that you have chosen for your X2Go server).
-
- ===== Single-Node Printing =====
-
- ==== Summary ====
-
- The minimal X2go server + CUPS setup is: install ''x2goserver'', ''x2goserver-printing'', ''cups'', ''cups-x2go'' on the same machine.
-
- <code>
- sudo
aptitude install x2goserver x2goserver-printing cups cups-x2go
- </code>
-
- Printing works nearly out of the box, you only have to add a virtual CUPS queue based on the Virtual X2Go Printer (''cups-x2go'') backend.
-
- ==== En Detail... ====
-
- The X2Go server-side printing component contains the script ''x2goprint'' which looks for incoming ''cups-x2go'' backend print jobs and processes them towards connected X2Go clients. It is an X2Go Server add-on included in the [[http://code.x2go.org/gitweb?p=x2goserver.git;a=summary|X2Go server source project]]. Debian/Ubuntu users have to install the extra package with the following command:
-
- <code>
- $ sudo aptitude install x2goserver-printing
- </code>
-
- :!: Note that X2Go printing requires the user(s) need(s) to be added to the fuse group on the server, as it uses the file and folder sharing to transfer the spool file to the client.
-
- For single-node X2Go printing (means: all steps of the printing process take place on the
same machine) only one further step for setting up X2Go printing is necessary: after installing the X2Go CUPS engine (package: ''cups-x2go'') you have to add a »Virtual X2go Printer« backend to your CUPS server.
-
- - install CUPS-X2Go backend<code>
- $ sudo aptitude install cups-x2go
- </code>
- - add a new printer in CUPS, possibly named: »x2goprinter« (name is arbitrary)
- - as printing device (i.e. backend) you should select the “Virtual X2go Printer”
- - as printing driver choose:
- * vendor: »generic«
- * model: »Generic CUPS-X2GO Printer«
-
- You may configure further options by editing the CUPS-X2Go config file ''/etc/cups/cups-x2go.conf'', but this should normally not be necessary. The below code block shows the default set of options:
-
- <code>
- ##
- ## cups-x2go.conf -- CUPS Backend Configuration
- ##
-
- ## Server with x2go system
- #x2goserver = local
-
- ## dsa key for user x2goprint
- #printdsa = /root/.x2go/ssh/.x2goprint/id_dsa
-
- ## command to generate pdf files
- #ps2pdf = /usr/bin/gs -q -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s.pdf" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f "%s"
-
- ## loglevel for cups-x2go, possible values: emerg, alert, crit, err, warn, notice, info, debug
- #loglevel = notice
- </code>
-
- <note>Before Sep 2011 configuring sudo was needed for local X2go printing, since then setting up sudo is only needed if CUPS with cups-x2go and the X2go server package are installed on //different// machines.</note>
-
- ==== Client Side ====
- - Run x2goclient
- - Click on Settings (the wrench icon)
- - Select the Printing Tab
- - Select the "Print" radio button to print from a printer or select the "View as PDF" radio button to view as a PDF. (The command 'evince' worked better for me than xpdf. xpdf wouldn't run for some reason, even after I
installed it).
-
-
- ===== Multi-Node Printing =====
-
- For an X2Go setup where X2Go server and CUPS server are hosted on different machines, please refer to the [[wiki:advanced:multi-node:x2goserver-printing|Multi-Node X2Go Printing]] setup.
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2013/03/14 22:39
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 Iceweasel/18.0.1
IP-Address : 46.142.39.109
Hostname : 109-39-142-46.pool.kielnet.net
Old Revision: ---
New Revision: http://wiki.x2go.org/doku.php/wiki:advanced:desktopbindings
Edit Summary: created
User : sunweaver
====== X2Go Desktop Bindings ======
To integrate X2Go fluently into your desktop, we provide desktop binding tools for the most common desktop environments. The following desktops are supported:
* GNOME (v2.x)
* KDE/Plasma (v4.x)
* LXDE (v5.x)
* Trinity (KDE3 fork, v3.5.x) -> planned FIXME
* XFCE4 (v4.x) -> not planned yet, but requested by the community (help welcome)
:!: **Note:**
> The old project x2gokdebindings (desktop bindings for KDE3 as in Debian lenny and before) is discontinued and gets replaced by the bindings for the Trinity desktop.
The functionalities
offered by the desktop bindings are:
* integrate functionalities around //Local Folder Sharing// (SSHFS mounted client shares) into the destkop
* menu item for suspending X2Go sessions (not in LXDE)
* remove non-remote desktop menu items (like suspend-2-RAM, suspend-2-Disk, shutdown and reboot menu items) from X2Go desktops
NOTE: All desktop binding packages have to be installed on the X2Go server(s).
:!: **Before you begin!**
> Installation of the desktop bindings are currently only provided as Debian/Ubuntu packages. Please make sure that you have added the x2go repository to your package management system. The required steps are described [[wiki:repositories:debian|here (Debian)]] and [[wiki:repositories:ubuntu|here (Ubuntu)]]
===== Desktop Bindings for GNOME (v2.x) =====
X2Go bindings for GNOME (package name: ''x2gognomebindings'') will add additional X2Go-related functionality to your GNOME Desktop.
==== Installation ====
<code>
$ aptitude install
x2gognomebindings
</code>
==== Usage ====
X2Go GNOME desktop bindings take care of mounted X2Go shares (local client folder sharing). If a client share is mounted via your X2Go client application, a desktop icon appears that allows the user to start GNOME'S file browser ''nautilus'' opening the mounted (SSHFS) share.
The X2Go GNOME desktop package defines a set of desktop icons and MIME types so that mounted client shares get associated to opening Nautilus.
The X2Go GNOME desktop bindings package also adds a context menu item that allows the X2Go session user to unmount shared client folders by right-clicking on their desktop icons.
The X2Go GNOME desktop bindings package furtheron adds a //Systen// menu item to your GNOME panel. Users will be able to suspend their X2Go sessions with just a click on a menu entry: //System// -> //Suspend X2Go Session//.
===== Desktop Bindings for KDE/Plasma (v4.x) =====
X2Go bindings for KDE/Plasma offer an X2Go plasmoid for the Plasma desktop
framework. The X2Go plasmoid adds additional X2Go-related functionality to your KDE/Plasma Desktop (package name: ''plasma-widget-x2go'').
==== Installation ====
:!: Note: this package has undergone some renamings in 2011; from x2goplasmoid to x2goplasmoidbindings, to plasma-widget-x2go.
<code>
$ aptitude install plasma-widget-x2go
</code>
==== Usage ====
After the installation every KDE4/Plasma user on the server has the possibility to add the X2Go plasmoid applet to the desktop or to the taskbar (recommended). //Note:// the X2Go plasmoid is not available on the user desktops directly after installation, it __has__ to be integrated into the desktop by each individual user.
Once the X2Go plasmoid has been added to desktop or taskbar, the plasmoid will notify you about newly mounted client-side shared folders. You will be able to launch KDE4's file browser ''dolphin'' by left-clicking on one of these shares, you also have the possiblity to unmount/eject those shares.
At the
bottom of the X2Go plasmoid's applet box area, you have a link that allows you to suspend your current X2Go session.
FIXME, on the wishlist: Remove Suspend (to RAM) and Hibernate menu items from KDE4 start menu.
===== Desktop Bindings for LXDE (v5.x) =====
X2Go bindings for LXDE (package name: ''x2golxdebindings'') will add additional X2Go-related functionality to your LXDE Desktop.
==== Installation ====
<code>
$ aptitude install x2golxdebindings
</code>
==== Usage ====
X2Go LXDE desktop bindings take care of mounted X2Go shares (local client folder sharing). If a client share is mounted via your X2Go client application, a desktop icon appears that allows the user to start LXDE's file browser ''pcmanfm'' opening the mounted (SSHFS) share.
The X2Go LXDE bindings desktop package defines a set of desktop icons and MIME types so that mounted client shares get associated to opening ''pcmanfm''.
FIXME, currently not implemented, but on our wishlist: The X2Go LXDE desktop
bindings package also adds a context menu item that allows the X2Go session user to unmount shared client folders by right-clicking on their desktop icons.
FIXME, currently not implemented, but on our wishlist: The X2Go LXDE desktop bindings package furtheron adds a menu item to your LXDE start menu. Users will be able to suspend their X2Go sessions with just a click on a menu entry: //Suspend X2Go Session//.
===== Desktop Bindings for Trinity (v3.5.x) =====
:!: **WARNING:**
> The desktop bindings for the Trinity desktop are planned and there already exists a Git project in the X2Go Git VCS. There already appears a package ''x2gotrinitybindings'' in the nightly-built package repositories (Debian/Ubuntu), but the code is very dysfunctional and not usable at all.
===== Desktop Bindings for XFCE4 (v4.x) =====
:!: **WARNING:**
> There currently are no desktop bindings for the XFCE4 desktop, but there has been a request from the community to work on that. Any help on this is
appreciated, it might be fertile to adapt the ''x2gognomebindings'' package for that purpose. Please [[contact:start|contact]] the developers on the X2Go developers mailing list.
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2013/03/14 22:39
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 Iceweasel/18.0.1
IP-Address : 46.142.39.109
Hostname : 109-39-142-46.pool.kielnet.net
Old Revision: http://wiki.x2go.org/doku.php/wiki:advanced:start?rev=1363300694
New Revision: http://wiki.x2go.org/doku.php/wiki:advanced:start
Edit Summary: [X2Go Server Advanced]
User : sunweaver
@@ -9,8 +9,9 @@
===== X2Go Server Advanced =====
* [[wiki:advanced:x2goserver-in-detail|X2Go Server in detail]]
* [[wiki:advanced:multi-node:x2goserver-pgsql|X2Go Server with Postgres DB Backend]]
+ * [[wiki:advanced:desktopbindings|X2Go Bindings for different Desktop Shell]]
===== X2Go Printing Revisited =====
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2013/03/14 22:39
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 Iceweasel/18.0.1
IP-Address : 46.142.39.109
Hostname : 109-39-142-46.pool.kielnet.net
Old Revision: http://wiki.x2go.org/doku.php/wiki:components:desktop-bindings?rev=13631208…
New Revision: http://wiki.x2go.org/doku.php/wiki:components:desktop-bindings
Edit Summary: removed
User : sunweaver
@@ -1,97 +1 @@
- ====== X2Go Desktop Bindings ======
-
- To integrate X2Go fluently into your desktop, we provide desktop binding tools for the most common desktop environments. The following desktops are supported:
-
- * GNOME (v2.x)
- * KDE/Plasma (v4.x)
- * LXDE (v5.x)
- * Trinity (KDE3 fork, v3.5.x) -> planned FIXME
- * XFCE4 (v4.x) -> not planned yet, but requested by the community (help welcome)
-
- :!: **Note:**
- > The old project x2gokdebindings (desktop bindings for KDE3 as in
Debian lenny and before) is discontinued and gets replaced by the bindings for the Trinity desktop.
-
- The functionalities offered by the desktop bindings are:
-
- * integrate functionalities around //Local Folder Sharing// (SSHFS mounted client shares) into the destkop
- * menu item for suspending X2Go sessions (not in LXDE)
- * remove non-remote desktop menu items (like suspend-2-RAM, suspend-2-Disk, shutdown and reboot menu items) from X2Go desktops
-
- NOTE: All desktop binding packages have to be installed on the X2Go server(s).
-
- :!: **Before you begin!**
- > Installation of the desktop bindings are currently only provided as Debian/Ubuntu packages. Please make sure that you have added the x2go repository to your package management system. The required steps are described [[wiki:repositories:debian|here (Debian)]] and [[wiki:repositories:ubuntu|here (Ubuntu)]]
-
- ===== Desktop Bindings for GNOME (v2.x) =====
-
- X2Go bindings for GNOME (package name:
''x2gognomebindings'') will add additional X2Go-related functionality to your GNOME Desktop.
-
- ==== Installation ====
-
- <code>
- $ aptitude install x2gognomebindings
- </code>
-
- ==== Usage ====
-
- X2Go GNOME desktop bindings take care of mounted X2Go shares (local client folder sharing). If a client share is mounted via your X2Go client application, a desktop icon appears that allows the user to start GNOME'S file browser ''nautilus'' opening the mounted (SSHFS) share.
-
- The X2Go GNOME desktop package defines a set of desktop icons and MIME types so that mounted client shares get associated to opening Nautilus.
-
- The X2Go GNOME desktop bindings package also adds a context menu item that allows the X2Go session user to unmount shared client folders by right-clicking on their desktop icons.
-
- The X2Go GNOME desktop bindings package furtheron adds a //Systen// menu item to your GNOME panel. Users will be able to suspend their X2Go sessions with just a click on a
menu entry: //System// -> //Suspend X2Go Session//.
-
- ===== Desktop Bindings for KDE/Plasma (v4.x) =====
-
- X2Go bindings for KDE/Plasma offer an X2Go plasmoid for the Plasma desktop framework. The X2Go plasmoid adds additional X2Go-related functionality to your KDE/Plasma Desktop (package name: ''plasma-widget-x2go'').
-
- ==== Installation ====
-
- :!: Note: this package has undergone some renamings in 2011; from x2goplasmoid to x2goplasmoidbindings, to plasma-widget-x2go.
-
- <code>
- $ aptitude install plasma-widget-x2go
- </code>
-
-
- ==== Usage ====
-
- After the installation every KDE4/Plasma user on the server has the possibility to add the X2Go plasmoid applet to the desktop or to the taskbar (recommended). //Note:// the X2Go plasmoid is not available on the user desktops directly after installation, it __has__ to be integrated into the desktop by each individual user.
-
- Once the X2Go plasmoid has been added to desktop or taskbar, the plasmoid will notify you
about newly mounted client-side shared folders. You will be able to launch KDE4's file browser ''dolphin'' by left-clicking on one of these shares, you also have the possiblity to unmount/eject those shares.
-
- At the bottom of the X2Go plasmoid's applet box area, you have a link that allows you to suspend your current X2Go session.
-
- FIXME, on the wishlist: Remove Suspend (to RAM) and Hibernate menu items from KDE4 start menu.
-
- ===== Desktop Bindings for LXDE (v5.x) =====
-
- X2Go bindings for LXDE (package name: ''x2golxdebindings'') will add additional X2Go-related functionality to your LXDE Desktop.
-
- ==== Installation ====
-
- <code>
- $ aptitude install x2golxdebindings
- </code>
-
- ==== Usage ====
-
- X2Go LXDE desktop bindings take care of mounted X2Go shares (local client folder sharing). If a client share is mounted via your X2Go client application, a desktop icon appears that allows the user to start LXDE's file browser ''pcmanfm'' opening the mounted
(SSHFS) share.
-
- The X2Go LXDE bindings desktop package defines a set of desktop icons and MIME types so that mounted client shares get associated to opening ''pcmanfm''.
-
- FIXME, currently not implemented, but on our wishlist: The X2Go LXDE desktop bindings package also adds a context menu item that allows the X2Go session user to unmount shared client folders by right-clicking on their desktop icons.
-
- FIXME, currently not implemented, but on our wishlist: The X2Go LXDE desktop bindings package furtheron adds a menu item to your LXDE start menu. Users will be able to suspend their X2Go sessions with just a click on a menu entry: //Suspend X2Go Session//.
-
- ===== Desktop Bindings for Trinity (v3.5.x) =====
-
- :!: **WARNING:**
- > The desktop bindings for the Trinity desktop are planned and there already exists a Git project in the X2Go Git VCS. There already appears a package ''x2gotrinitybindings'' in the nightly-built package repositories (Debian/Ubuntu), but the
code is very dysfunctional and not usable at all.
-
- ===== Desktop Bindings for XFCE4 (v4.x) =====
-
- :!: **WARNING:**
- > There currently are no desktop bindings for the XFCE4 desktop, but there has been a request from the community to work on that. Any help on this is appreciated, it might be fertile to adapt the ''x2gognomebindings'' package for that purpose. Please [[contact:start|contact]] the developers on the X2Go developers mailing list.
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2013/03/14 22:38
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 Iceweasel/18.0.1
IP-Address : 46.142.39.109
Hostname : 109-39-142-46.pool.kielnet.net
Old Revision: ---
New Revision: http://wiki.x2go.org/doku.php/wiki:advanced:x2goserver-in-detail
Edit Summary: created
User : sunweaver
====== X2Go Server ======
:!: This wiki page needs much more work!!! Any help is appreciated!!!
===== X2Go's Server Download =====
Binary packages for various distros are [[download:start#X2Go Package Repositories for GNU/Linux|available]].
===== X2Go's Server: base package and extensions =====
The ''x2goserver'' package (Debian/Ubuntu) provides the server-side core of X2Go. If you want to run the legacy X2Go client ([[doc:installation:x2goclient|X2Go Client]]) on the client-side systems then the installation of this package is sufficient.
However, in 2011 many new
features/capabilities were added to X2Go.
One feature was an ''x2goserver-extensions'' package (Debian/Ubuntu) that we consider as a namespace for X2Go server contributions. For example, the Python X2Go implementation requires some scripts available in this package. If you work on coding some other X2Go client implementation you are invited to contribute your server extensions within this namespace.
* [[wiki:repositories:debian|Debian GNU/Linux]]
* [[wiki:repositories:ubuntu|Ubuntu GNU/Linux]]
Also, **__if__** the remote server already has a //desktop environment// installed then one more X2Go package (besides x2goserver) must now be installed on the server before the X2Go Client can successfully initiate/start a remote desktop X2Go session.
This additional X2Go package is called ''x2goserver-xsession''. This **__must__** be installed for the X2Go Client to successfully start the remote desktop X2Go session __unless__ the X2Go Server is intended for use with the new X2Go
Published Apps capability (//see NOTE below//).
<code bash>
$ sudo apt-get install x2goserver-xsession
</code>
**NOTE:** - this is a change from older versions of ''x2goserver'' installs where in previous versions the only requirement was to just execute ''sudo apt-get install x2goserver'' .
''x2goserver-xsession'' was originally introduced so that X2Go can be installed on Debian/Ubuntu Edu terminal servers and the sessions would look like they do on Debian Edu (aka Skolelinux) desktops. It actually does a lot more: start gpg-agent, start ssh-agent, desktop branding, etc.
===== X2Go's Server: What is it? What does it do? =====
The base X2Go Server and also the X2go Server Extensions are basically a collection of Bash and Perl scripts that take care over X2Go server session management and communication between client and server.
X2Go server currently uses NXv3 based libraries and tools for the backend implementation of X2Go (graphical compression & caching for low bandwidth
connections).
The individual X2Go Server scripts do have (rudimentary) man pages. Some of the X2Go server scripts are used internally (by other X2Go server scripts), others are designed to be available to X2Go Client implementations (e.g. ''x2goruncommand'', ''x2gosuspend-session'', ''x2goterminate-session'', etc.).
The latest status of the X2Go server's manual pages can be viewed via the gitweb tool of X2Go's Git: http://code.x2go.org/doc/x2goserver/man
The latest status of the X2Go server extension's manual pages can found here: http://code.x2go.org/doc/x2goserver-extensions/man
===== X2Go's Server: How it actually works =====
==== Starting a New Session ====
When starting a new session the script called ''x2gostartagent'' gets executed on the server. ''x2gostartagent'' creates a new session in three phases:
- Find unique ''$DISPLAY'' number and unique session ID. This will insert a new session in the database.
- Find free ports for sound, graphic, file sharing. After
that the the database entry will get updated with these discovered values.
- Start ''x2goagent'' (NX-like XServer): after that the database entry gets updated with the PID of the ''x2goagent'' process.
CAVEAT for client implementations: if you query the session entry from the database with ''x2golistsessions'' some time between phases 1 and 3 some of the returned values (ports, agent PID) will not be set.
==== Resuming a Session ====
TODO...
==== Suspending/Terminated a Session ====
TODO...
===== X2Go's Server: Improving documentation... =====
REQUEST TO X2Go USERS: For the improvement of the X2Go server manual pages we request everyone's help here.
Task:
* improve manual page contents (what is the script for, what does it do, what values does it return, etc.)
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2013/03/14 22:38
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 Iceweasel/18.0.1
IP-Address : 46.142.39.109
Hostname : 109-39-142-46.pool.kielnet.net
Old Revision: http://wiki.x2go.org/doku.php/wiki:advanced:start?rev=1363300671
New Revision: http://wiki.x2go.org/doku.php/wiki:advanced:start
Edit Summary: [X2Go Server Advanced]
User : sunweaver
@@ -7,9 +7,9 @@
Read more on how to [[wiki:advanced:x2goplugin|set up an X2Go web portal with X2Go Plugin]]...
===== X2Go Server Advanced =====
- * [[wiki:advanced:x2goserver-en-detail|X2Go Server //en detail//]]
+ * [[wiki:advanced:x2goserver-in-detail|X2Go Server in detail]]
* [[wiki:advanced:multi-node:x2goserver-pgsql|X2Go Server with Postgres DB Backend]]
===== X2Go Printing Revisited =====
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2013/03/14 22:37
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 Iceweasel/18.0.1
IP-Address : 46.142.39.109
Hostname : 109-39-142-46.pool.kielnet.net
Old Revision: http://wiki.x2go.org/doku.php/wiki:advanced:start?rev=1363300565
New Revision: http://wiki.x2go.org/doku.php/wiki:advanced:start
Edit Summary: [X2Go + PostgreSQL]
User : sunweaver
@@ -5,10 +5,11 @@
X2Go Client is also available as a browser plugin. With this plugin your web browser can be turned into an X2Go Client very easily. The session configuration can be embedded into the HTML file initiating the plugin startup.
Read more on how to [[wiki:advanced:x2goplugin|set up an X2Go web portal with X2Go Plugin]]...
- ===== X2Go + PostgreSQL =====
+ ===== X2Go Server Advanced =====
+ * [[wiki:advanced:x2goserver-en-detail|X2Go Server //en detail//]]
*
[[wiki:advanced:multi-node:x2goserver-pgsql|X2Go Server with Postgres DB Backend]]
===== X2Go Printing Revisited =====
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
A page in your DokuWiki was added or changed. Here are the details:
Date : 2013/03/14 22:36
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 Iceweasel/18.0.1
IP-Address : 46.142.39.109
Hostname : 109-39-142-46.pool.kielnet.net
Old Revision: http://wiki.x2go.org/doku.php/wiki:components:x2goserver?rev=1363295670
New Revision: http://wiki.x2go.org/doku.php/wiki:components:x2goserver
Edit Summary: removed
User : sunweaver
@@ -1,73 +1 @@
- ====== X2Go Server ======
-
- :!: This wiki page needs much more work!!! Any help is appreciated!!!
-
- ===== X2Go's Server Download =====
-
- Binary packages for various distros are [[download:start#X2Go Package Repositories for GNU/Linux|available]].
-
- ===== X2Go's Server: base package and extensions =====
-
- The ''x2goserver'' package (Debian/Ubuntu) provides the server-side core of X2Go. If you want to run the legacy X2Go client ([[doc:installation:x2goclient|X2Go Client]]) on the
client-side systems then the installation of this package is sufficient.
-
- However, in 2011 many new features/capabilities were added to X2Go.
-
- One feature was an ''x2goserver-extensions'' package (Debian/Ubuntu) that we consider as a namespace for X2Go server contributions. For example, the Python X2Go implementation requires some scripts available in this package. If you work on coding some other X2Go client implementation you are invited to contribute your server extensions within this namespace.
-
- * [[wiki:repositories:debian|Debian GNU/Linux]]
- * [[wiki:repositories:ubuntu|Ubuntu GNU/Linux]]
-
- Also, **__if__** the remote server already has a //desktop environment// installed then one more X2Go package (besides x2goserver) must now be installed on the server before the X2Go Client can successfully initiate/start a remote desktop X2Go session.
-
- This additional X2Go package is called ''x2goserver-xsession''. This **__must__** be installed for the X2Go Client
to successfully start the remote desktop X2Go session __unless__ the X2Go Server is intended for use with the new X2Go Published Apps capability (//see NOTE below//).
-
- <code bash>
- $ sudo apt-get install x2goserver-xsession
- </code>
-
- **NOTE:** - this is a change from older versions of ''x2goserver'' installs where in previous versions the only requirement was to just execute ''sudo apt-get install x2goserver'' .
-
- ''x2goserver-xsession'' was originally introduced so that X2Go can be installed on Debian/Ubuntu Edu terminal servers and the sessions would look like they do on Debian Edu (aka Skolelinux) desktops. It actually does a lot more: start gpg-agent, start ssh-agent, desktop branding, etc.
-
- ===== X2Go's Server: What is it? What does it do? =====
-
- The base X2Go Server and also the X2go Server Extensions are basically a collection of Bash and Perl scripts that take care over X2Go server session management and communication between client and server.
-
-
X2Go server currently uses NXv3 based libraries and tools for the backend implementation of X2Go (graphical compression & caching for low bandwidth connections).
-
- The individual X2Go Server scripts do have (rudimentary) man pages. Some of the X2Go server scripts are used internally (by other X2Go server scripts), others are designed to be available to X2Go Client implementations (e.g. ''x2goruncommand'', ''x2gosuspend-session'', ''x2goterminate-session'', etc.).
-
- The latest status of the X2Go server's manual pages can be viewed via the gitweb tool of X2Go's Git: http://code.x2go.org/doc/x2goserver/man
-
- The latest status of the X2Go server extension's manual pages can found here: http://code.x2go.org/doc/x2goserver-extensions/man
-
- ===== X2Go's Server: How it actually works =====
-
- ==== Starting a New Session ====
-
- When starting a new session the script called ''x2gostartagent'' gets executed on the server. ''x2gostartagent'' creates a new session in three
phases:
-
- - Find unique ''$DISPLAY'' number and unique session ID. This will insert a new session in the database.
- - Find free ports for sound, graphic, file sharing. After that the the database entry will get updated with these discovered values.
- - Start ''x2goagent'' (NX-like XServer): after that the database entry gets updated with the PID of the ''x2goagent'' process.
-
- CAVEAT for client implementations: if you query the session entry from the database with ''x2golistsessions'' some time between phases 1 and 3 some of the returned values (ports, agent PID) will not be set.
-
- ==== Resuming a Session ====
-
- TODO...
-
- ==== Suspending/Terminated a Session ====
-
- TODO...
-
- ===== X2Go's Server: Improving documentation... =====
-
-
- REQUEST TO X2Go USERS: For the improvement of the X2Go server manual pages we request everyone's help here.
-
- Task:
-
- * improve manual page contents (what is the script for, what does it do, what values does it
return, etc.)
-
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/