[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freenx-knx
Subject:    Re: [FreeNX-kNX] Can't reconnect (RHEL5)
From:       Mario Becroft <mb () gem ! win ! co ! nz>
Date:       2009-05-02 2:03:55
Message-ID: 87skjontv8.fsf () server ! ak ! quickcircuit ! co ! nz
[Download RAW message or body]

Rob Steele <freenx.10.robsteele@xoxy.net> writes:

> This has been an intermittent problem with all previous versions but it
> has become worse lately: I often can't reconnect to existing sessions.
> The processes in those sessions continue to run but NX creates a new
> session when I try to reconnect.  The problem seems to be worse when the
> connection was lost because of a network break.
>
> Any ideas?  Thanks!

This sounds like a problem I have encountered. Please try the following
patch which I posted to the list earlier in the year. Note that if any
sessions are running when you apply the patch you should use install
rather than directly patching the running nxserver. Users will have to
restart their sessions before the change will take effect--but there
should be no more problems on the restarted sessions.

--8<---------------cut here---------------start------------->8---
--- nxserver.foo	2009-01-25 16:07:46.590977440 +1300
+++ nxserver	2009-01-25 21:34:29.259718601 +1300
@@ -967,8 +967,8 @@
 server_nxnode_echo()
 {
 	log 6 "server_nxnode_echo: $@"
-	[ "$SERVER_CHANNEL" = "1" ] && echo "$@"
-	[ "$SERVER_CHANNEL" = "2" ] && echo "$@" >&2
+	[ "$SERVER_CHANNEL" = "1" ] && /bin/echo "$@"
+	[ "$SERVER_CHANNEL" = "2" ] && /bin/echo "$@" >&2
 }
 
 server_nxnode_exit_func()
--8<---------------cut here---------------end--------------->8---


-- 
Mario Becroft <mb@gem.win.co.nz>
________________________________________________________________
     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@kde.org
      https://mail.kde.org/mailman/listinfo/freenx-knx
________________________________________________________________
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic