This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
installing_x2goprint_multi_node_debian [2011/06/07 13:05] sunweaver |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Printing and X2go ====== | ||
| - | |||
| - | 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 System) to print directly to your office printers. Also make sure that your office printers are available to user's that logon to your X2go server (setting up CUPS printers is not an issue of X2go, please consult the CUPS howtos available on the internet). | ||
| - | |||
| - | ===== Installing X2go printing ===== | ||
| - | |||
| - | < | ||
| - | 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 | ||
| - | </ | ||
| - | |||
| - | X2go printing (i.e. the '' | ||
| - | |||
| - | For being able to use X2go printing, you'll need a running CUPS server. You can use your network' | ||
| - | |||
| - | 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=" | ||
| - | </ | ||
| - | |||
| - | |||
| - | FIXME! The '' | ||
| - | |||
| - | < | ||
| - | x2goprint ALL=(ALL) NOPASSWD: / | ||
| - | </ | ||
| - | |||
| - | ==== Using X2go printing on a Centralized CUPS Server ==== | ||
| - | |||
| - | If you would like to run your X2go server and the CUPS service on different machines, you'll need to generate a pair of SSH keys to faciliate communication between those two machines. | ||
| - | |||
| - | Please make sure that you are logged in as user “root” on the system running the CUPS service and add the following folders: | ||
| - | |||
| - | < | ||
| - | $ mkdir -p / | ||
| - | </ | ||
| - | |||
| - | Now you can generate the keys (on each X2go server that shall have access to the CUPS service): | ||
| - | |||
| - | < | ||
| - | $ ssh-keygen -N "" | ||
| - | </ | ||
| - | |||
| - | The public part of the key (''/ | ||
| - | |||
| - | < | ||
| - | x2goprint@x2goserver1: | ||
| - | x2goprint@x2goserver2: | ||
| - | 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 reach the X2go servers by entering the following command: | ||
| - | |||
| - | < | ||
| - | $ ssh -i / | ||
| - | $ ssh -i / | ||
| - | etc. | ||
| - | </ | ||