[FreeNX-kNX] Keys issue with passdb

Guillaume LUDWIG contact at gmli.fr
Mon Apr 26 19:12:52 UTC 2010


Hi,

another problem with freenx.

I use the passdb auth system, and i've created two accounts : gml and simon

Here are the commands :


gml at black-cerisier:~/.ssh$ sudo nxserver --adduser gml
NX> 100 NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.3.0)
NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.3.0)
NX> 716 Public key added to: /home/gml/.ssh/authorized_keys2
NX> 1001 Bye.
NX> 999 Bye
gml at black-cerisier:~/.ssh$ cp authorized_keys2 authorized_keys
gml at black-cerisier:~/.ssh$ sudo nxserver --passwd gml
NX> 100 NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.3.0)
New password: 
Password changed.
NX> 999 Bye

and

gml at black-cerisier:~/.ssh$ sudo nxserver --adduser simon
NX> 100 NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.3.0)
NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.3.0)
NX> 716 Public key added to: /home/simon/.ssh/authorized_keys2
NX> 1001 Bye.
NX> 999 Bye
gml at black-cerisier:~/.ssh$ sudo cp /home/simon/.ssh/authorized_keys2 
/home/simon/.ssh/authorized_keys
gml at black-cerisier:~/.ssh$ sudo nxserver --passwd simon
NX> 100 NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.3.0)
New password: 
Password changed.
NX> 999 Bye
gml at black-cerisier:~/.ssh$ 


If i log in with gml, no problem.

But with simon here is the output :

NX> 203 NXSSH running with pid: 14570
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: 127.0.0.1 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.3.0)
NX> 105 hello NXCLIENT - Version 3.2.0
NX> 134 Accepted protocol: 3.2.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: simon
NX> 102 Password: 
NX> 103 Welcome to: black-cerisier user: simon
NX> 105 listsession --user="simon" --status="suspended,running" --
geometry="3360x1050x24+render" --type="unix-application"
NX> 127 Sessions list of user 'simon' for reconnect:

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


NX> 148 Server capacity: not reached for user: simon
NX> 105 startsession  --rootless="1" --virtualdesktop="0" --
application="freemind" --link="adsl" --backingstore="1" --encryption="1" --
cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" --
composite="1" --media="0" --session="openoffice.orgo" --type="unix-application" 
--client="linux" --keyboard="pc105/us" --screeninfo="3360x1015x24+render" 

Permission denied (publickey,password).
NX> 280 Exiting on signal: 15


Any idea ?

Regards,
gml



More information about the FreeNX-kNX mailing list