No subject
Fri Jan 17 03:57:02 UTC 2014
gut feeling.
If you have shadowing working on your system, the easiest way to check
whether the user's nxagent is alive is to try and shadow the session. If
you can shadow it and access the running clients then the nxagent itself
is working fine, and the problem must be in freenx. To be able to shadow
sessions that are not currently logged in, you will need the patch I
have included below and an appropriate nxshadowacl script (if you don't
have one, simply create an empty shell script that exits successfully to
enable all users to shadow all other users).
Alternatively, strace the nxagent process while the session is stuck to
get an idea of what it is doing and maybe post the output.
If it's not nxagent then you will need to look into where freenx is
going wrong. Our system is not clustered so I don't have any experience
with that. Definitely apply the second patch I posted last time as it
cures a problem with similar symptoms. Barring any more direct
suggestions from the list, you'll have to dig in and see where it is
sticking. The fact that nxnode --startsession process appears to hang
each time the user attempts to login (based on the output you posted) is
a good place to start. I would begin by identifying where it is hanging.
--8<---------------cut here---------------start------------->8---
--- nxserver.foo 2009-01-26 00:50:03.956970327 +1300
+++ nxserver 2009-01-26 00:53:02.332307685 +1300
@@ -1663,7 +1663,8 @@
session_list_user_suspended "$USER" "$status" "$(getparam geometry)" "$(getparam type)"
elif [ "$(getparam type)" = "shadow" ]
then
- session_list_user_suspended ".*" "Running" "" "shadow"
+ status=$(echo "suspended,running" | sed 's/,/$|^status=/g; s/suspended/Suspended/g; s/running/Running/g')
+ session_list_user_suspended ".*" "$status" "" "shadow"
else
session_list_user "$USER" | log_tee
fi
--8<---------------cut here---------------end--------------->8---
--
Mario Becroft <mb at gem.win.co.nz>
More information about the FreeNX-kNX
mailing list