Probleme mit NX

Nemesis

Nemesis

N3RD
hi,
ich bekomm auf meinem debian etch kein nx zum laufen.
ich hab mir den nxserver, nxclient und nxnode von nomachine.com geholt und installiert.

wobei da bereits bei nxserver folgendes warning kam:
Code:
NX> 700 Installing: server at: Sa Jul 14 16:29:44 2007.
NX> 700 Autodetected system: debian.
NX> 700 Install log is: /usr/NX/var/log/install.
NX> 700 Creating configuration file: /usr/NX/etc/server.cfg.
NX> 723 Cannot start NX statistics:
NX> 709 NX statistics are disabled for this server.
NX> 700 WARNING: Error when trying to connect to NX server, error is:
NX> 700 WARNING: NX> 203 NXSSH running with pid: 24309
NX> 200 Connected to address: 127.0.0.1 on port: 22
NX> 202 Authenticating user: nx
NX> 204 Authentication failed..
NX> 700 WARNING: nxsetup cannot validate the sanity of the current installation:
NX> 700 WARNING: the current system or NX configuration could be broken.
NX> 700 WARNING: If difficulties arise (for example sessions cannot be started),
NX> 700 WARNING: it is advisable that you try to uninstall the NX server and the
NX> 700 WARNING: NX client packages then install them again.
NX> 700 WARNING: Search also the NoMachine Knowledge Base at the URL below:
NX> 700 WARNING: http://www.nomachine.com/kb
NX> 700 WARNING: for common errors encountered when performing a software update
NX> 700 WARNING: and the related hints on how to solve them..
NX> 700 Installation of NX server was completed with warnings.
NX> 700 Please review the install log '/usr/NX/var/log/install'
NX> 700 for further details.
NX> 700 Showing file: /usr/NX/share/documents/server/install-notices

nach einem /etc/init.d/nxserver restart:
Code:
NX> 123 Service stopped.
NX> 153 Stopping NX server monitor.
NX> 153 NX server monitor already stopped.
NX> 122 Service started.
NX> 999 Bye.
NX> 723 Cannot start NX statistics:
NX> 709 NX statistics are disabled for this server.
NX> 999 Bye.

den nx-user habe ich auch angelegt:
Code:
NX> 801 User: nemesis uses SSHD authentication.
NX> 900 Adding public key for user: nemesis to the authorized keys file.
NX> 900 Verifying public key authentication for NX user: nemesis.
NX> 910 WARNING: The SSH  key to be used for user authentication was
NX> 910 WARNING: added to the private authorized keys file of user
NX> 910 WARNING: but user authentication didn't succeed.
NX> 910 WARNING: Please note that, with these settings, the user won't
NX> 910 WARNING: be able to successfully run any sessions.
NX> 910 WARNING: Run the following command to get some hints on the possible
NX> 910 WARNING: reasons of the problem:
NX> 910 WARNING:
NX> 910 WARNING: nxserver --usercheck nemesis
NX> 910 WARNING:
NX> 301 User: nemesis enabled in the NX user DB.
NX> 999 Bye.
(wieder warnings)

aber wenn ich dann mit dem nxclient drauf zugreifen möchte, sagt er:
Code:
server is not installed or nx-access disabled

und bei nxserver --usercheck nemesis sagt er
Code:
NX> 900 Verifying public key authentication for NX user: nemesis.
NX> 900 Adding public key for user: nemesis to the authorized keys file.
NX> 900 Verifying public key authentication for NX user: nemesis.
NX> 500 ERROR: Public key authentication failed
NX> 500 WARNING: NX server was unable to login as user: nemesis
NX> 500 WARNING: Please check that the account is enabled to login.
NX> 500 WARNING: Also check that user's home directory, the directory
NX> 500 WARNING: ~/.ssh and the file ~/.ssh/authorized_keys2 have
NX> 500 WARNING: correct permissions according to the StrictModes of
NX> 500 WARNING: your SSHD configuration
NX> 999 Bye.

ist da noch was zu beachten? hab ich was übersehen? ich habs auch schon neu installiert, aber selbes problem ... irgendetwas scheine ich zu übersehen ...
 
Existiert denn ein User namens "nx" in der /etc/passwd?
Naja, und dass du mal in /usr/NX/var/log/install nachschauen solltest, hat er dir ja selbst bereits gesagt.
 
jop, nx steht in der /etc/passwd

