clausthaler_compute-cloud:user-doku:nx
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
clausthaler_compute-cloud:user-doku:nx [15:10 17. October 2013 ] – [NX-Client] Frank Ebeling | clausthaler_compute-cloud:user-doku:nx [09:33 24. January 2018 ] (aktuell) – gelöscht Frank Ebeling | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== 7. Installation und Konfiguration von FreeNX ====== | ||
- | |||
- | Eine gute Anleitung ist unter http:// | ||
- | |||
- | ==== NX-Server ==== | ||
- | |||
- | Funktionsweise: | ||
- | |||
- | Der NX-Client verbindet sich per Key-Login mit dem User nx auf dem NX-Server und startet das nxserver-Binary mit der angegebenen Login-Information. Durch Setzen der DISPLAY-Variable wird die X-Ausgabe auf den NX-Client umgelenkt. Für dieses ssh-key-Login ist es notwendig, dass, wie bei ganz normalen ssh-Verbindungen per ssh-Client (putty) der hier ohne Passwort geschützte DSA-Key im Client hinterlegt wird und der dazu passende öffentliche DSA-Key auf dem NX-Server (unter dem User nx) hinterlegt wird. Die so aufgebaute Verbindung per ssh wird dazu verwendet, dass nach erfolgreichem Login als User die X-Ausgabe auf den NX-Client getunnelt wird. | ||
- | |||
- | |||
- | - // | ||
- | - //yum install freenx// | ||
- | - //cd / | ||
- | - // vi node.conf//, | ||
- | - im System-Startup enthalten? //chkconfig - -list|grep nx// ? | ||
- | - //adduser < | ||
- | - //passwd < | ||
- | - /// | ||
- | - //cd / | ||
- | - Testen des Zuganges von einem Unix/ | ||
- | |||
- | ++++ Änderungen in der node.conf | | ||
- | |||
- | < | ||
- | |||
- | # diff -c node.conf.sample node.conf | ||
- | *** node.conf.sample 2012-11-29 22: | ||
- | --- node.conf 2013-07-02 17: | ||
- | *************** | ||
- | *** 45,51 **** | ||
- | | ||
- | # The host name which is used by NX server. It's should be used if it's | ||
- | # different than the default hostname (as returned by `hostname`) | ||
- | ! # | ||
- | | ||
- | # The node ip which is used by NX Node in unecnrypted session mode. | ||
- | # Set it if you want to use a specific external ip or the autodetection | ||
- | --- 45,51 ---- | ||
- | | ||
- | # The host name which is used by NX server. It's should be used if it's | ||
- | # different than the default hostname (as returned by `hostname`) | ||
- | ! SERVER_NAME=" | ||
- | | ||
- | # The node ip which is used by NX Node in unecnrypted session mode. | ||
- | # Set it if you want to use a specific external ip or the autodetection | ||
- | *************** | ||
- | *** 53,59 **** | ||
- | # | ||
- | | ||
- | # The port number where local ' | ||
- | ! # | ||
- | | ||
- | | ||
- | ######################################################################### | ||
- | --- 53,59 ---- | ||
- | # | ||
- | | ||
- | # The port number where local ' | ||
- | ! SSHD_PORT=22 | ||
- | | ||
- | | ||
- | ######################################################################### | ||
- | *************** | ||
- | *** 72,78 **** | ||
- | | ||
- | # This adds SSH to the possible authentication methods. For it to work sshd | ||
- | # must be set up at localhost accepting password authentication. | ||
- | ! # | ||
- | | ||
- | # This adds SU to the possible authentication methods. For it to work the | ||
- | # " | ||
- | --- 72,78 ---- | ||
- | | ||
- | # This adds SSH to the possible authentication methods. For it to work sshd | ||
- | # must be set up at localhost accepting password authentication. | ||
- | ! ENABLE_SSH_AUTHENTICATION=" | ||
- | | ||
- | # This adds SU to the possible authentication methods. For it to work the | ||
- | # " | ||
- | *************** | ||
- | *** 118,124 **** | ||
- | # | ||
- | # The default is to log failed login attemps via syslog (3). | ||
- | # | ||
- | ! # | ||
- | | ||
- | ######################################################################### | ||
- | # Restriction directives | ||
- | --- 118,124 ---- | ||
- | # | ||
- | # The default is to log failed login attemps via syslog (3). | ||
- | # | ||
- | ! ENABLE_LOG_FAILED_LOGINS=" | ||
- | | ||
- | ######################################################################### | ||
- | # Restriction directives | ||
- | *************** | ||
- | *** 128,134 **** | ||
- | # | ||
- | | ||
- | # The maximum number of contemporary sessions that can be run on FreeNX | ||
- | ! # | ||
- | | ||
- | # The maximum number of contemporary sessions that a single user can run | ||
- | # on FreeNX. Defaults to the value of SESSION_LIMIT. | ||
- | --- 128,134 ---- | ||
- | # | ||
- | | ||
- | # The maximum number of contemporary sessions that can be run on FreeNX | ||
- | ! SESSION_LIMIT=5 | ||
- | | ||
- | # The maximum number of contemporary sessions that a single user can run | ||
- | # on FreeNX. Defaults to the value of SESSION_LIMIT. | ||
- | </ | ||
- | |||
- | ++++ | ||
- | |||
- | ==== NX-Client ==== | ||
- | |||
- | === nomachine NX-Client === | ||
- | |||
- | Hier bitte auch, wie unter http:// | ||
- | |||
- | Die NX-Client-Versionen für Linux erhalten Sie hier: http:// | ||
- | |||
- | |||
- | === opennx === | ||
- | |||
- | wie unter http:// | ||
- | |||
- | - # yum install opennx | ||
- | - Client-Key nach Neuinstallation des nxserver-Pakets ist unter /// | ||
- | - bei der Konfiguration der Client-Verbindung unter dem Reiter " | ||
- | - eine ausführliche Anleitung für das Login perr ssh-Key ist unter http:// | ||
- | |||
- | |||
- | === Client-Key === | ||
- | |||
- | ++++ Private Client Key (bei bereits vorinstallierten nxserver-Paket) | | ||
- | < | ||
- | -----BEGIN DSA PRIVATE KEY----- | ||
- | MIIBugIBAAKBgQC4cDZ4eoMYV62Oc8Y6peapSTfz86el7ib8C2siLqXXM0sOEfZq | ||
- | Mwc/ | ||
- | h0R4efTw7o3DzamVRQEehEKJM00iwDKMvGGxmck9WdqXVSVKe9IWCMovPwIVAJC0 | ||
- | lA7KpHgmys8nJg8G7bU6rG+DAoGASOUNIYVauV1wF6QinTp6ZqGHXmZdPHPTi1O8 | ||
- | +lgdD1QtcKZUUjL/ | ||
- | r7mIb+8wmqri1461QiV3UssTl/ | ||
- | vcM9BHoCgYAci3Zcjc9KC2j8oL3Ad1T7HhX5isoG2AIZgfQV7o95JZfMkmDbHPzz | ||
- | kZ5NGutj8w/ | ||
- | 4tl/ | ||
- | c/ | ||
- | -----END DSA PRIVATE KEY----- | ||
- | </ | ||
- | ++++ | ||
- | |||
- | anderenfalls den Key aus dem File // | ||
- | |||
- | Bei der Client-Konfiguration ist auch darauf zu achten, dass als Unix-Desktop GNOME eingestellt wird, der Default-Wert ist " | ||
- | und dies ist nicht auf den CentOS-Systemen vorinstalliert. | ||
clausthaler_compute-cloud/user-doku/nx.1382015448.txt.gz · Zuletzt geändert: 15:10 17. October 2013 von Frank Ebeling