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/10/17 19:03] h1 Page moved from installing_x2go_printing_debian_ubuntu to wiki:installing_x2go_printing_debian_ubuntu |
wiki:advanced:multi-node:x2goserver-printing [2011/11/12 14:52] sunweaver |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Printing | + | ====== Printing |
- | 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 print server (mostly CUPS, Common Unix Printing | + | ===== Sites where X2Go Printing |
- | ===== Installing X2go Printing ===== | + | If all your X2Go servers, X2Go clients and the available network printers are all on the same site (i.e. in the same office) and you neither intend to provide mobile or home office desktop environments, |
- | :!: **Before you begin!** | + | 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 |
- | > Please make sure that you have added the X2go repository | + | |
+ | Setting up CUPS and CUPS printers is not an explicit X2Go issue, please consult | ||
+ | |||
+ | ===== Using X2Go Printing on a Centralized CUPS Server ===== | ||
< | < | ||
X2go Printing is intended for | X2go Printing is intended for | ||
* use on low bandwith networks – like internet connections or GSM connections | * use on low bandwith networks – like internet connections or GSM connections | ||
- | * use of printers that are directly connected to X2go (thin-)clients | + | * 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. | ||
</ | </ | ||
- | X2go Printing falls into two components: | + | :!: **Before you begin!** |
- | + | > Please make sure that you are familiar with basic X2Go printing | |
- | | + | |
- | | + | |
- | + | ||
- | X2go server-side printing component (i.e. the '' | + | |
- | + | ||
- | For being able to use X2go printing, you'll need a running CUPS server. You can use your network' | + | |
- | + | ||
- | The minimal X2go server + CUPS setup is: install x2goserver, cups, cups-x2go on the same machine. Printing should work out of the box. For local X2go printing | + | |
- | + | ||
- | < | + | |
- | + | ||
- | By installing the X2go CUPS engine (package: '' | + | |
- | + | ||
- | < | + | |
- | $ aptitude install cups-x2go | + | |
- | </ | + | |
- | + | ||
- | After the installation, | + | |
- | + | ||
- | You may configure further options by editing the file “/ | + | |
- | + | ||
- | < | + | |
- | ## | + | |
- | ## cups-x2go.conf -- CUPS Backend Configuration | + | |
- | ## | + | |
- | + | ||
- | ## Server with x2go system | + | |
- | #x2goserver = local | + | |
- | + | ||
- | ## dsa key for user x2goprint | + | |
- | #printdsa = / | + | |
- | + | ||
- | ## command to generate pdf files | + | |
- | #ps2pdf = /usr/bin/gs -q -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=" | + | |
- | + | ||
- | ## loglevel for cups-x2go, possible values: emerg, alert, crit, err, warn, notice, info, debug | + | |
- | #loglevel = notice | + | |
- | </ | + | |
- | + | ||
- | ===== Using X2go Printing on a Centralized CUPS Server ===== | + | |
- | 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 servers | + | 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 |
- | - 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 in as user '' | Please make sure that you are logged in as user '' | ||
Line 82: | Line 47: | ||
</ | </ | ||
- | 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: |
< | < |