[FreeNX-kNX] NX printing through port 445

Prakash Velayutham prakash.velayutham at cchmc.org
Fri Dec 7 12:54:59 UTC 2007


Fabian,

On Dec 7, 2007, at 12:43 AM, Fabian Franz wrote:

>>>> Hello All,
>>>>
>>>> I am trying to print from the NX server session to a Windows client
>>>> printer through port 445 (as that is the only port open, as Netbios
>>>> over TCP/IP is disabled on the Windows client). Is this doable?
>>>
>>> Yes, but you have to recompile smbprint from samba and change in
>>> libsmb == 445 to != 139.
>>
>> As you suggested, I recompiled Samba with this change and now I am
>> able to perform smbclient and smbspool through SSH tunnel to port  
>> 445.
>
> Perfect.
>
>> But, when I do the same with NoMachine's NX client (with Netbios over
>> TCP/IP disabled), I still see that the client is trying to export its
>> printers and drives  through port 139. Here is client's error file.
>
> You have to use newest FreeNX released and use  
> SAMBA_MOUNT_SHARE_PROTOCOL="both" then FreeNX will tell NXClient to  
> use 445 when run on windows and 139 when on linux.

So, once I have SAMBA_MOUNT_SHARE_PROTOCOL="both", I do not have to  
disable Netbios over TCP/IP on the Windows client? I would like that.

I will try this and let you know.

> cu
>
> Fabian

Thanks,
Prakash



More information about the FreeNX-kNX mailing list