<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi, This is my first time posting but after many weeks of reading
everything I can about the subject I find that I need something more
specific.<br>
<br>
I need some help getting my client side printing working through the
SSH tunnel. <br>
<br>
When I use the QtNX client on the same network with the freeNX server
everything works fine. <br>
<br>
When I places the workstation at the customers locations outside my
firewall the printing stopped.<br>
<br>
I can connect shared drives with no problem, just the printing. With
QtNX absolutely nothing happens so I switched back to the NXClient. <br>
<br>
I can see the printers at the workstation with the correct IPP
addresses: <br>
This is from the /home/lasersoft/.nx/cups/printers.conf file on the
workstation<br>
<i> </Printer> <br>
<Printer
Officejet-Pro-K550><br>
Info Officejet-Pro-K550<br>
Location local computer<br>
DeviceURI
<a class="moz-txt-link-freetext" href="http://127.0.0.1:631/printers/Officejet-Pro-K550">http://127.0.0.1:631/printers/Officejet-Pro-K550</a><br>
State Idle<br>
Accepting Yes<br>
JobSheets none none<br>
QuotaPeriod 0<br>
PageLimit 0<br>
KLimit 0<br>
</Printer</i>> <br>
<br>
again from the client side: <br>
<i><b>netstat -napt | grep cups</b><br>
tcp 0 0 0.0.0.0:631 0.0.0.0:*
OUÇA 7142/cupsd <br>
tcp6 0 0 :::631 :::*
OUÇA 7142/cupsd </i><br>
<i><br>
<b>ps -ef | grep cups</b><br>
root 7142 1 0 08:55 ? 00:00:01 /usr/sbin/cupsd -C
/etc/cups/cupsd.conf<br>
root 18178 1 0 15:30 ? 00:00:00 /usr/sbin/cupsd -C
/etc/cups/cupsd.conf<br>
root 18361 1 0 15:36 ? 00:00:00 /usr/sbin/cupsd -C
/etc/cups/cupsd.conf<br>
root 19443 18289 0 16:24 pts/3 00:00:00 grep cups<br>
<br>
</i>from the client session file on the workstation<br>
<i>NXPROXY - Version 3.4.0<br>
<br>
Copyright (C) 2001, 2007 NoMachine.<br>
See <a class="moz-txt-link-freetext" href="http://www.nomachine.com/">http://www.nomachine.com/</a> for more information.<br>
<br>
Info: Proxy running in client mode with pid '17852'.<br>
Session: Starting session at 'Tue Jan 26 15:10:47 2010'.<br>
Warning: Connected to remote version 3.3.0 with local version 3.4.0.<br>
Info: Connection with remote proxy completed.<br>
Info: Using MODEM link parameters 256/24/1/0.<br>
Info: Using cache parameters 4/4096KB/16384KB/16384KB.<br>
Info: Using pack method 'adaptive-3' with session 'gnome'.<br>
Info: Using ZLIB data compression 1/1/32.<br>
Info: Using ZLIB stream compression 9/9.<br>
Info: Using cache file
'/home/lasersoft/.nx/cache-gnome/S-45C3C37C4146A10DC5A43CDCD45058A9'.<br>
Info: Forwarding X11 connections to display ':1001.0'.<br>
Info: Forwarding CUPS connections to port '20000'.<br>
Info: Forwarding SMB connections to port '445'.<br>
Info: Listening to font server connections on port '11000'.<br>
Session: Session started at 'Tue Jan 26 15:10:47 2010'.<br>
Info: Established X server connection.<br>
Info: Using shared memory parameters 1/4096K.<br>
Warning: Connection to CUPS server 'localhost:20000' failed with error
'Connection refused'.<br>
Warning: Connection to CUPS server 'localhost:20000' failed with error
'Connection refused'.<br>
Warning: Connection to CUPS server 'localhost:20000' failed with error
'Connection refused'.<br>
</i><br>
<br>
Now from the server side:<br>
from ~/.nx/C-**/cups/printers.conf<br>
<i></Printer><br>
<DefaultPrinter Officejet-Pro-K550><br>
Info Officejet-Pro-K550<br>
DeviceURI
<a class="moz-txt-link-abbreviated" href="mailto:nxipp://lasersoft.4ecf7e4de21529d0@127.0.0.1:3000/printers/Officejet-Pro-K550">nxipp://lasersoft.4ecf7e4de21529d0@127.0.0.1:3000/printers/Officejet-Pro-K550</a><br>
State Idle<br>
StateTime 1264525860<br>
Type 4<br>
Accepting Yes<br>
Shared Yes<br>
JobSheets none none<br>
QuotaPeriod 0<br>
PageLimit 0<br>
KLimit 0<br>
OpPolicy default<br>
ErrorPolicy retry-job<br>
</Printer><br>
</i><br>
in the cups error_log I have some of the following lines:<br>
<br>
[cups-driverd] Bad PPD name
"/home/james/.nx/config/ppd/Officejet-Pro-K550.ppd"!<br>
<br>
for each of the printers that should be connecting<br>
<br>
I have reached the conclusion that the user cups daemon isn´t running
so therefore isn´t listening on port 20000. I have tried to start it
manually with the following command:<br>
<b>/usr/sbin/cupsd -c /home/lasersoft/.nx/cups/cupsd.conf</b><br>
<i>cupsd: Child exited with status 1!</i><br>
<br>
and get this answer.<br>
<br>
if I test the cups configuration I get this:<br>
<b>/usr/sbin/cupsd -t -c /home/lasersoft/.nx/cups/cupsd.conf</b><br>
<i>/home/lasersoft/.nx/cups/cupsd.conf contains errors</i><br>
<br>
this is the user /home/lasersoft/.nx/cups/cupsd.conf file<br>
<i>TempDir /home/lasersoft/.nx/cups/spool/tmp<br>
StateDir /home/lasersoft/.nx/cups/certs<br>
CacheDir /home/lasersoft/.nx/cups/cache<br>
RequestRoot /home/lasersoft/.nx/cups/spool<br>
ServerRoot /home/lasersoft/.nx/cups<br>
ErrorLog /home/lasersoft/.nx/cups/error_log<br>
LogLevel debug<br>
Port 20000<br>
Browsing Off<br>
ServerName localhost<br>
<br>
<Location /><br>
Order Deny,Allow<br>
Deny From All<br>
Require user lasersoft<br>
AuthType Digest<br>
Allow from 127.0.0.1<br>
</Location><br>
<br>
StateDir /home/lasersoft/.nx/cups/certs<br>
CacheDir /home/lasersoft/.nx/cups/cache<br>
PidFile /home/lasersoft/.nx/cups/cupsd-real.pid<br>
StateDir /home/lasersoft/.nx/cups/certs<br>
CacheDir /home/lasersoft/.nx/cups/cache<br>
</i><br>
I really need this running so that I can start deploying the customers
stations. I have been working on this for the last 3 weeks and am sure
that I have missed something really simple that would fix this but I am
at a total loss.<br>
<br>
Both server and client are running Ubuntu 9.10 with fresh install of
FreeNX from the ppa:freenx-team repository, with QtNX and the newest
version of NXClient from the nomachine site.<br>
<br>
Any ideas on how to resolve this?<br>
<br>
Thanks<br>
<br>
James<br>
<br>
</body>
</html>