[FreeNX-kNX] Error autentication SSH

Adriano Frare alfrare at e-alinux.com
Sun Oct 17 22:40:22 UTC 2004


Dear Friends,

After connect using nomachine client for windows, the nxserver don't 
open session, I guess error is on sshd_config, but I don't known what's 
the parameter incorrect.

Bellow, I show the error log and configuration sshd.


---------- ERROR LOG  NXSERVER --------------------
NX> 203 NXSSH running with pid: 1676
NX> 200 Connected to address: 192.168.1.1 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: nx1
NX> 102 Password:
NX> 103 Welcome to: e-alinux.com user: nx1
NX> 105 listsession --user="nx1" --status="Suspended","Running" 
--geometry="1440x900x32+render" --type="unix-kde"
NX> 127 Sessions list of user 'nx1' for reconnect:

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


NX> 148 Server capacity: not reached for user: nx1
NX> 105 startsession --session="teste1" --type="unix-kde" --cache="8M" 
--images="32M" --cookie="27d4290f1b8f2202f7947ef9abec6f1e" 
--link="modem" --backingstore="when_requested" --geometry="fullscreen" 
--keyboard="us" --kbtype="pc102/us" --media="0" --agent_server="" 
--agent_user="" --agent_password=""  --screeninfo="800x600x32+render"

Permission denied (publickey,password,keyboard-interactive).
NX> 105
---------- END ------------------------------------


----- SSHD_CONFIG FILE ------------------------------
# This is ssh server systemwide configuration file.

Port 22
Protocol 2,1
ListenAddress 0.0.0.0
HostKey /etc/ssh/ssh_host_key
#HostDsaKey /etc/ssh/ssh_host_dsa_key
ServerKeyBits 768
LoginGraceTime 600
KeyRegenerationInterval 3600
PermitRootLogin no
StrictModes yes
X11Forwarding no
X11DisplayOffset 10
PrintMotd yes
KeepAlive yes
UseLogin no

# Logging
SyslogFacility AUTH
#LogLevel INFO
LogLevel DEBUG3
# If you want to disable RSA or DSA authentications, change it to no
RSAAuthentication yes
DSAAuthentication yes

RhostsAuthentication yes
# For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication yes
# Don't read ~/.rhosts and ~/.shosts files
IgnoreRhosts no

# Uncomment if you don't trust ~/.ssh/known_hosts for 
RhostsRSAAuthentication
#IgnoreUserKnownHosts yes

# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication yes
PermitEmptyPasswords no

# Uncomment to disable s/key passwords
#SkeyAuthentication no

# To change Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#AFSTokenPassing no
#KerberosTicketCleanup no

# Kerberos TGT Passing does only work with the AFS kaserver
#KerberosTgtPassing yes

#Subsystem       sftp    /usr/libexec/sftp-server
#AllowUsers nx nx1
------ END ------------------------------------------

----------- /etc/passwd ----------------------------
nx:x:514:514::/home/.nx/:/usr/NX/bin/nxserver
nx1:x:515:515::/home/nx1:/bin/bash
----------------------------------------------------

I am using login "nx1" for connect.


Thanks.


Adriano Frare
(BRAZIL)



More information about the FreeNX-kNX mailing list