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:58]
sunweaver
wiki:advanced:multi-node:x2goserver-printing [2013/03/08 13:31]
127.0.0.1 external edit
Line 47: Line 47:
 </code> </code>
  
-Now you can generate an SSH public/private key. This key is used to allow logons from ''root@cupsserver'' to ''x2goprint@x2goserverX''.+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 56: Line 56:
  
 <code> <code>
-root@cupsserver:~$ ssh-copy-id /root.ssh/id_dsa-x2goprint x2goprint@x2goserver1 +root@cupsserver:~$ ssh-copy-id /root.ssh/id_dsa-x2goprint x2goprint@x2goserver1.your.domain 
-root@cupsserver:~$ ssh-copy-id /root.ssh/id_dsa-x2goprint x2goprint@x2goserver2 +root@cupsserver:~$ ssh-copy-id /root.ssh/id_dsa-x2goprint x2goprint@x2goserver2.your.domain 
-etc.+etc.
 </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>
-root@cupsserver:~$ ssh -i  /root/.ssh/id_dsa-x2goprint x2goprint@x2goserver1 +root@cupsserver:~$ ssh -i  /root/.ssh/id_dsa-x2goprint x2goprint@x2goserver1.your.domain 
-root@cupsserver:~$ ssh -i  /root/.ssh/id_dsa-x2goprint x2goprint@x2goserver2 +root@cupsserver:~$ ssh -i  /root/.ssh/id_dsa-x2goprint x2goprint@x2goserver2.your.domain 
-etc.+etc.
 </code> </code>
 +
 +If this is your first login from ''root@x2goserverX.your.domain'' to ''x2goprint@x2goserverX.your.domain'' the SSH command will ask you to accept the host key of the X2Go server(s). Please accept the displayed host keys.
 +
  
 At last, you have to add the following line to your /etc/sudoers file. Normally the command ''visudo'' is highly recommended for editing the sudoers file, as it performs sanity checks on the sudoers file and reports if you made a mistake while editing the file. At last, you have to add the following line to your /etc/sudoers file. Normally the command ''visudo'' is highly recommended for editing the sudoers file, as it performs sanity checks on the sudoers file and reports if you made a mistake while editing the file.
wiki/advanced/multi-node/x2goserver-printing.txt · Last modified: 2016/09/23 09:41 by ionic