[FreeNX-kNX] cant get working remote printing

Eric Bazzana ebazzana at gmail.com
Wed Jul 25 18:13:46 UTC 2012


Chris, in nxnode.cmd_node_addprinter i had:

if [ "$SAMBA_MOUNT_SHARE_PROTOCOL" = "cifs"] ; then
let port=$port+$SMBPORT_OFFSET
fi

i changed to:

if [ "$SAMBA_MOUNT_SHARE_PROTOCOL" = "cifs" -a "$type" != "smb"] ; then
let port=$port+$SMBPORT_OFFSET
fi

and it worked.

Now i have another problem, CUPS server is listening in a port like
http://localhost:11007, and from the admin web page i can manage the
printer, submit test pages, etc.. But, apps dont see that port, they are
going to default http://localhost:631. What is what i have to change to
make it work? is there some nx parameter? or some script?

Thanks, Eric.

PD: you tell that few people seem use smb printing, how is it? is there a
way to tell windows not to use smb, and force CIFS? i only set shared the
printer en my Win pc, and NX Client is sending "smb" as type. I have to
change elsewhere?



On Wed, Jul 25, 2012 at 4:31 AM, <chris at ccburton.com> wrote:

>
> freenx-knx-bounces at kde.org wrote on 24/07/2012 23:00:09:
>
>
> > Chris, about the password, i forget to change the second place.
>
> >
> > I found that in nxsmb script variable NXSAMBA_PORT="$PORT" is
> > resolving to a wrong port. In my case, in nxsmb is resolving
> > to 13004, but in terminal environment i have  NXSAMBA_PORT=5004. I
>
> That sounds more like the user-land cups port
>
> > force that port in nxsmb, and it worked.
> >
> > Now, that wrong port is sent by nx client, right? how can i correct this.
> > thanks, Eric
>
> Very few people seem use smb printing
> so
> I guess some distos still have the odd bug.
>
> I'll need to know what distro & .rpm or .deb you have installed
> or
> you can just .tz me a copy of your nxnode file.
>
> Sounds like the rest of it is working tho :)
> ________________________________________________________________
>      Were you helped on this list with your FreeNX problem?
>     Then please write up the solution in the FreeNX Wiki/FAQ:
>
> http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ
>
>          Don't forget to check the NX Knowledge Base:
>                  http://www.nomachine.com/kb/
>
> ________________________________________________________________
>        FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
>       https://mail.kde.org/mailman/listinfo/freenx-knx
> ________________________________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20120725/4390677d/attachment.html>


More information about the FreeNX-kNX mailing list