You are not logged in.
Pages: 1
Hi
I've installed freenx + nxclient and whatever I set it tells me
NX> 203 NXSSH running with pid: 6757
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.20.23 on port: 22
...
Here motd
...
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.Anybody has any useful config for this? I've spent over 2h and still nothing.
sshd_conf
Port 22
Protocol 2
ListenAddress 0.0.0.0
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
ServerKeyBits 2048
LoginGraceTime 2m
PermitRootLogin yes
MaxAuthTries 3
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
ChallengeResponseAuthentication no
PrintMotd yes
PrintLastLog yes
ClientAliveInterval 300
ClientAliveCountMax 2
Banner /etc/ssh/bannerAny idea?
/edit
Ok it works
PermitEmptyPassword yes
but ...
NX> 105 listsession --user="user" --status="suspended,running" --geometry="1280x1024x24+render" --type="unix-xdm"
NX> 127 Sessions list of user 'user' for reconnect:
Display Type Session ID Options Depth Screen Status Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
NX> 148 Server capacity: not reached for user: user
NX> 105 startsession --xdm_port="-1" --link="lan" --backingstore="1" --nodelay="1" --encryption="1" --cache="8M" --images="32M" --media="0" --session="l" --type="unix-xdm" --geometry="1280x1000" --kbtype="pc105/pl" --screeninfo="1280x1000x24+render"
ssh_exchange_identification: Connection closed by remote hostAnd it doesn't work. What a software :evil:
Offline
I meant to update the Wiki with this information during bug squash day, but homework took precedence and hopefully this weekend i'll get to it.
I've setup a bunch of NX servers and it has always taken me a fair amount of tinkering to get them to work.
It looks like everything is going well up until the auth, so I'd try copying /opt/NX/home/nx/.ssh/client.id_dsa.key(this file resides on the server) to your client.
The easy way to get the key into the NX profile is by opening the key in a text editor, copying the contents, and pasting it in NX via the client GUI. Once you've setup your profile, go to configure, then choose the key button. Paste the key in there, and then try logging in again. That should work as you still have publickey auth enabled in the config.
If not that, I'll hafta look back on how else I've gotten NX to work, but this is my most common error in setting things up.
Best of luck!
Offline
Pages: 1