<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br class="webkit-block-placeholder"></div><div>I have it working in a test setup. I will be replicating the same in a different system within the next couple of weeks.</div><div><br class="webkit-block-placeholder"></div><div>Did you recompile Samba with what Fabian mentioned during our discussion and change the smbspool program in the cups backend (I think it is a symlink) to refer to the newly compiled binary?</div><div><br class="webkit-block-placeholder"></div><div>Prakash</div><div><br class="webkit-block-placeholder"></div><div><br><div><div>On Feb 29, 2008, at 8:33 AM, Freddy Levée wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div bgcolor="#ffffff"><div><font face="Arial" size="2"><font face="Times New Roman" size="3">Hello.<br><br>I've read several posts about that, particularly discussions between Fabian<span class="Apple-converted-space"> </span><br>and Prakash Velayutham.<br>But I still have problems.<br><br>I test FreeNX 0.7.1 on an ubuntu 7.10 with a windows client on Vista.<br><br>1) When I want to mount a file share, an error occurs. In fact, I've noticed<span class="Apple-converted-space"> </span><br>that the line<br><br>$(cat<span class="Apple-converted-space"> </span><br>"$USER_FAKE_HOME/.nx/C-$SERVER_NAME-$display-$sessionid/scripts/mport")<br><br>in nxnode, function cmd_node_smbmount, returns nothing. A possible<span class="Apple-converted-space"> </span><br>workaround is to test if that command returns nothing and, in that case,<span class="Apple-converted-space"> </span><br>reinitialize port with $(getparam port).<br><br>Some people noticed this issue and have proposed a patch. For example, see<br><br>http://<span class="Apple-converted-space"> </span><br>kambing.ui.edu/gentoo-portage/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.1-samba.patch<br><br>2) When I want to attach a printer, at the beginning of the session, I've<span class="Apple-converted-space"> </span><br>got a dialog box which proposes to choose the driver. If I click on the<span class="Apple-converted-space"> </span><br>button configure, I've got the login box from the Linux NX client of the<span class="Apple-converted-space"> </span><br>server. That sounds not logical...<br><br>3) The painful issue: in fact I can't print to a shared windows printer.<br>In node.cfg, SAMBA_MOUNT_SHARE_PROTOCOL="smbfs"<br><br>The log on the client is:<br><br>Info: Display running with pid '5624' and handler '0x1d0852'.<br><br>NXPROXY - Version 3.1.0<br><br>Copyright (C) 2001, 2007 NoMachine.<br>See<span class="Apple-converted-space"> </span></font><a href="http://www.nomachine.com/"><font face="Times New Roman" size="3">http://www.nomachine.com/</font></a><font face="Times New Roman" size="3"><span class="Apple-converted-space"> </span>for more information.<br><br>Info: Proxy running in client mode with pid '5872'.<br>Session: Starting session at 'Fri Feb 29 13:21:40 2008'.<br>Warning: Connected to remote version 3.0.0 with local version 3.1.0.<br>Info: Connection with remote proxy completed.<br>Warning: Unrecognized session type 'unix-gnome'. Assuming agent session.<br>Info: Using WAN link parameters 768/24/1/0.<br>Info: Using cache parameters 4/4096KB/16384KB/16384KB.<br>Info: Using pack method 'adaptive-9' with session 'unix-gnome'.<br>Info: Using ZLIB data compression 1/1/32.<br>Info: Using ZLIB stream compression 1/1.<br>Info: Using cache file<span class="Apple-converted-space"> </span><br>'C:\Users\admin\NX73F8~1/cache-unix-gnome/S-14684223503C36BAA273B4F3E01F035F'.<br>Info: Forwarding X11 connections to display ':0'.<br>Info: Forwarding SMB connections to port '139'.<br>Info: Listening to font server connections on port '11001'.<br>Session: Session started at 'Fri Feb 29 13:21:40 2008'.<br>Info: Established X server connection.<br>Info: Using shared memory parameters 0/0K.<br>Info: Forwarded new connection to SMB server on port '139'.<br>Info: Closed connection to SMB server.<br>Info: Forwarded new connection to SMB server on port '139'.<br>Info: Closed connection to SMB server.<br>Info: Forwarded new connection to SMB server on port '139'.<br>Info: Closed connection to SMB server.<br>Info: Forwarded new connection to SMB server on port '139'.<br>Info: Closed connection to SMB server.<br>Info: Forwarded new connection to SMB server on port '139'.<br>Info: Closed connection to SMB server.<br>Info: Forwarded new connection to SMB server on port '139'.<br>Info: Closed connection to SMB server.<br>Info: Forwarded new connection to SMB server on port '139'.<br>Info: Closed connection to SMB server.<br>Info: Forwarded new connection to SMB server on port '139'.<br>Info: Closed connection to SMB server.<br>Info: Forwarded new connection to SMB server on port '139'.<br>Info: Closed connection to SMB server.<br>Info: Forwarded new connection to SMB server on port '139'.<br>Info: Closed connection to SMB server.<br>Info: Forwarded new connection to SMB server on port '139'.<br>Info: Closed connection to SMB server.<br>Info: Forwarded new connection to SMB server on port '139'.<br><br>On the server, the interesting part is:<br><br>NX> 709 File-sharing port: 139<br>server_nxnode_echo: NX> 709 File-sharing port: 139<br>NX> 1009 Session status: starting<br>server_nxnode_echo: NX> 1009 Session status: starting<br>NX> 710 Session status: running<br>server_nxnode_echo: NX> 710 Session status: running<br>NX> 1002 Commit<br>server_nxnode_echo: NX> 1002 Commit<br>NX> 1006 Session status: running<br>session_status 7DF088D80C950ECD8173016DAEB04A6A Running<br>server_nxnode_echo: NX> 1006 Session status: running<br>NX> 105 addprinter  --type="smb" --port="4001" --username="admin"<span class="Apple-converted-space"> </span><br>password="******" --share="HP4100" --computername="LEVEE-VISTA" --session_id="7DF088D80C950ECD8173016DAEB04A6A"<span class="Apple-converted-space"> </span><br> --model="NULL" --defaultPrinter="1" --public="1"<br></font><a href="mailto:flevee@127.0.0.1's"><font face="Times New Roman" size="3">flevee@127.0.0.1's</font></a><font face="Times New Roman" size="3"><span class="Apple-converted-space"> </span>password:<br>NX> 1000 NXNODE - Version 2.1.0-71 OS (GPL)<br>NX> 1001 Bye.<br>expect: spawn id exp5 not open<br>    while executing<br>"expect "NX> 1001 Bye.""<br><br>The error  sent by the command<br>/usr/sbin/lpadmin -p "$NAME" -E -v "$DEVICE_URI" -m "$MODEL" $PUBLIC<br>of the function cmd_node_addprintert is, in french:<br>lpadmin: Impossible de se connecter à "Aucun fichier ou répertoire de ce<span class="Apple-converted-space"> </span><br>type".<br><br>If I try to use lpadmin manually via<br>/usr/sbin/lpadmin -p HP4100 -E -v<span class="Apple-converted-space"> </span><a href="smb://admin:*******@127.0.0.1:4001/HP4100">smb://admin:*******@1270.0.1:4001/HP4100</a><br>I can't also print and the error on the client side is:<br>Proxy: PANIC! Can't open a new channel over an existing ID#2 with FD#13.<br><br>Another try with smbspool:<br>    smbspool<span class="Apple-converted-space"> </span><a href="smb://admin:******@127.0.0.1:4001/HP4100">smb://admin:******@127.00.1:4001/HP4100</a><span class="Apple-converted-space"> </span>5 nobody title 1<span class="Apple-converted-space"> </span><br>nautilus-debug-log.txt<br><br>session request to 127.0.0.1 failed (Called name not present)<br>session request to *SMBSERVER failed (Called name not present)<br>session request to 127.0.0.1 failed (Called name not present)<br>session request to *SMBSERVER failed (Called name not present)<br>session request to 127.0.0.1 failed (Called name not present)<br>session request to *SMBSERVER failed (Called name not present)<br>session request to 127.0.0.1 failed (Called name not present)<br>session request to *SMBSERVER failed (Called name not present)<br>ERROR: Unable to connect to CIFS host, will retry in 60 seconds...<br><br><br>Obviously, the firewall on Vista is deactivated and the printer is<span class="Apple-converted-space"> </span><br>accessible.<br><br>Has anybody encountered this issue?<br><br>Thank you for your coming answers,<br>Freddy<span class="Apple-converted-space"> </span></font><br><br></font></div>________________________________________________________________<br>    Were you helped on this list with your FreeNX problem?<br>   Then please write up the solution in the FreeNX Wiki/FAQ:<br> <a href="http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ">http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ</a><br>        Don't forget to check the NX Knowledge Base:<br>                <a href="http://www.nomachine.com/kb/">http://www.nomachine.com/kb/</a><span class="Apple-converted-space"> </span><br><br>________________________________________________________________<br>      FreeNX-kNX mailing list ---<span class="Apple-converted-space"> </span><a href="mailto:FreeNX-kNX@kde.org">FreeNX-kNX@kde.org</a><br>     <a href="https://mail.kde.org/mailman/listinfo/freenx-knx">https://mail.kdeorg/mailman/listinfo/freenx-knx</a><br>________________________________________________________________</div></span></blockquote></div><br></div></body></html>