Code:
NX> 700 Starting: install node operation at: Sa Jul 14 16:29:28 2007.
NX> 700 Autodetected system 'debian'.
NX> 700 Install log is '/usr/NX/var/log/install'.
NX> 700 Creating configuration in /usr/NX/etc/node.cfg.
NX> 700 Running: /bin/cp -f '/usr/NX/etc/node-debian.cfg.sample' '/usr/NX/etc/node.cfg'.
NX> 700 Result: OK.
NX> 700 Running: cat /usr/NX/scripts/init/nxsensor > /etc/init.d/nxsensor.
NX> 700 Result: OK.
NX> 700 Running: chmod +x /etc/init.d/nxsensor.
NX> 700 Result: OK.
NX> 700 Running: ln -sf ../init.d/nxsensor S99nxsensor.
NX> 700 Result: OK.
NX> 700 Running: ln -sf ../init.d/nxsensor S99nxsensor.
NX> 700 Result: OK.
NX> 700 Running: ln -sf ../init.d/nxsensor S99nxsensor.
NX> 700 Result: OK.
NX> 700 Running: ln -sf ../init.d/nxsensor K01nxsensor.
NX> 700 Result: OK.
NX> 700 Running: ln -sf ../init.d/nxsensor K01nxsensor.
NX> 700 Result: OK.
NX> 700 Inspecting local CUPS environment.
NX> 700 Generating CUPS entries in: /usr/NX/etc/node.cfg.
NX> 700 Running: ln -sf /usr/NX/bin/nxspool /usr/lib/cups/backend/nx.
NX> 700 Result: OK.
NX> 700 Replacing: /usr/NX/etc/node.cfg.
NX> 700 Running: /bin/cp -f /usr/NX/etc/node.cfg.tmp /usr/NX/etc/node.cfg.
NX> 700 Result: OK.
NX> 700 Deleting temporary file.
NX> 700 Running: /bin/rm -f /usr/NX/etc/node.cfg.tmp.
NX> 700 Result: OK.
NX> 700 Running: chown root:root '/usr/NX/bin/nxuexec'.
NX> 700 Result: OK.
NX> 700 Running: chmod 555 '/usr/NX/bin/nxuexec'.
NX> 700 Result: OK.
NX> 700 Running: chmod u+s '/usr/NX/bin/nxuexec'.
NX> 700 Result: OK.
NX> 700 Running: chown root:root '/usr/NX/scripts/restricted/nxkeyadd.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod 744 '/usr/NX/scripts/restricted/nxkeyadd.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod u+s '/usr/NX/scripts/restricted/nxkeyadd.sh'.
NX> 700 Result: OK.
NX> 700 CUPS support is disabled.
NX> 700 Running: chown root:root '/usr/NX/scripts/restricted/nxuseradd.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod 744 '/usr/NX/scripts/restricted/nxuseradd.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod u+s '/usr/NX/scripts/restricted/nxuseradd.sh'.
NX> 700 Result: OK.
NX> 700 Running: chown root:root '/usr/NX/scripts/restricted/nxuserdel.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod 744 '/usr/NX/scripts/restricted/nxuserdel.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod u+s '/usr/NX/scripts/restricted/nxuserdel.sh'.
NX> 700 Result: OK.
NX> 700 Running: /usr/NX/bin/nxnode --validate.
NX> 700 Result: OK.
NX> 700 Running: /bin/mv '/usr/NX/etc/node.lic.sample' '/usr/NX/etc/node.lic'.
NX> 700 Result: OK.
NX> 700 Running: chown root:root '/usr/NX/etc/node.lic'.
NX> 700 Result: OK.
NX> 700 Running: chmod 0400 '/usr/NX/etc/node.lic'.
NX> 700 Result: OK.
NX> 700 Running: chown root:root '/usr/NX/scripts/restricted/nxlicense.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod 744 '/usr/NX/scripts/restricted/nxlicense.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod u+s '/usr/NX/scripts/restricted/nxlicense.sh'.
NX> 700 Result: OK.
NX> 700 Running: chown root:root '/tmp/.ICE-unix'.
NX> 700 Result: OK.
NX> 700 Running: chmod 01777 '/tmp/.ICE-unix'.
NX> 700 Result: OK.
NX> 700 Running: chown root:root '/tmp/.X11-unix'.
NX> 700 Result: OK.
NX> 700 Running: chmod 01777 '/tmp/.X11-unix'.
NX> 700 Result: OK.
NX> 700 Running: chown root:root '/usr/NX/scripts/restricted/nxmountadd.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod 744 '/usr/NX/scripts/restricted/nxmountadd.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod u+s '/usr/NX/scripts/restricted/nxmountadd.sh'.
NX> 700 Result: OK.
NX> 700 Running: chown root:root '/usr/NX/scripts/restricted/nxmountdel.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod 744 '/usr/NX/scripts/restricted/nxmountdel.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod u+s '/usr/NX/scripts/restricted/nxmountdel.sh'.
NX> 700 Result: OK.
NX> 700 Installation of version: 3.0.0-76 completed.
NX> 700 Showing file: /usr/NX/share/documents/node/cups-info
NX> 700 Bye.


