<br>
<br><tt><font size=2>Vivek <vivek@visolve.com> wrote on 20/10/2009
13:55:59:<br>
<br>
> Hello Chris,<br>
> <br>
> Thanks for your help...<br>
> <br>
> I have tried to access </font></tt><a href=http://localhost:20000/><tt><font size=2>http://localhost:20000</font></tt></a><tt><font size=2>
directly from the <br>
</font></tt>
<br><tt><font size=2>Usually its 20000, but check using</font></tt>
<br>
<br><tt><font size=2>netstat -napt|grep cups</font></tt>
<br>
<br><tt><font size=2>> CLIENT with the username and password from /home/vivek/.nx/C-<br>
> */cups/printers.conf file. But i was unable to access the admin or
<br>
> printers page...<br>
></font></tt>
<br>
<br><tt><font size=2>If you can't access the client user-space cupsd from
on the client, then you likely have the password wrong. Make sure you get
the right session and don't copy the @ sign.</font></tt>
<br>
<br><tt><font size=2>The NX client sets it all up locally, so if you access
it locally there is no tunneling involved and in fact FreeNX isn't involved
at all.</font></tt>
<br>
<br><tt><font size=2>If you can't connect to the usr cupsd on the client
as vivek with the password from the printers.conf on the server, that would
count as a show stopper.</font></tt>
<br><tt><font size=2> <br>
> My /hone/vivek/.nx/cups/cupsd.conf contains the same as like as you
have,<br>
>
<Location /><br>
>
Order Deny,Allow<br>
>
Deny From All<br>
>
Require user vivek<br>
>
AuthType Digest<br>
>
Allow from 127.0.0.1<br>
>
</Location><br>
>
StateDir /home/vivek/.nx/cups/certs<br>
></font></tt>
<br>
<br><tt><font size=2>That means the vivek can access it with the right
password.</font></tt>
<br>
<br><tt><font size=2> <br>
> and /home/vivek/.nx/C-**/cups/cupsd.conf file<br>
> <br>
> #JJK: Restrict access to the server...<br>
> <Location /><br>
> Order Deny,Allow<br>
> Deny From All<br>
> Allow from 127.0.0.1<br>
> </Location><br>
> <br>
> #JJK: Restrict access to the admin pages...<br>
> <Location /admin><br>
> Encryption Required<br>
> Order allow,deny<br>
> Allow localhost<br>
> </Location><br>
> <br>
> #JJK: Restrict access to configuration files...<br>
> <Location /admin/conf><br>
> AuthType Basic<br>
> Require user @SYSTEM<br>
> Order allow,deny<br>
> Allow localhost<br>
> </Location><br>
> <br>
</font></tt>
<br><tt><font size=2>That stuff is regarding the use cupsd on the server.</font></tt>
<br>
<br><tt><font size=2>> CLIENT printers admin page and printers are accessible
wherever in <br>
> the network..<br>
> <br>
</font></tt>
<br><tt><font size=2>I guess you mean the client system cupsd. We're not
there yet !!</font></tt>
<br>
<br>
<br><tt><font size=2>> Two files were creating under /home/vivek/.nx/C-**/cups/spool/
<br>
> directory while try to printing,<br>
> <br>
> c00001, d00001-001<br>
> <br>
</font></tt>
<br><tt><font size=2>That's on the server session. </font></tt>
<br>
<br>
<br><tt><font size=2>> and one nxipp process was starting.<br>
> <br>
> On the SERVER, /var/log/cups/error_log shows the following
message,<br>
> <br>
> process_browse_data(uri="ipp://172.16.1.36:<br>
> 631/printers/LaserJet_P2015", host="172.16.1.36", <br>
> resource="/printers/LaserJet_P2015", type=290d6, state=3,
<br>
> location="vik-co", info="LaserJet", make_model="HP
LaserJet P2015 <br>
> Series Postscript (recommended)", num_attrs=2, attrs=0x13728e8)<br>
> process_browse_data: LaserJet_P2015@172.16.1.36 not found...<br>
> process_browse_data: LaserJet_P2015 found, type=10290d6, <br>
> hostname=172.16.1.36...<br>
> <br>
</font></tt>
<br><tt><font size=2>That looks like it's printing over the normal network
rather than via the FreeNX tunnel ( which is how most people run things
).</font></tt>
<br>
<br><tt><font size=2>cups will sort this sort of thing out for you on its
own if you publish your printer.</font></tt>
<br>
<br><tt><font size=2>It should be localhost:agent-port for the tunnel.</font></tt>
<br>
<br>
<br><tt><font size=2>Run</font></tt>
<br>
<br><tt><font size=2> lpstat -t</font></tt>
<br>
<br><tt><font size=2>whilst in a remote server session and see what you
session thinks is going on.</font></tt>
<br>
<br>
<br><tt><font size=2>> Is anything missing ?<br>
> <br>
> Thanks<br>
> vivek <br>
> <br>
> <br>
> chris@ccburton.com wrote: </font></tt>
<br><tt><font size=2>> <br>
> <br>
> Vivek <vivek@visolve.com> wrote on 19/10/2009 13:01:55:<br>
> <br>
<br>
> ________________________________________________________________<br>
> Were you helped on this list with your FreeNX
problem?<br>
> Then please write up the solution in the FreeNX Wiki/FAQ:<br>
> <br>
> </font></tt><a href="http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ"><tt><font size=2>http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ</font></tt></a><tt><font size=2><br>
> <br>
> Don't forget to check the NX Knowledge
Base:<br>
> </font></tt><a href=http://www.nomachine.com/kb/><tt><font size=2>http://www.nomachine.com/kb/</font></tt></a><tt><font size=2>
<br>
> <br>
> ________________________________________________________________<br>
> FreeNX-kNX mailing list --- FreeNX-kNX@kde.org<br>
> </font></tt><a href="https://mail.kde.org/mailman/listinfo/freenx-knx"><tt><font size=2>https://mail.kde.org/mailman/listinfo/freenx-knx</font></tt></a><tt><font size=2><br>
> ________________________________________________________________</font></tt>