This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wiki:advanced:multi-node:x2goserver-printing [2011/11/12 14:42] sunweaver |
wiki:advanced:multi-node:x2goserver-printing [2013/03/08 13:31] 127.0.0.1 external edit |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Sites where X2Go Printing does not Make Sense ===== | ===== Sites where X2Go Printing does not Make Sense ===== | ||
- | If all your X2Go servers, X2Go clients and the available network printers are all on the same site (i.e. in the same office), then you will not need X2Go printing. Configure your central print server (mostly CUPS, Common Unix Printing System) to print directly to your office printers. Also make sure that your office printers are available to user' | + | If all your X2Go servers, X2Go clients and the available network printers are all on the same site (i.e. in the same office) |
+ | |||
+ | Connect all your office printers directly to the network (IPP, LPD, AppJetDirect printing). Configure your central print server (mostly CUPS, Common Unix Printing System) to print directly to your networked | ||
+ | |||
+ | Setting | ||
===== Using X2Go Printing on a Centralized CUPS Server ===== | ===== Using X2Go Printing on a Centralized CUPS Server ===== | ||
+ | |||
+ | < | ||
+ | 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. | ||
+ | </ | ||
+ | |||
+ | :!: **Before you begin!** | ||
+ | > Please make sure that you are familiar with basic X2Go printing setups as described [[wiki: | ||
If you would like to run your X2Go server and the CUPS service on different machines (such a scenario is very common if you run more than one X2Go server on your network), you'll have to do things: | If you would like to run your X2Go server and the CUPS service on different machines (such a scenario is very common if you run more than one X2Go server on your network), you'll have to do things: | ||
- | - generate a pair of SSH keys to faciliate communication between | + | |
- | - add a line to the / | + | |
+ | - add a line to the / | ||
+ | |||
+ | Please make sure that you are logged as a user on CUPS and X2Go server(s) that can become the super-user by running the '' | ||
| | ||
- | Please make sure that you are logged in as user '' | + | As first step: install |
+ | < | ||
+ | $ sudo aptitude install x2goserver-printing | ||
+ | </ | ||
+ | | ||
+ | Next, install the CUPS X2Go backend on the CUPS server: | ||
+ | |||
+ | < | ||
+ | $ sudo aptitude install cups-x2go | ||
+ | </ | ||
+ | | ||
+ | On the CUPS server create '' | ||
+ | | ||
< | < | ||
$ mkdir -p /root/.ssh/ | $ mkdir -p /root/.ssh/ | ||
</ | </ | ||
- | Now you can generate | + | Now you can generate |
< | < | ||
Line 27: | Line 56: | ||
< | < | ||
- | root@cupsserver: | + | root@cupsserver: |
- | root@cupsserver: | + | root@cupsserver: |
- | etc. | + | # etc. |
</ | </ | ||
- | Every X2Go server that uses X2Go printing needs to be known by the CUPS server. Regarding your name resolution type, you'll need to add the host names for example to the local /etc/hosts file (your even better: use your local DNS server!!!). Please test if you are able to build up SSH connections from your CUPS server to your X2go servers by entering the following command: | + | Every X2Go server that uses X2Go printing needs to be known by the CUPS server. Regarding your name resolution type, you'll need to add the host names for example to the local /etc/hosts file (your even better: use your local DNS server!!!). Please test if you are able to build up SSH connections from your CUPS server to your X2go servers by entering the following command. |
< | < | ||
- | root@cupsserver: | + | root@cupsserver: |
- | root@cupsserver: | + | root@cupsserver: |
- | etc. | + | # etc. |
</ | </ | ||
+ | |||
+ | If this is your first login from '' | ||
+ | |||
At last, you have to add the following line to your / | At last, you have to add the following line to your / |