NX> 700 Installing: server at: Sa Jul 14 16:29:44 2007.
NX> 700 Autodetected system: debian.
NX> 700 Install log is: /usr/NX/var/log/install.
NX> 700 Running: adduser --system --disabled-password --home /usr/NX/home/nx nx.
NX> 700 Output: Warnung: Das von Ihnen angegebene Home-Verzeichnis existiert bereits.
Lege Systembenutzer »nx« (UID 112) an ...
Lege neuen Benutzer »nx« (UID 112) mit Gruppe »nogroup« an ...
adduser: Warnung: Dieses Home-Verzeichnis gehört nicht dem Benutzer, den Sie gerade anlegen.
Das Home-Verzeichnis »/usr/NX/home/nx« existiert bereits. Kopiere keine Dateien aus »/etc/skel«..
NX> 700 Result: OK.
NX> 700 Command: echo '/usr/NX/bin/nxserver' | /usr/bin/chsh nx.
NX> 700 Ändere die Login-Shell für nx
Geben Sie einen neuen Wert an oder ENTER für den Standardwert
        Login-Shell [/bin/false]: .
NX> 700 Result: OK.
NX> 700 Running: ssh-keygen -q -t dsa -N '' -f '/usr/NX/etc/keys/node.localhost.id_dsa'.
NX> 700 Result: OK.
NX> 700 Running: /bin/cp -f '/usr/NX/etc/passwords.db.sample' '/usr/NX/etc/passwords.db'.
NX> 700 Result: OK.
NX> 700 Running: touch '/usr/NX/etc/passwords.db.lock'.
NX> 700 Result: OK.
NX> 700 Running: chown nx:root '/usr/NX/etc/passwords.db.lock'.
NX> 700 Result: OK.
NX> 700 Running: /bin/cp -f '/usr/NX/etc/administrators.db.sample' '/usr/NX/etc/administrators.db'.
NX> 700 Result: OK.
NX> 700 Running: touch '/usr/NX/etc/administrators.db.lock'.
NX> 700 Result: OK.
NX> 700 Running: chown nx:root '/usr/NX/etc/administrators.db.lock'.
NX> 700 Result: OK.
NX> 700 Running: /bin/cp -f '/usr/NX/etc/guests.db.sample' '/usr/NX/etc/guests.db'.
NX> 700 Result: OK.
NX> 700 Running: touch '/usr/NX/etc/guests.db.lock'.
NX> 700 Result: OK.
NX> 700 Running: chown nx:root '/usr/NX/etc/guests.db.lock'.
NX> 700 Result: OK.
NX> 700 Running: /bin/cp -f '/usr/NX/etc/profiles.db.sample' '/usr/NX/etc/profiles.db'.
NX> 700 Result: OK.
NX> 700 Running: touch '/usr/NX/etc/profiles.db.lock'.
NX> 700 Result: OK.
NX> 700 Running: chown nx:root '/usr/NX/etc/profiles.db.lock'.
NX> 700 Result: OK.
NX> 700 Running: touch '/usr/NX/etc/users.db.lock'.
NX> 700 Result: OK.
NX> 700 Running: chown nx:root '/usr/NX/etc/users.db.lock'.
NX> 700 Result: OK.
NX> 700 Running: touch '/usr/NX/etc/users.db'.
NX> 700 Result: OK.
NX> 700 Running: chown nx:root '/usr/NX/etc'.
NX> 700 Result: OK.
NX> 700 Running: chown nx:root '/usr/NX/etc/keys'.
NX> 700 Result: OK.
NX> 700 Running: chown nx:root '/usr/NX/etc/keys/node.localhost.id_dsa'.
NX> 700 Result: OK.
NX> 700 Running: chown -R nx:root '/usr/NX/home/nx'.
NX> 700 Result: OK.
NX> 700 Running: chmod 0700 '/usr/NX/home/nx'.
NX> 700 Result: OK.
NX> 700 Running: chown nx:root '/usr/NX/var'.
NX> 700 Result: OK.
NX> 700 Running: chown nx:root '/usr/NX/var/db'.
NX> 700 Result: OK.
NX> 700 Running: chown -R nx:root '/usr/NX/var/db/closed'.
NX> 700 Result: OK.
NX> 700 Running: chown -R nx:root '/usr/NX/var/db/running'.
NX> 700 Result: OK.
NX> 700 Running: chown -R nx:root '/usr/NX/var/db/failed'.
NX> 700 Result: OK.
NX> 700 Running: chown nx:root '/usr/NX/etc/passwords.db'.
NX> 700 Result: OK.
NX> 700 Running: chmod 0600 '/usr/NX/etc/passwords.db'.
NX> 700 Result: OK.
NX> 700 Running: chown nx:root '/usr/NX/etc/passwords.db.lock'.
NX> 700 Result: OK.
NX> 700 Running: chown nx:root '/usr/NX/etc/users.db'.
NX> 700 Result: OK.
NX> 700 Running: chmod 0600 '/usr/NX/etc/users.db'.
NX> 700 Result: OK.
NX> 700 Running: chown nx:root '/usr/NX/etc/users.db.lock'.
NX> 700 Result: OK.
NX> 700 Running: chown nx:root '/usr/NX/etc/guests.db'.
NX> 700 Result: OK.
NX> 700 Running: chmod 0600 '/usr/NX/etc/guests.db'.
NX> 700 Result: OK.
NX> 700 Running: chown nx:root '/usr/NX/etc/guests.db.lock'.
NX> 700 Result: OK.
NX> 700 Running: chmod 0600 '/usr/NX/etc/administrators.db'.
NX> 700 Result: OK.
NX> 700 Running: chown nx:root '/usr/NX/etc/administrators.db'.
NX> 700 Result: OK.
NX> 700 Running: chown nx:root '/usr/NX/etc/administrators.db.lock'.
NX> 700 Result: OK.
NX> 700 Running: chmod 0600 '/usr/NX/etc/profiles.db'.
NX> 700 Result: OK.
NX> 700 Running: chown nx:root '/usr/NX/etc/profiles.db'.
NX> 700 Result: OK.
NX> 700 Running: chown nx:root '/usr/NX/etc/profiles.db.lock'.
NX> 700 Result: OK.
NX> 700 Running: touch /usr/NX/etc/nodes.db.
NX> 700 Result: OK.
NX> 700 Running: chown nx /usr/NX/etc/nodes.db.
NX> 700 Result: OK.
NX> 700 Running: touch /usr/NX/var/db/broadcast.
NX> 700 Result: OK.
NX> 700 Running: chown nx /usr/NX/var/db/broadcast.
NX> 700 Result: OK.
NX> 700 Creating configuration file: /usr/NX/etc/server.cfg.
NX> 700 Running: /bin/cp -f '/usr/NX/etc/server-debian.cfg.sample' '/usr/NX/etc/server.cfg'.
NX> 700 Result: OK.
NX> 700 Running: /usr/NX/bin/nxserver --validate.
NX> 700 Result: OK.
NX> 700 Running: /bin/mv '/usr/NX/etc/server.lic.sample' '/usr/NX/etc/server.lic'.
NX> 700 Result: OK.
NX> 700 Running: chown nx:root '/usr/NX/etc/server.lic'.
NX> 700 Result: OK.
NX> 700 Running: chmod 0400 '/usr/NX/etc/server.lic'.
NX> 700 Result: OK.
NX> 700 Running: /usr/NX/bin/nxserver --validatenode.
NX> 700 Result: OK.
NX> 700 Running: cat /usr/NX/scripts/init/nxserver > /etc/init.d/nxserver.
NX> 700 Result: OK.
NX> 700 Running: chmod +x /etc/init.d/nxserver.
NX> 700 Result: OK.
NX> 700 Running: ln -sf ../init.d/nxserver S99nxserver.
NX> 700 Result: OK.
NX> 700 Running: ln -sf ../init.d/nxserver S99nxserver.
NX> 700 Result: OK.
NX> 700 Running: ln -sf ../init.d/nxserver S99nxserver.
NX> 700 Result: OK.
NX> 700 Running: ln -sf ../init.d/nxserver K01nxserver.
NX> 700 Result: OK.
NX> 700 Running: ln -sf ../init.d/nxserver K01nxserver.
NX> 700 Result: OK.
NX> 700 Running: /bin/cp -p '/usr/NX/home/nx/.ssh/default.id_dsa.pub' '/usr/NX/home/nx/.ssh/authorized_keys2'.
NX> 700 Result: OK.
NX> 700 Cannot start NX statistics: NX> 701 NX statistics are disabled for this server.
NX> 700 Running: chown root:root '/usr/NX/scripts/restricted/nxwtmpadd.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod 744 '/usr/NX/scripts/restricted/nxwtmpadd.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod u+s '/usr/NX/scripts/restricted/nxwtmpadd.sh'.
NX> 700 Result: OK.
NX> 700 Running: chown root:root '/usr/NX/scripts/restricted/nxcookiegen.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod 744 '/usr/NX/scripts/restricted/nxcookiegen.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod u+s '/usr/NX/scripts/restricted/nxcookiegen.sh'.
NX> 700 Result: OK.
NX> 700 Running: chown root:root '/usr/NX/scripts/restricted/nxwtmpdel.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod 744 '/usr/NX/scripts/restricted/nxwtmpdel.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod u+s '/usr/NX/scripts/restricted/nxwtmpdel.sh'.
NX> 700 Result: OK.
NX> 700 Running: chown root:root '/usr/NX/scripts/restricted/nxpasswd.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod 744 '/usr/NX/scripts/restricted/nxpasswd.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod u+s '/usr/NX/scripts/restricted/nxpasswd.sh'.
NX> 700 Result: OK.
NX> 700 Running: chown root:root '/usr/NX/scripts/restricted/nxconfigure.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod 744 '/usr/NX/scripts/restricted/nxconfigure.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod u+s '/usr/NX/scripts/restricted/nxconfigure.sh'.
NX> 700 Result: OK.
NX> 700 Running: chown root:root '/usr/NX/scripts/restricted/nxgroupadd.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod 744 '/usr/NX/scripts/restricted/nxgroupadd.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod u+s '/usr/NX/scripts/restricted/nxgroupadd.sh'.
NX> 700 Result: OK.
NX> 700 Running: chown root:root '/usr/NX/scripts/restricted/nxquotaadd.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod 744 '/usr/NX/scripts/restricted/nxquotaadd.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod u+s '/usr/NX/scripts/restricted/nxquotaadd.sh'.
NX> 700 Result: OK.
NX> 700 WARNING: Error when trying to connect to NX server, error is:
NX> 700 WARNING: NX> 203 NXSSH running with pid: 24309
NX> 200 Connected to address: 127.0.0.1 on port: 22
NX> 202 Authenticating user: nx
NX> 204 Authentication failed..
NX> 700 WARNING: nxsetup cannot validate the sanity of the current installation:
NX> 700 WARNING: the current system or NX configuration could be broken.
NX> 700 WARNING: If difficulties arise (for example sessions cannot be started),
NX> 700 WARNING: it is advisable that you try to uninstall the NX server and the
NX> 700 WARNING: NX client packages then install them again.
NX> 700 WARNING: Search also the NoMachine Knowledge Base at the URL below:
NX> 700 WARNING: http://www.nomachine.com/kb
NX> 700 WARNING: for common errors encountered when performing a software update
NX> 700 WARNING: and the related hints on how to solve them..
NX> 700 Installation of NX server was completed with warnings.
NX> 700 Please review the install log '/usr/NX/var/log/install'
NX> 700 for further details.
NX> 700 Showing file: /usr/NX/share/documents/server/install-notices
NX> 700 Bye.

die warnings hab ich bereits gesehen, aber sehr hilfreich sind die nicht.


edit:

des problems lösung:
folgende zeile in die sshd.conf einfügen:
Code:
AuthorizedKeysFile /usr/NX/home/nx/.ssh/authorized_keys2
 
Zuletzt bearbeitet:

Ähnliche Themen

Nginx als Reverse Proxy für Nextcloud und Emby

Zugriff Ubuntu 16.04. auf Freigabe 18.04. LTS nicht möglich

Samba-Server mit Univention Corporate Server

X startet nichtmehr

Samba4 AD DC

Zurück
Oben