User Tools

Site Tools


wiki:advanced:multi-node:x2goserver-printing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
wiki:advanced:multi-node:x2goserver-printing [2013/03/15 16:45]
sunweaver
wiki:advanced:multi-node:x2goserver-printing [2013/03/15 22:34]
sunweaver
Line 12: Line 12:
  
 <note> <note>
-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
Line 25: Line 25:
   - if running more than one X2Go server: setup up X2Go servers with [[wiki:advanced:multi-node:x2goserver-pgsql|PostgreSQL as X2Go session database backend]]   - if running more than one X2Go server: setup up X2Go servers with [[wiki:advanced:multi-node:x2goserver-pgsql|PostgreSQL as X2Go session database backend]]
   - generate a pair of SSH keys on the CUPS server to faciliate communication between CUPS server and X2Go server(s)   - generate a pair of SSH keys on the CUPS server to faciliate communication between CUPS server and X2Go server(s)
-  - add a line to the /etc/sudoers file on every X2go server that enables the X2Go Server (script: ''x2goprint'') to accept print jobs from the central CUPS server (pushed there via SCP)+  - add a line to the /etc/sudoers file on every X2Go server that enables the X2Go Server (script: ''x2goprint'') to accept print jobs from the central CUPS server (pushed there via SCP)
  
 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 ''sudo'' command. 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 ''sudo'' command.
Line 53: Line 53:
 </code> </code>
  
-The public part of the key (''/root/.ssh/id_dsa-x2goprint.pub'') needs to be added to the ''x2goprint'' user's ''authorized_keys'' file on each of your X2go servers. You can use the ''ssh-copy-id'' command for that:+The public part of the key (''/root/.ssh/id_dsa-x2goprint.pub'') needs to be added to the ''x2goprint'' user's ''authorized_keys'' file on each of your X2Go servers. You can use the ''ssh-copy-id'' command for that:
  
 <code> <code>
Line 61: Line 61:
 </code> </code>
  
-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.
  
 <code> <code>
wiki/advanced/multi-node/x2goserver-printing.txt · Last modified: 2016/09/23 09:41 by ionic