PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : FreeNX installiert bekomme aber keine Verbindung!



real_eimer
07.03.07, 11:40
Hi,
ich hab FreeNx wie nach ANweisung auf http://wiki.skolelinux.de/FreeNx?highlight=%28FreeNX%29 installiert und in betrieb genommen.

Code Debian
xxxxxServer:/home/xxxx# nxsetup --setup-nomachine-key
------> You did select no action.
FreeNX guesses that you want to _install_ the server.
Type "y" to abort the installation at this point in time.
"N" is the default and continues installation.
Use "/usr/sbin/nxsetup --help" to get more detailed help hints.

Do you want to abort now? [y/N] y
nxsetup - Setup the FreeNX server.
Syntax: nxsetup --help
nxsetup --install [--setup-nomachine-key] [--uid <nummber>] [--clean [--purge]]
nxsetup --uninstall [--purge]

--help Display this help message.
--install Install necessary files and add the special user "nx".
--ignore-errors Check for false configuration, but don't complain.
--setup-nomachine-key Allow login with the key shipped with the NoMachine
client. This is fairly secure, and it simplifies the
configuration of clients. (Using a custom key pair.
increases security even more, but complicates the
configuration of clients.)
Use this option at your own risk.
--ssh2 Create additionally commercial pubkey-support; beware:
own _commercial_ ssh2-key is not supported!
--uid <number> Give the uid <number> to the user "nx".
--gid <number> Give the gid <number> to the user "nx".
"luseradd", for use in NIS and NISplus environments.
--clean Perform an uninstallation prior to installation.
--uninstall Remove log and session files, as well as the special
user "nx".
--purge Remove extra configuration files and ssh keys when
performing a "--uninstall".
Note that node.conf will always be saved.


Ich will die Verbindung aufbauen kommt das:

NX> 203 NXSSH running with pid: 3412
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: 1xx.xxx.xxx.xx on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 1.4.0-45-SVN OS (GPL)
NX> 105 hello NXCLIENT - Version 1.4.0
NX> 134 Accepted protocol: 1.4.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: xxxx
NX> 102 Password:
NX> 103 Welcome to: xxxxxServer user: xxxx
NX> 105 listsession --user="xxxx" --status="suspended,running" --geometry="1024x768x16+render" --type="unix-gnome"
NX> 127 Sessions list of user 'xxxx' for reconnect:

Display Type Session ID Options Depth Screen Status Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------


NX> 148 Server capacity: not reached for user: xxxx
NX> 105 startsession --link="lan" --backingstore="1" --nodelay="1" --encryption="1" --cache="8M" --images="32M" --media="0" --session="xxxxx Server" --type="unix-gnome" --cookie="******" --geometry="fullscreen" --kbtype="pc102/de" --screeninfo="640x480x16+render"

NX> 1000 NXNODE - Version 1.4.0-45-SVN OS (GPL)
NX> 105 /usr/lib/nx/nxserver: line 1041: 22628 Beendet ( sleep $AGENT_STARTUP_TIMEOUT; exit 1 )
NX> 504 Session startup failed.
NX> 1004 Error: nxagent failed to start with: Unrecognized option: 1
Killed by signal 15.



Was läuft da Falsch? Ich versteh da eh nur Bahnhof.

mfg eimer

real_eimer
07.03.07, 18:56
Ist es möglich das mein CLient und der Server wegen verschiedenen Versionen nicht gehen?
hm.. leute ich bin am verzweifeln.

mfg eimer

nunja
08.03.07, 01:12
Nunja, in dem ersten Block Deiner Angaben hast Du nach dem Hinweis
------> You did select no action.
Die erste Installation bzw. Konfiguration Deines Servers mit der Antwort y abgebrochen.

Im zweiten Block Deiner Anfrage steht in der vorletzen Zeile findest Du den Hinweis
NX> 1004 Error: nxagent failed to start with: Unrecognized option: 1

Ich würde als erstes den im ersten Block angestossenen Einrichtungsschritt des Servers nochmal durchführen und bei der gleichen Frage mit n antworten.

real_eimer
08.03.07, 10:10
Hi,
danke für deinen Tip hab alles gemacht wie du gemeint hast, leider tritt immernoch ein fehler auf. :(
bzw. weiss ich nicht wie ich etwas prüfen kann!

hier der code vom xxxxxServer

xxxxxServer:/home/xxxx# nxsetup --setup-nomachine-key
------> You did select no action.
FreeNX guesses that you want to _install_ the server.
Type "y" to abort the installation at this point in time.
"N" is the default and continues installation.
Use "/usr/sbin/nxsetup --help" to get more detailed help hints.

Do you want to abort now? [y/N] n
Setting up /etc/nxserver ...done
Setting up /var/lib/nxserver/db ...done
Setting up /var/log/nxserver.log ...done
Setting up known_hosts and authorized_keysx ...done
Setting up permissions ...done

----> Testing your nxserver configuration ...
Warning: Could not find nxdesktop in /usr/lib/nx. RDP sessions won't work.
yWarning: Invalid value "CUPS_ETC=/etc/cups/"
Users will not be able to enable printing.
Warning: Invalid value "DEFAULT_X_SESSION=/etc/X11/xdm/Xsession"
Users might not be able to request a default X session.
Warning: Invalid value "COMMAND_START_CDE=cdwm"
Users will not be able to request a CDE session.
Warning: Invalid value "COMMAND_XTERM=xterm"
Users will not be able to request an xterm session.
Warning: Invalid value "COMMAND_SMBMOUNT=smbmount". You'll not be able to use SAMBA.
Warning: Invalid value "COMMAND_SMBUMOUNT=smbumount". You'll not be able to use SAMBA.
Warning: Invalid value "COMMAND_CUPSD=/usr/sbin/cupsd"
e Users will not be able to enable printing.
s
Warnings occured during config check.
To enable these features please correct the configuration file.

<---- done

----> Testing your nxserver connection ...
The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established.
RSA key fingerprint is xxxx....xxxxx.
Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added '127.0.0.1' (RSA) to the list of known hosts.
HELLO NXSERVER - Version 1.4.0-45-SVN OS (GPL)
NX> 105 quit
Quit
<--- done

Ok, nxserver is ready.

PAM authentication enabled:
All users will be able to login with their normal passwords.

PAM authentication will be done through SSH.
Please ensure that SSHD on localhost accepts password authentication.

You can change this behaviour in the /etc/nxserver/node.conf file.
Have Fun!

jetzt meine Fragen, wie stell ich sicher das "localhost accepts password authentication"
und wie kann ich die die features oben korrekt configurieren, ich weiss leider nicht wo ich die config-File finden.
Außerdem habe ich nxdesktop installiert zumindest zeigt es mir das an bei apt- get install nxdesktop. Was kann ich da machen?

Vom client ist der Text noch der selbe wie oben.

mfg eimer

L00NIX
10.03.07, 09:49
Wie wäre es, wenn du dir die aktuellen DEB-Dateien von der NoMachine-Webseite holst und installierst? Die richten sich nämlich automatisch richtig ein. Oder ist FreeNX != NoMachine?

Der Client sollte die gleiche oder eine höhere Version als der Server haben.

Gruß
L00NIX

real_eimer
11.03.07, 19:00
Das hab ich zwar schon gemacht aber das mach ich natürlich gerne nochmal.

mfg eimer

L00NIX
12.03.07, 21:50
Das hab ich zwar schon gemacht aber das mach ich natürlich gerne nochmal.


Vielleicht zuerst mit --purge entfernen, bzw. das Verzeichnis /usr/NX (oder wimmer es hininstalliert) nach der Deinstallation löschen, damit da keine Konfigurationsreste bleiben.

Danach die DEBs neu installieren.

Gruß
L00NIX

sharke
12.03.07, 22:38
also du hollst dir die .deb pakete von nomachien und installierst diese(nur installieren :) ).

danach konfigurierst du den client das er alles ueber port 22 (ssh) macht. wählst dein windowmanager aus der aufm server ist und logst dich mit einen benutzer ein der am server ganz normal angelegt ist (außer root, der darf ned glaub :) ).

dann sollte das funzen, freenx nutzt als default die passwd des systems glaub ^^.

unux
13.03.07, 12:03
Hi,

FreeNX != NomachineNX

Solltest du jetzt den NXServer von Nomachine benutzen, ließ dir doch nochmal die Lizenz-Regelung durch.

Falls du vl doch den FreeNX einsetzen willst findest du hier:



deb http://packages.debianbase.de/testing/i386/nx/ ./
deb http://sidux.com/debian/ unstable nx


debs vom freenx-1.4.0-45. Funktioniert mit 1.5er NXClients, die leider nicht mehr auf nomachine.com erhältlich sind. Hier (http://www.industrial-statistics.com/info/nxclients?IndStats=bbf349f90a518f5a54f290e887d9c76 8) kannst du aber noch ein paar alte Clients runterladen.

Solltest du ein sehr aktuelles System einsetzten schau mal hier:



deb http://www.dentalonline.com/freenx/ ./


Dort bekommst du den aktuellen 0.6er FreeNX. An dem kannste dann auch die aktuellen 2.1er NXClients betreiben. Das sind Ubuntuquellen, funktionieren nicht mir einem Debian Etch, da eine relativ aktuelle libc6 vorausgesetzt wird. Auf Sid rennen sie problemlos.

Greetz
UnuX