Anybody familiar with setting up freenx? I have done it several times with little problem however I tried to fix an anoying issue with some of the desktop applets not working by deleting my user account and starting over. Now no one can login from any account from any client. I've been at this for about three days now and cannot seem to find the solution this problem.
Here is the main error I get while logging in:
Code:
The NX service is not available or the NX access was disabled on host 192.168.1.100.
After clicking the details button I get:
Code:
NX> 203 NXSSH running with pid: 265924
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.1.100 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.
More details of the problem:
1. The server is CentOS 5.2 everything is up to date.
2. Client is the No Machine version 3.3.0-3 on Vista Ultimate.
3. Everything was working except some of the desktop applets at first.
4. I backed up my visible files in my home directory and deleted the account. The reason for doing this was because all other users on the system were able to login and had no desktop applet problem. So I was just recreating my user account over again hoping to fix the problem.
5. Tried to uninstall and reinstall the client software.
6. Tried to uninstall and reinstall the nx and freenx rpm packages.
NOTE: I would love to know the proper way to completely unistall all of the software so I could just start over from the begining but some files are remaining persistent after install and leaving the problem intact.
Here is my current sshd_config file:
Note: This is exactly the same config I use on another system that is working just fine.
Code:
Protocol 2
SyslogFacility AUTHPRIV
PasswordAuthentication yes
ChallengeResponseAuthentication no
GSSAPIAuthentication yes
GSSAPICleanupCredentials yes
UsePAM yes
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
AcceptEnv LC_IDENTIFICATION LC_ALL
X11Forwarding yes
Subsystemsftp /usr/libexec/openssh/sftp-server
Also here is another clue:
Code:
[root@linux nxserver]# nxserver --start
NX> 100 NXSERVER - Version 2.1.0-72 OS (GPL, using backend: not detected)
mv: cannot stat `/var/lib/nxserver/home/.ssh/authorized_keys2.disabled': No such file or directory
NX> 122 Service started
NX> 999 Bye
[root@linux nxserver]# nxserver --status
NX> 100 NXSERVER - Version 2.1.0-72 OS (GPL, using backend: not detected)
NX> 110 NX Server is stopped
NX> 999 Bye
This last clue in particular makes no sense to me since the .ssh directory don't even exist on the other system I have that is known to be working. So why is it trying to do this if those directories are not necessary? I have seen lot's of others talking about those directories in other forums or blogs but they don't seem to get setup on the CentOS install of freenx.
I could manually create the directory and cp keys over etc... But why doesn't this get done at install time???? What are the permissions supposed to be on the directory and file if I create them manually?
I would like to keep this as simple as possible and not setup special keys that require each user to have setup before it works. I think the authorised_keys2 file has to do with the special key setup since this file does not exist on the other working system I have and everything works fine on that system.
Bookmarks