[FreeNX-kNX] JJK: All patches applied
Prakash Velayutham
prakash.velayutham at cchmc.org
Sat Aug 11 17:30:45 UTC 2007
Hello,
I have FreeNX-0.4.4-15 in a OpenSUSE 10.2 system. My clients are all
from NoMachine. Currently I am testing from a Mac client.
I have session limit per user set to 3 on the server side.
Due to firewall and connection freezing, my client's connection to
the server just gets dropped. But even though with Session
Administrator I am able to terminate the dropped connections, server
still thinks these are running sessions. So within a short period,
all my users start facing too many sessions error from the client
side. Is there a cure for this?
Only thing that I could do is to cleanup from the server side which
sets all the sessions back to 0 for that user. Is there a way that
the user himself can cleanup his sessions on the server through a
separate SSH connection or something? Currently they cannot as the
session related files are stored in NX user's area which is protected.
Thanks,
Prakash
On Aug 11, 2007, at 1:19 PM, Fabian Franz wrote:
> Hi,
>
> I have now all your patches applied. Thanks a lot.
>
> I also found the right way to tell nxclient which port to forward
> for file sharing and applied that to SVN. (see attached changeset
> below)
>
> Unfortunately all other three mails bounced and I just saw it, so
> you might have wondered why you did never get any reply from me.
> (but I just wrote there that I applied your patches and a longer
> mail regarding your first mail ...)
>
> Anyway, finally being in contact with you, thank you for your
> patches and hope you are happy that you do no longer need to do a
> manual port forwarding.
>
> cu
>
> Fabian
>
> PS: A copy goes to freenx-knx so that its archived and that it
> might reach you over that way.
>
>
> -------- Original-Nachricht --------
> Datum: Sat, 11 Aug 2007 19:08:08 +0200
> Von: fabianx at BerliOS <fabianx at mail.berlios.de>
> An: freenx-cvs at lists.berlios.de
> Betreff: [Freenx-cvs] r362 - freenx-server/trunk
>
> Author: fabianx
> Date: 2007-08-11 19:08:07 +0200 (Sat, 11 Aug 2007)
> New Revision: 362
>
> Modified:
> freenx-server/trunk/ChangeLog
> freenx-server/trunk/node.conf.sample
> freenx-server/trunk/nxloadconfig
> freenx-server/trunk/nxnode
> Log:
> * Added support for mount.cifs additionally to the deprecated
> smbmount. (fabianx at bat.berlios.de, puterguy at bat.berlios.de)
>
>
>
> Modified: freenx-server/trunk/ChangeLog
> ===================================================================
> --- freenx-server/trunk/ChangeLog 2007-08-09 15:58:11 UTC (rev 361)
> +++ freenx-server/trunk/ChangeLog 2007-08-11 17:08:07 UTC (rev 362)
> @@ -10,12 +10,14 @@
> will work on any machine that has dialog and xterm.
> (puterguy at bat.berlios.de)
> * Fixed the APPLICATION_LIBRARY_PRELOAD to be just a warning and
> fixed
> - the default path.
> + the default path. (fabianx at bat.berlios.de)
> * Added drivers.cache.all that is reloaded just every 60 minutes.
> (puterguy at bat.berlios.de)
> * Fixed missing services stop that lead to redundant mounts and
> still
> running cupsd processes.
> (puterguy at bat.berlios.de)
> + * Added support for mount.cifs additionally to the deprecated
> + smbmount. (fabianx at bat.berlios.de, puterguy at bat.berlios.de)
>
> 07.07.2007 FreeNX 0.7.0 "Jornade SPL Edition VI+1"
> * Fixed the printing support for CUPS 1.2.
>
> Modified: freenx-server/trunk/node.conf.sample
> ===================================================================
> --- freenx-server/trunk/node.conf.sample 2007-08-09 15:58:11 UTC
> (rev 361)
> +++ freenx-server/trunk/node.conf.sample 2007-08-11 17:08:07 UTC
> (rev 362)
> @@ -294,6 +294,18 @@
> #CUPS_DEFAULT_SOCK="/var/run/cups/cups.sock"
> #CUPS_ETC="/etc/cups"
>
> +# SAMBA_MOUNT_SHARE_PROTOCOL is a key to configure the supported
> +# protocols for mounting shares.
> +#
> +# This key can be set to the following values:
> +#
> +# both, either SMB and CIFS protocol are supported, this is the
> default value.
> +# smbfs, only SMB protocol is supported.
> +# cifs, only CIFS protocol is supported.
> +# none, no network file-sharing protocol is supported.
> +
> +#SAMBA_MOUNT_SHARE_PROTOCOL="both"
> +
>
> ######################################################################
> ###
> # Path directives
>
> ######################################################################
> ###
> @@ -357,6 +369,14 @@
> # 'smbumount'.
> #COMMAND_SMBUMOUNT=smbumount
>
> +# The key that contains the name of the complete path of command name
> +# 'mount.cifs'.
> +#COMMAND_SMBMOUNT_CIFS=/sbin/mount.cifs
> +
> +# The key that contains the name of the complete path of command name
> +# 'umount.cifs'.
> +#COMMAND_SMBUMOUNT_CIFS=/sbin/umount.cifs
> +
> # The key that contains the name of the complete path of the
> 'netcat' command.
> #COMMAND_NETCAT=netcat
>
>
> Modified: freenx-server/trunk/nxloadconfig
> ===================================================================
> --- freenx-server/trunk/nxloadconfig 2007-08-09 15:58:11 UTC (rev 361)
> +++ freenx-server/trunk/nxloadconfig 2007-08-11 17:08:07 UTC (rev 362)
> @@ -157,6 +157,8 @@
> CUPS_DEFAULT_SOCK="/var/run/cups/cups.sock"
> CUPS_ETC="/etc/cups/"
>
> +SAMBA_MOUNT_SHARE_PROTOCOL="both"
> +
> # Path directives
>
> USER_FAKE_HOME="" #Calculated
> @@ -173,6 +175,8 @@
> COMMAND_XAUTH=/usr/X11R6/bin/xauth
> COMMAND_SMBMOUNT=smbmount
> COMMAND_SMBUMOUNT=smbumount
> +COMMAND_SMBMOUNT_CIFS=/sbin/mount.cifs
> +COMMAND_SMBUMOUNT_CIFS=/sbin/umount.cifs
> COMMAND_NETCAT=netcat
> COMMAND_SSH=ssh
> COMMAND_SSH_KEYGEN=ssh-keygen
>
> Modified: freenx-server/trunk/nxnode
> ===================================================================
> --- freenx-server/trunk/nxnode 2007-08-09 15:58:11 UTC (rev 361)
> +++ freenx-server/trunk/nxnode 2007-08-11 17:08:07 UTC (rev 362)
> @@ -1011,6 +1011,48 @@
> # Rootless fix from 2x nxserver 1.5.0
> realtype=$type
> [ "$type" = "unix-application" -o "$type" = "unix-default" ] &&
> realtype="unix-desktop"
> +
> + # NX 2.1.0 file-sharing port options
> + client=$(getparam client)
> +
> + smbport=""
> +
> + if [ "$samba" = "1" ]
> + then
> + # We know from protocol traces that client=linux,winnt,macosx
> are valid values.
> + # I hope with smbclientproto=smb on default and
> smbclientproto=cifs on all valid
> + # values we get support for all those systems.
> +
> + smbproto="$SAMBA_MOUNT_SHARE_PROTOCOL"
> +
> + if [ "$smbproto" = "both" ]
> + then
> + smbproto="smbfs"
> +
> + [ "$client" = "linux" ] && smbproto="cifs"
> + [ "$client" = "winnt" ] && smbproto="cifs"
> + [ "$client" = "macosx" ] && smbproto="cifs"
> +
> + # FIXME: This is a rather wild guess
> + [ "$client" = "win9x" ] && smbproto="smbfs"
> + fi
> +
> + if [ "$smbproto" = "cifs" ]
> + then
> + smbport=445
> + COMMAND_SMBMOUNT=$COMMAND_SMBMOUNT_CIFS
> + COMMAND_SMBUMOUNT=$COMMAND_SMBUMOUNT_CIFS
> + elif [ "$smbproto" = "none" ] # none
> + then
> + # we set this to true so that the
> + # SMB mount does not give an error message.
> +
> + COMMAND_SMBMOUNT=/bin/true
> + COMMAND_SMBUMOUNT=/bin/true
> + else # smbfs
> + smbport=139
> + fi
> + fi
>
> # FreeNX specific variables
> clientproto=$(getparam clientproto)
> @@ -1148,6 +1190,9 @@
> NX> 707 SSL tunneling: $ssl_tunnel
> EOF
>
> +# File-sharing port options
> +[ "$samba" = "1" -a -n "$smbport" ] && echo "NX> 709 File-sharing
> port: $smbport"
> +
> # collection ...
>
> # NX> 1004 Error:
>
> _______________________________________________
> Freenx-cvs mailing list
> Freenx-cvs at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/freenx-cvs
>
> !DSPAM:46bded1a290076033044490!
> ________________________________________________________________
> Were you helped on this list with your FreeNX problem?
> Then please write up the solution in the FreeNX Wiki/FAQ:
> http://openfacts.berlios.de/index-en.phtml?title=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
> ________________________________________________________________
More information about the FreeNX-kNX
mailing list