[FreeNX-kNX] Can't reconnect (RHEL5)

Mario Becroft mb at gem.win.co.nz
Sat May 2 02:03:55 UTC 2009


Rob Steele <freenx.10.robsteele at 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 at gem.win.co.nz>



More information about the FreeNX-kNX mailing list