Benutzer-Werkzeuge

Webseiten-Werkzeuge


clausthaler_compute-cloud:user-doku:nx

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
clausthaler_compute-cloud:user-doku:nx [15:57 14. October 2014 ] Frank Ebelingclausthaler_compute-cloud:user-doku:nx [09:33 24. January 2018 ] (aktuell) – gelöscht Frank Ebeling
Zeile 1: Zeile 1:
-====== 6. Installation und Konfiguration von FreeNX (CentOS 6.3 Template!) ====== 
- 
-** Auf den CentOS-Systemen in der Compute-Cloud wird ab sofort kein FreeNX mehr installiert bzw. verwendet ** 
-Die Erfahrung in der letzten Zeit zeigt, dass es immer wieder zu Problemen beim Verbinden per NX-Client gekommen ist. Deshalb werden die neuen VMs in der Cloud mit dem freien X2Go-Server ausgestattet, 
- 
- 
-Eine gute Anleitung ist unter http://wiki.centos.org/HowTos/FreeNX zu finden. 
- 
-==== 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. 
- 
-Die NX-Software ist bereits auf dem Client installiert und funktionsfähig. 
- 
-Folgende Schritte sind **nicht** mehr durchzuführen aber der Vollständigkeit halber hier aufgeführt: 
- 
-  - //yum-config-manager --enable extras// 
-  - //yum install freenx// 
-  - //cd /etc/nxserver ; cp node.conf.sample node.conf// 
-  - // vi node.conf//, s.u. 
-  - im System-Startup enthalten? //chkconfig - -list|grep nx// ? 
-  - //adduser <userid>//, als root sollte man nicht per nx-client arbeiten, ist auch sicherer so! Login als User "root" ist aber per Default **nicht** abgeschaltet. 
-  - //passwd <userid>// 
-  - ///etc/init.d/freenx-server restart// 
-  - //cd /var/lib/nxserver/home/.ssh; cat client.id_dsa.key// **diesen (privaten, nicht passwortgeschützten) Key für die Client-Konfiguration verwenden** 
-  - Testen des Zuganges von einem Unix/Linux-Client aus mit //ssh -X nx-server-name /usr/bin/nxnode --agent// 
- 
-++++ Änderungen in der node.conf | 
- 
-<code> 
- 
-# diff -c node.conf.sample node.conf 
-*** node.conf.sample 2012-11-29 22:12:57.000000000 +0100 
---- node.conf 2013-07-02 17:33:35.042914541 +0200 
-*************** 
-*** 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="$(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="$(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 
-*************** 
-*** 53,59 **** 
-  #EXTERNAL_PROXY_IP="" 
-   
-  # The port number where local 'sshd' is listening. 
-! #SSHD_PORT=22 
-   
-   
-  ######################################################################### 
---- 53,59 ---- 
-  #EXTERNAL_PROXY_IP="" 
-   
-  # The port number where local 'sshd' is listening. 
-! 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. 
-! #ENABLE_SSH_AUTHENTICATION="1" 
-   
-  # This adds SU to the possible authentication methods. For it to work the  
-  # "nx" user must be in the wheel (RedHat, Fedora) or the users group 
---- 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="1" 
-   
-  # This adds SU to the possible authentication methods. For it to work the  
-  # "nx" user must be in the wheel (RedHat, Fedora) or the users group (SUSE) 
-*************** 
-*** 118,124 **** 
-  # 
-  # The default is to log failed login attemps via syslog (3). 
-  # 
-! #ENABLE_LOG_FAILED_LOGINS="1" 
-   
-  ######################################################################### 
-  # Restriction directives 
---- 118,124 ---- 
-  # 
-  # The default is to log failed login attemps via syslog (3). 
-  # 
-! ENABLE_LOG_FAILED_LOGINS="1" 
-   
-  ######################################################################### 
-  # Restriction directives 
-*************** 
-*** 128,134 **** 
-  #DISPLAY_BASE=1000 
-   
-  # The maximum number of contemporary sessions that can be run on FreeNX 
-! #SESSION_LIMIT=200 
-   
-  # The maximum number of contemporary sessions that a single user can run 
-  # on FreeNX. Defaults to the value of SESSION_LIMIT. 
---- 128,134 ---- 
-  #DISPLAY_BASE=1000 
-   
-  # 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. 
-</code> 
- 
-++++ 
- 
-==== NX-Client ==== 
- 
- 
- 
-=== opennx === 
- 
-wie unter http://wiki.centos.org/HowTos/FreeNX beschrieben, vorgehen: 
- 
-  - # yum install opennx 
-  - Client-Key nach Neuinstallation des nxserver-Pakets ist unter ///etc/nxserver/client.id_dsa.key// abgelegt 
-  - bei der Konfiguration der Client-Verbindung unter dem Reiter "General" **nur dann den unten angegebenen Client-Key eintragen, wenn dieser dem Key auf der VM gleicht** 
-  - eine ausführliche Anleitung für das Login perr ssh-Key ist unter http://www.different-thinking.de/ssh2_howto.php zu finden 
- 
- 
-=== Client-Key === 
- 
-++++ Private Client Key (bei bereits vorinstallierten nxserver-Paket) | 
-<code> 
------BEGIN DSA PRIVATE KEY----- 
-MIIBugIBAAKBgQC4cDZ4eoMYV62Oc8Y6peapSTfz86el7ib8C2siLqXXM0sOEfZq 
-Mwc/csuidASFIiY7HldkluJxnTEm863JogfE++15befzdYYcqBV5FpSlCO92jik9 
-h0R4efTw7o3DzamVRQEehEKJM00iwDKMvGGxmck9WdqXVSVKe9IWCMovPwIVAJC0 
-lA7KpHgmys8nJg8G7bU6rG+DAoGASOUNIYVauV1wF6QinTp6ZqGHXmZdPHPTi1O8 
-+lgdD1QtcKZUUjL/tzcqD5oMSloSoZLdh50CoLdIwvorfjbxdk9Y1IW+rpj8+XZ5 
-r7mIb+8wmqri1461QiV3UssTl/kVr0UjD/1IJ/5rUb90RUSowhQ9kym7FqFj8bxE 
-vcM9BHoCgYAci3Zcjc9KC2j8oL3Ad1T7HhX5isoG2AIZgfQV7o95JZfMkmDbHPzz 
-kZ5NGutj8w/z7wC2LDiZWOucHj4Bx+ZV6BbNa4xheMMe2BhcEXho1RCoa4GsVXCY 
-4tl/3V6Ep4d5FYjodWh94YDKVTseYOa1Yg9f0X2w0mOED/mZKhzj0gIUaWI3F3/G 
-c/t5K9SY4wdIF4th1xg= 
------END DSA PRIVATE KEY----- 
-</code> 
-++++ 
- 
-anderenfalls den Key aus dem File //etc/nxserver/client.id_dsa.key// verwenden! 
- 
-=== Nomachine-NX === 
- 
-[[clausthaler_compute-cloud:user-doku:6.1_nomachine-nx-client|Installation und Konfiguration des Nomachine-NX-Clients]] 
- 
-Bei der Konfiguration des NX-Clients auf dem eigenen Arbeitsplatzrechner ist auch darauf zu achten, dass als Unix-Desktop GNOME eingestellt wird, der Default-Wert ist "KDE" 
-und dies ist nicht auf den CentOS-Systemen vorinstalliert. 
  
clausthaler_compute-cloud/user-doku/nx.1413295034.txt.gz · Zuletzt geändert: 15:57 14. October 2014 von Frank Ebeling

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki