![Very Happy :D](./images/smilies/icon_biggrin.gif)
Ich weiß das es nicht gerade üblich ist ein X Window System gehört nicht auf einen Server usw.
Aber;
Auf meinem Debian Etch hab ich kürzlich per apt den freenx-server nomachine installiert. Ich habe einen vserver mit Debian 4.0r4
Die sshOpen port 22 Verbindung mit PuTTY geht wunderbar, nur kann ich mit dem NX-Client einfach nicht einloggen. Erhalte immer die Meldung "Authentication failed"
![traurig :(](./images/smilies/icon_sad.gif)
Bin am verzweifeln. Bei meinem einten Server hat dies alles schon mal Wunderbar gklappt, aber bei dem neuen vServer gehts nicht.
Folgendes habe ich gemacht.
Installation:
Code: Alles auswählen
apt-get install x-window-system
apt-get install gnome-core gdm synaptic
cd /usr/lib/
wget http://64.34.161.181/download/3.3.0/Linux/nxclient_3.3.0-6_i386.deb
wget http://64.34.161.181/download/3.3.0/Linux/nxnode_3.3.0-12_i386.deb
wget http://64.34.161.181/download/3.3.0/Linux/FE/nxserver_3.3.0-15_i386.deb
dpkg -i nxclient_3.3.0-6_i386.deb
dpkg -i nxnode_3.3.0-12_i386.deb
dpkg -i nxserver_3.3.0-15_i386.deb
useradd -m xName
passwd Password für xName
Nach einigen erfolglose Versuche, habe ich noch in der sshd.conf folgendes einfügen, was aber nichts brachte:
Code: Alles auswählen
AuthorizedKeysFile /usr/NX/home/nx/.ssh/authorized_keys2
Code: Alles auswählen
NX> 700 Starting: install node operation at: Mon Feb 16 13:56:28 2009.
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 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 Running: chown root:root '/usr/NX/scripts/restricted/nxtmpperm.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod 744 '/usr/NX/scripts/restricted/nxtmpperm.sh'.
NX> 700 Result: OK.
NX> 700 Running: chmod u+s '/usr/NX/scripts/restricted/nxtmpperm.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.3.0-12 completed.
NX> 700 Showing file: /usr/NX/share/documents/node/cups-info
NX> 700 Bye.
NX> 700 Installing: server at: Mon Feb 16 13:57:56 2009.
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: Warning: The home dir you specified already exists.
Adding system user `nx' (UID 102) ...
Adding new user `nx' (UID 102) with group `nogroup' ...
adduser: Warning: that home directory does not belong to the user you are currently creating.
The home directory `/usr/NX/home/nx' already exists. Not copying from `/etc/skel'..
NX> 700 Result: OK.
NX> 700 Running: usermod -p '*' nx .
NX> 700 Result: OK.
NX> 700 Command: echo '/usr/NX/bin/nxserver' | /usr/bin/chsh nx.
NX> 700 Changing the login shell for nx
Enter the new value, or press ENTER for the default
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: /bin/cp -fp '/usr/NX/home/nx/.ssh/restore.id_dsa.pub' '/usr/NX/home/nx/.ssh/default.id_dsa.pub'.
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/etc/nodes.db.lock.
NX> 700 Result: OK.
NX> 700 Running: chown nx /usr/NX/etc/nodes.db.lock.
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: chown -R nx '/usr/NX/var/db/stat'.
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: ssh: connect to host 127.0.0.1 port 22: Connection refused
NX> 700 WARNING: NX has been configured to use the SSH server on default port
NX> 700 WARNING: 22 but no SSH daemon is listening on this port. When the
NX> 700 WARNING: installation completes, please ensure that SSHD is installed
NX> 700 WARNING: and is up and running. If you want to contact SSHD daemon on
NX> 700 WARNING: a port different from 22, you need to configure NX Server and
NX> 700 WARNING: Node accordingly. More information is available on the NoMachine
NX> 700 WARNING: Knowledge Base at: http://www.nomachine.com/kb/index.php
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.
Kann mir jemand weiter helfen?
![Confused :?](./images/smilies/icon_confused.gif)
mfg dalmidog
![Very Happy :D](./images/smilies/icon_biggrin.gif)
![Very Happy :D](./images/smilies/icon_biggrin.gif)
![Very Happy :D](./images/smilies/icon_biggrin.gif)
![Very Happy :D](./images/smilies/icon_biggrin.gif)