<br>
<br><tt><font size=2>Vivek <vivek@visolve.com> wrote on 24/11/2009
14:40:19:<br>
<br>
<br>
> <br>
> E [24/Nov/2009:19:07:27 +0530] [Job 1] Connection failed: <br>
> NT_STATUS_BAD_NETWORK_NAME </font></tt>
<br>
<br><tt><font size=2>Might be a number of things</font></tt>
<br>
<br><tt><font size=2> </font></tt>
<br><tt><font size=2>Turn on trace in at the top of /usr/lib/cups/backend/nxsmb
</font></tt>
<br>
<br><tt><font size=2>by removing the # from</font></tt>
<br>
<br><tt><font size=2> #set -x -v</font></tt>
<br>
<br>
<br><tt><font size=2>Find the printer's full URI by looking for</font></tt>
<br>
<br><tt><font size=2> DeviceURI nxsmb:</font></tt>
<br>
<br><tt><font size=2>in /home/user/.nx/C-machine-port-session/cups/printers.conf</font></tt>
<br>
<br>
<br>
<br>
<br><tt><font size=2>As THE CONNECTED NX user, at a command prompt on the
NX server enter </font></tt>
<br>
<br><tt><font size=2>export DEVICE_URI=nxsmb://user-name:password@127.0.0.1:port/cifs/HP</font></tt>
<br>
<br><tt><font size=2>
or whatever you found in printers.conf</font></tt>
<br>
<br><tt><font size=2>Make a small test text file, then in the SAME SESSION,
run : -</font></tt>
<br>
<br><tt><font size=2> /usr/lib/cups/backend/nxsmb
1 1 1 1 your-text-test-file.txt</font></tt>
<br>
<br><tt><font size=2><br>
> but we are able to ping the windows client from Ubuntu server using
hostname.<br>
> <br>
</font></tt>
<br><tt><font size=2>Not down the tunnel tho'</font></tt>
<br>
<br><tt><font size=2>> Server - Ubuntu 9.04<br>
> Client - Windows XP - SP2 (nomachine's client) (AVG anti-virus is
running)<br>
</font></tt>
<br><tt><font size=2>sp2 ????</font></tt>
<br>
<br><tt><font size=2>If this doesn't work, next we may need to check you
aren't connecting </font></tt>
<br><tt><font size=2>via the LAN instead of the ssh tunnel.</font></tt>
<br>
<br><tt><font size=2>What firewall restrictions are there on the Windows
Workstation </font></tt>
<br><tt><font size=2>regarding the MS File/Print Server process with cifs
?</font></tt>
<br>
<br><tt><font size=2>Can localhost connect ?????</font></tt>
<br>
<br>
<br><tt><font size=2>> <br>
> Thanks,<br>
> VIvek<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>