[FreeNX-kNX] NX printing through port 445
Prakash Velayutham
prakash.velayutham at cchmc.org
Sat Dec 8 15:53:40 UTC 2007
Fabian,
Here is all the client-side logs.
With server's SAMBA_MOUNT_SHARE_PROTOCOL set to "both":
Right after the connetion, client's "options" file has:
nx/
nx
,cookie
=
40bb3af68257544e35c950f96ce19050
,samba
=
139
,encryption
=
1
,session
=session,id=mannose-1000-427010580B48EBAC4A0D7075238CBA7C,display=:
0:1000
"errors" file has:
Loop: WARNING! Connected to remote version 2.1.0 with local version
3.0.0.
"session" file has:
Info: Display running with pid '428' and handler '0xd01dc'.
NXPROXY - Version 3.0.0
Copyright (C) 2001, 2007 NoMachine.
See http://www.nomachine.com/ for more information.
Info: Proxy running in client mode with pid '1972'.
Session: Starting session at 'Sat Dec 8 10:20:11 2007'.
Warning: Connected to remote version 2.1.0 with local version 3.0.0.
Info: Connection with remote proxy completed.
Info: Using MODEM link parameters 256/24/1/0.
Info: Using cache parameters 4/4096KB/16384KB/16384KB.
Info: Using image streaming parameters 50/128/1024KB/1024/128.
Info: Using image cache parameters 1/1/65536KB.
Info: Using pack method '16m-jpeg-3' with session 'unix-kde'.
Info: Using ZLIB data compression 6/6/32.
Info: Using ZLIB stream compression 9/9.
Info: Using cache file 'C:\DOCUME~1\ADMINU~1\NX73F8~1/cache-unix-kde/S-
AA6E0125277C9C836D17A680B24606E8'.
Info: Forwarding X11 connections to display ':0'.
Info: Forwarding SMB connections to port '139'.
Session: Session started at 'Sat Dec 8 10:20:11 2007'.
Info: Established X server connection.
Info: Using shared memory parameters 0/0K.
"stats" file is empty.
When I try to do an smbspool, only "session" file on the client-side
changes and this is added content to what was there before:
Info: Forwarded new connection to SMB server on port '139'.
Info: Closed connection to SMB server.
Info: Forwarded new connection to SMB server on port '139'.
Info: Closed connection to SMB server.
Info: Forwarded new connection to SMB server on port '139'.
Info: Closed connection to SMB server.
Info: Forwarded new connection to SMB server on port '139'.
Info: Closed connection to SMB server.
Now I changed SAMBA_MOUNT_SHARE_PROTOCOL to "cifs", and did "nxserver
--restart".
Here are the client files before smbspool try.
"options":
nx/
nx
,cookie
=
ad563ebc63d3c93aefcf9c61680d042e
,samba=139,encryption=1,session=session,id=mannose-1000-
CFDAC87C7BAA25371A81F2846D8F8C8E,display=:0:1000
"errors":
Loop: WARNING! Connected to remote version 2.1.0 with local version
3.0.0.
"session":
Info: Display running with pid '3676' and handler '0x23018c'.
NXPROXY - Version 3.0.0
Copyright (C) 2001, 2007 NoMachine.
See http://www.nomachine.com/ for more information.
Info: Proxy running in client mode with pid '3584'.
Session: Starting session at 'Sat Dec 8 10:41:08 2007'.
Warning: Connected to remote version 2.1.0 with local version 3.0.0.
Info: Connection with remote proxy completed.
Info: Using MODEM link parameters 256/24/1/0.
Info: Using cache parameters 4/4096KB/16384KB/16384KB.
Info: Using image streaming parameters 50/128/1024KB/1024/128.
Info: Using image cache parameters 1/1/65536KB.
Info: Using pack method '16m-jpeg-3' with session 'unix-kde'.
Info: Using ZLIB data compression 6/6/32.
Info: Using ZLIB stream compression 9/9.
Info: Using cache file 'C:\DOCUME~1\ADMINU~1\NX73F8~1/cache-unix-kde/S-
F95F15D3584D04DB10354DBA3E57E9F0'.
Info: Forwarding X11 connections to display ':0'.
Info: Forwarding SMB connections to port '139'.
Session: Session started at 'Sat Dec 8 10:41:08 2007'.
Info: Established X server connection.
Info: Using shared memory parameters 0/0K.
"stats" file is empty.
Right after smbspool try (which fails), only the following content
gets added to the "session" file (as before).
Info: Using shared memory parameters 0/0K.
Info: Forwarded new connection to SMB server on port '139'.
Info: Closed connection to SMB server.
Info: Forwarded new connection to SMB server on port '139'.
Info: Closed connection to SMB server.
Info: Forwarded new connection to SMB server on port '139'.
Info: Closed connection to SMB server.
Info: Forwarded new connection to SMB server on port '139'.
Info: Closed connection to SMB server.
One difference that I see is that, on the server's nxserver.log file,
for the first setup (SAMBA_MOUNT_SHARE_PROTOCOL="both"), I see this:
NX> 709 File-sharing port: 139
server_nxnode_echo: NX> 700 Session id:
mannose-1000-427010580B48EBAC4A0D7075238CBA7C
server_nxnode_echo: NX> 705 Session display: 1000
server_nxnode_echo: NX> 703 Session type: unix-kde
server_nxnode_echo: NX> 701 Proxy cookie:
40bb3af68257544e35c950f96ce19050
server_nxnode_echo: NX> 702 Proxy IP: 127.0.0.1
server_nxnode_echo: NX> 706 Agent cookie:
40bb3af68257544e35c950f96ce19050
server_nxnode_echo: NX> 704 Session cache: unix-kde
server_nxnode_echo: NX> 707 SSL tunneling: 1
server_nxnode_echo: NX> 709 File-sharing port: 139
but for the second setup (SAMBA_MOUNT_SHARE_PROTOCOL="cifs"), I see
this:
server_nxnode_echo: NX> 700 Session id: mannose-1000-
CFDAC87C7BAA25371A81F2846D8F8C8E
server_nxnode_echo: NX> 705 Session display: 1000
server_nxnode_echo: NX> 703 Session type: unix-kde
server_nxnode_echo: NX> 701 Proxy cookie:
ad563ebc63d3c93aefcf9c61680d042e
server_nxnode_echo: NX> 702 Proxy IP: 127.0.0.1
server_nxnode_echo: NX> 706 Agent cookie:
ad563ebc63d3c93aefcf9c61680d042e
server_nxnode_echo: NX> 704 Session cache: unix-kde
server_nxnode_echo: NX> 707 SSL tunneling: 1
NX> 709 File-sharing port: 445
server_nxnode_echo: NX> 709 File-sharing port: 445
So, I think the server is doing the right thing, but somehow client is
not switching to port 445 after server tells it to.
Thanks for taking the time to look at this.
Prakash
On Dec 7, 2007, at 9:58 PM, Fabian Franz wrote:
>> I changed SAMBA_MOUNT_SHARE_PROTOCOL="both" and still the client's
>> options file has the following:
>
> This is a case where the full client logs are really really helpful!
>
> Please also try "cifs" instead of "both".
>
> cu
>
> Fabian
More information about the FreeNX-kNX
mailing list