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
Next revision
Previous revision
Next revision Both sides next revision
wiki:advanced:multi-node:x2goserver-printing [2011/11/12 14:50]
sunweaver
wiki:advanced:multi-node:x2goserver-printing [2011/11/12 14:59]
sunweaver
Line 24: Line 24:
  
   - 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 to faciliate communication between those two machines +  - 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 shall be able to accept print jobs from the central CUPS server+  - 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 in as user ''root'' on the system running the CUPS service and add the following folders:+As first step: install the X2Go server printing add-on to your (every) X2Go server:
  
 +<code>
 +$ sudo aptitude install x2goserver-printing
 +</code>
 +  
 +Next, install the CUPS X2Go backend on the CUPS server:
 +
 +<code>
 +$ sudo aptitude install cups-x2go
 +</code>
 +  
 +On the CUPS server create ''root'''s SSH configuration directory:
 +  
 <code> <code>
 $ mkdir -p /root/.ssh/ $ mkdir -p /root/.ssh/
 </code> </code>
  
-Now you can generate the keys (on each X2go server that shall have access to the CUPS service):+Now you can generate an SSH public/private key. This key is used to allow passwordless logons from ''root@cupsserver'' to ''x2goprint@x2goserverX''.
  
 <code> <code>
Line 44: Line 58:
 root@cupsserver:~$ ssh-copy-id /root.ssh/id_dsa-x2goprint x2goprint@x2goserver1 root@cupsserver:~$ ssh-copy-id /root.ssh/id_dsa-x2goprint x2goprint@x2goserver1
 root@cupsserver:~$ ssh-copy-id /root.ssh/id_dsa-x2goprint x2goprint@x2goserver2 root@cupsserver:~$ ssh-copy-id /root.ssh/id_dsa-x2goprint x2goprint@x2goserver2
-etc.+etc.
 </code> </code>
  
wiki/advanced/multi-node/x2goserver-printing.txt · Last modified: 2016/09/23 09:41 by ionic