[FreeNX-kNX] Mounting local devices using NX client in Windows
Henning Heinold
h.heinold at tarent.de
Mon Jan 12 14:44:32 UTC 2009
On Mon, Jan 12, 2009 at 03:34:31PM +0100, Verner Kjærsgaard wrote:
> Hi list
>
> - I run a FreeNX server on a 64bit SuSE11.0.
> - From a windows NX client I wanted to share my "DocumentsAndSettings"
> in my NX session.
>
> - this failed because smbmount is not installed on my SuSE11/64 bit
> machine.
>
> - I edited /usr/bin/nxloadconfig and changed:
>
> #COMMAND_SMBMOUNT=smbmount
> COMMAND_SMBMOUNT=fusesmb
>
> - this WORKS
>
> - now, a real dummy question; I'd like to properly unmount what gets
> mounted this way...any hints as to what I should enter in order to do this?
>
> - as always, thanks a lot!
Hm,
after looking at the nxnode script
this pasting should answer it:
node_umount_smb()
{
[ -e "$USER_FAKE_HOME/.nx/C-$sess_id/scripts/mpoint" ] || return
cat "$USER_FAKE_HOME/.nx/C-$sess_id/scripts/mpoint" | while read
mpoint
do
$COMMAND_SMBUMOUNT "$mpoint" >/dev/null 2>/dev/null
done
}
Bye Henning
More information about the FreeNX-kNX
mailing list