[FreeNX-kNX] windows/osx shares fail to mount
chris at ccburton.com
chris at ccburton.com
Mon Jul 26 14:33:30 UTC 2010
Johannes Scholz <lgdlubyou at googlemail.com> wrote on 26/07/2010 14:41:27:
> Hi Chris
Hi
>
> Am 26.07.2010 um 15:23 schrieb chris at ccburton.com:
>
> Do you mean you can mount the workstation's shares on the NX server
> from within the NX session, over the ssh tunnel ???
>
> This is exactly what i can do, ie
> i can connect to the freenx server using nx client and then do something
like
>
> mount -t smbfs //mycomputer.local/my_share /mnt -o
> username=myusername,ip=127.0.0.1,port=5000
>
> on the console (which seems to be what the node bash script does).
>
> As far as timeouts go - maybe, but its a big maybe since i do not
> seem to have issues with latency, bandwidth etc.
It's mainly to do with the length of time it takes to set up the tunnel,
but you also get issues of you are mounting several shares.
As a diagnostic/bodge try adding a
sleep 10
at about line 1400 in nxnode, after
# sometimes the samba port we get from nxserver is not the right
one, so let's get it from nxagent
and see if that gets it going.
A better fix of course, is to put
error=$(PASSWD="$password" $COMMAND_SMBMOUNT
"//$computername/$share" "$HOME/$dir" -o
username="$username",ip=127.0.0.1,port=$port 2>&1)
in a loop, testing the return code, for a couple of attempts with a sleep
1
in it for when it fails.
Note, most people don't seem to use this, or the printing, hence the lack
of interest . . .
Let us know how you get on . . . .
>
> Regards,
>
> Johannes Scholz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20100726/a1d786e5/attachment.html>
More information about the FreeNX-kNX
mailing list