[FreeNX-kNX] Authentication failed with NX client ... MORE TESTS ..

Fabian Franz FabianFranz at gmx.de
Fri Aug 31 00:54:45 UTC 2007


> thanks for the information there was no authorized_keys file but an  
> authorized_keys2 file I copied the file and changed the name. 

See it was sooo easy after all ;-).

> Now I get other error messages, the connect works and a session was 
> created. I clicked on new session and created a seconde session.
> 
> a) I can not terminate the session, when I klick on terminate the 
> session remains. How can I terminate unused sessions?

> 
> b) The server complains that a file is not found:
> cat: /var/lib/nxserver//running/sessionId{78969B0C3BFA0BC}: No such file

Yes, it is trying to resume the old session:

You need to add the following:

    elif [ "$status" = "Suspended,Running" -o "$status" = "Suspended" ] # since 1.4.0-5
                        then
                                # disabled due to problems with 1.4.0-5 client
                                #session_list_user_suspended "$USER" 'Suspended$|^status=Running$' "$(getparam geometry)" "$(getparam type)" | log_tee
                                session_list_user_suspended "$USER" 'Suspended' "$(getparam geometry)" "$(getparam type)"
+                        elif [ "$status" = "suspended,running" -o "$status" = "suspended" ] # since 1.5.0
+                        then
+                                status=$(echo $status | sed 's/,/$|^status=/g; s/suspended/Suspended/g; s/running/Running/g')
                                +session_list_user_suspended "$USER" "$status" "$(getparam geometry)" "$(getparam type)"
                        else
                                session_list_user "$USER" | log_tee
                        fi

Without this patch you won't have fun with any client newer than 1.4.0.

cu

Fabian



More information about the FreeNX-kNX mailing list