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

M Hoeller M_Hoeller at nurfuerspam.de
Sat Sep 1 15:52:46 UTC 2007


Hello Fabian,

On Samstag, 1. September 2007, Fabian Franz wrote:
> > Unfortunately there is still a problem:
>
> Yes, the fix was not complete ...
> You see there have been lots of changes to nxserver from 0.2.4 to
> 0.7.0 so its difficult for me to remember them all.

> You can either apply the incremental diff, or reverse the previous
> patch and apply the full patch.
I have used the full patch to the original file.

Guess is closer to a solution. And I am not sure if I did the correct 
thing.

I have listed the open sessions and tried to terminate them, this seems 
to work but please see here. More Information further down :-)


omicron:/usr/bin # nxserver --list
NX> 100 NXSERVER - Version 1.4.0-02 OS_(GPL)
NX> 127 Sessions list:

Display Username        Remote IP       Session ID
------- --------------- --------------- --------------------------------
1000    kfo     192.168.55.200  17CF4D984A2F92BC8EA2B14F5C77A8C1
1000    kfo     192.168.55.200  393B6DB185BCFCD98897EB9B17823594
1000    kfo     192.168.55.200  78969B0C3BFA0BCBDD6701A5C9AA3827
NX> 999 Bye
omicron:/usr/bin # nxserver --terminate kfo
NX> 100 NXSERVER - Version 1.4.0-02 OS_(GPL)
xhost:  unable to open display ""
NX> 1000 NXNODE - Version 1.4.0-02 "OS_(GPL)"
NX> 716 Terminating session 393B6DB185BCFCD98897EB9B17823594 on user 
request.
/usr//bin/nxnode: line 476: cd: /home/kfo/.nx/: Datei oder Verzeichnis 
nicht gefunden
NX> 1001 Bye.
xhost:  unable to open display ""
NX> 1000 NXNODE - Version 1.4.0-02 "OS_(GPL)"
NX> 716 Terminating session 78969B0C3BFA0BCBDD6701A5C9AA3827 on user 
request.
/usr//bin/nxnode: line 476: cd: /home/kfo/.nx/: Datei oder Verzeichnis 
nicht gefunden
NX> 1001 Bye.
NX> 999 Bye
omicron:/usr/bin #  


After this the --list came back with no session. So I logged out but 
kept the connection and started the no machine client 3 to get a new 
session but...

It connected and showed me: Downloading the session information
then it timed out. I am not sure if this is now due to my 
previous --terminante?

Here is the log:

NX> 203 NXSSH running with pid: 4826
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 192.168.55.100 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 1.4.0-02 OS_(GPL)
NX> 105 hello NXCLIENT - Version 1.4.0
NX> 134 Accepted protocol: 1.4.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: kfo
NX> 102 Password: 
NX> 103 Welcome to: omicron user: kfo
NX> 105 
listsession --user="kfo" --status="suspended,running" --geometry="1280x1024x24+render" --type="unix-kde"
NX> 127 Sessions list of user 'kfo' for reconnect:

Display Type             Session ID                       Options  Depth 
Screen         Status      Session Name
 ------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------


NX> 148 Server capacity: not reached for user: kfo
NX> 105 
startsession  --link="isdn" --backingstore="1" --encryption="1" --cache="32M" --images="64M" --media="0" --imagecompressionmethod="3" --imagecompressionlevel="-1" --render="1" --session="Praxis" --type="unix-kde" --cookie="d46b088304c40ac5a064678f5b5eaa4f" --geometry="1024x768+128+108" --kbtype="pc102/de" --screeninfo="1024x768x24+render"

NX> 105 Killed by signal 15.


I have attached the nxserver I used

Best regards 
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nxserver
Type: application/x-shellscript
Size: 25443 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20070901/a3cc266b/attachment.sh>


More information about the FreeNX-kNX mailing list