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

M Hoeller M_Hoeller at nurfuerspam.de
Thu Aug 30 20:33:10 UTC 2007


Hello,

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

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

Here is what I have on the server. The filename in /var/lib/nxserver 
contains the sessionId but it is longer....

omicron:/var/lib/nxserver/running # la
insgesamt 8
drwx------  2 nx root  176 2007-08-30 22:16 .
drwxr-xr-x  5 nx root  120 2007-08-20 22:04 ..
-rw-rw-r--  1 nx users 259 2007-08-30 22:16 
sessionId{17CF4D984A2F92BC8EA2B14F5C77A8C1}
-rw-rw-r--  1 nx users 259 2007-08-30 22:14 
sessionId{78969B0C3BFA0BCBDD6701A5C9AA3827}
omicron:/var/lib/nxserver/running #

Any idea?

Thanks a lot 
Michael



On Donnerstag, 30. August 2007, Fabian Franz wrote:
> sshd searches for:
> /home/.nx//.ssh/authorized_keys
> Check that that file exists, has the right owner (nx) and the right
> permissions (600).

NX> 203 NXSSH running with pid: 17446
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'

Display Username        Remote IP       Session ID
------- --------------- --------------- --------------------------------
1000	kfo	192.168.55.200	17CF4D984A2F92BC8EA2B14F5C77A8C1
1000	kfo	192.168.55.200	78969B0C3BFA0BCBDD6701A5C9AA3827
NX> 105 
listsession --user="kfo" --status="suspended,running" --geometry="1280x1024x24+render" --type="unix-kde"
NX> 127 Sessions list of user 'kfo'

Display Username        Remote IP       Session ID
------- --------------- --------------- --------------------------------
1000	kfo	192.168.55.200	17CF4D984A2F92BC8EA2B14F5C77A8C1
1000	kfo	192.168.55.200	78969B0C3BFA0BCBDD6701A5C9AA3827
NX> 105 
listsession --user="kfo" --status="suspended,running" --geometry="1280x1024x24+render" --type="unix-kde"
NX> 127 Sessions list of user 'kfo'

Display Username        Remote IP       Session ID
------- --------------- --------------- --------------------------------
1000	kfo	192.168.55.200	17CF4D984A2F92BC8EA2B14F5C77A8C1
1000	kfo	192.168.55.200	78969B0C3BFA0BCBDD6701A5C9AA3827
NX> 105 terminate --sessionid="17CF4D984A2F92B"
NX> 105 
listsession --user="kfo" --status="suspended,running" --geometry="1280x1024x24+render" --type="unix-kde"
NX> 127 Sessions list of user 'kfo'

Display Username        Remote IP       Session ID
------- --------------- --------------- --------------------------------
1000	kfo	192.168.55.200	17CF4D984A2F92BC8EA2B14F5C77A8C1
1000	kfo	192.168.55.200	78969B0C3BFA0BCBDD6701A5C9AA3827
NX> 105 
listsession --user="kfo" --status="suspended,running" --geometry="1280x1024x24+render" --type="unix-kde"
NX> 127 Sessions list of user 'kfo'

Display Username        Remote IP       Session ID
------- --------------- --------------- --------------------------------
1000	kfo	192.168.55.200	17CF4D984A2F92BC8EA2B14F5C77A8C1
1000	kfo	192.168.55.200	78969B0C3BFA0BCBDD6701A5C9AA3827
NX> 105 
listsession --user="kfo" --status="suspended,running" --geometry="1280x1024x24+render" --type="unix-kde"
NX> 127 Sessions list of user 'kfo'

Display Username        Remote IP       Session ID
------- --------------- --------------- --------------------------------
1000	kfo	192.168.55.200	17CF4D984A2F92BC8EA2B14F5C77A8C1
1000	kfo	192.168.55.200	78969B0C3BFA0BCBDD6701A5C9AA3827
NX> 105 
restoresession  --link="isdn" --backingstore="1" --encryption="1" --cache="32M" --images="64M" --media="0" --imagecompressionmethod="3" --imagecompressionlevel="-1" --render="1" --session="Praxis" --type="unix-kde" --cookie="9627ed613b873be1c99f37fad5fcc1fb" --geometry="1024x768+128+108" --kbtype="pc102/de" --id="78969B0C3BFA0BC"

cat: /var/lib/nxserver//running/sessionId{78969B0C3BFA0BC}: No such file 
or directory
Killed by signal 15.



More information about the FreeNX-kNX mailing list