cannot login to server with nxclient (can with ssh)
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
cannot login to server with nxclient (can with ssh)
Hi,
after playing around with udev rules and a reboot, I cannot log into a server with nxclient any more. The nxserver log looks like:
Code:
-- NX SERVER START: -c /usr/lib/nxserver - ORIG_COMMAND=
-- NX SERVER START: - ORIG_COMMAND=
Info: Using fds #4 and #3 for communication with nxnode.
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: siim
NX> 102 Password:
Info: Auth method: ssh siim@127.0.0.1's password:
Permission denied (publickey,password).
FREENX> 716 Slave mode failed to start.
Info: Closing connection to slave with pid 7684.
i.e. it seems that the problem is in my password. auth.log looks liket that:
Code:
Oct 22 11:47:43 Shiva sshd[7513]: reverse mapping checking getaddrinfo for hha.hha.forskningsnettet.dk [130.226.249.238] failed - POSSIBLE BREAK-IN ATTEMPT!
Oct 22 11:47:43 Shiva sshd[7513]: Accepted publickey for nx from xxx.xxx.249.238 port 32565 ssh2
Oct 22 11:47:43 Shiva sshd[7513]: pam_unix(sshd:session): session opened for user nx by (uid=0)
Oct 22 11:47:44 Shiva sshd[7692]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=localhost user=siim
Oct 22 11:47:47 Shiva sshd[7692]: Failed password for siim from 127.0.0.1 port 48465 ssh2
Oct 22 11:47:51 Shiva nxserver[7699]: (nx) Failed login for user=siim from IP=xxx.xxx.249.238
Oct 22 11:47:51 Shiva sshd[7513]: pam_unix(sshd:session): session closed for user nx
There earlier issues with e.g. /dev/ptmx belonging to scanner group, created part of the problems. I was able to correct that issue with help of nx log file. But probably some nasty stuff is still left which I have no idea how to approach...
Does anything change if you ssh to localhost form the server itself? And sorry to sound patronising, but you are logging in to the nxclient with the same password you ssh with, no?
Well, while logging via ssh to a new server... It asks something like "do you trust ..." and gives the fingerprint. Cannot remember the wording. So it looks like localhost wasn't recognized as a trusted server.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.