[FreeNX-kNX] Re: Windows share problem

Agustin Castaño morsapc at gmail.com
Tue May 3 01:15:17 UTC 2011


It works like a charm.

Thank you very much!

On Mon, May 2, 2011 at 8:00 PM, <chris at ccburton.com> wrote:

>
> Agustin Castaño <morsapc at gmail.com> wrote on 02/05/2011 20:16:52:
>
>
> > Info: Share: '//NB-3/D' failed to mount: mount error 1 = Operation
> > not permitted
> > Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
> >
> > I think its related to the suid thing.
> > How can I fix this?
>
> If you mean
> "how do I suid mount.cifs ??" try
>         sudo chmod +s /sbin/mount.cifs
>
> Don't forget /sbin/umount.cifs too.
>
> If you have a problem with a suid mount.cifs then try
> mounting manually after connecting, i.e.
> Connect to FreeNX with a windows share set up in
> the nxclient.
>
> Then test the windows share by mapping it to localhost on the
> windows machine (ie from/to localhost) to make sure the
> windows server process is working and accepting drive
> mappings from localhost addressed to itself.
>
> If it is, then try it manually from within the FreeNX session.
>
> You will need to
>         sudo netstat -napt|grep nxagent
> and look for your correct nxagent with a local address of
>         0.0.0.0:4000
> or some such. Make sure you get the right nxagent.
>
> You can then try mapping the share connection as "root" i.e
>
> sudo mount.cifs //NB-3/D /mountpoint
> -ouser=winusername,pass=winpassword,ip=127.0.0.1,port=4000
>
> or whatever your agent port is.
>
> ________________________________________________________________
>     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/20110502/17cd8f87/attachment.html>


More information about the FreeNX-kNX mailing list