NX> 704 Keys generated correctly. Backing up files.
NX> 704 Back up of keys made. Updating files.
NX> 704 Keys updated. NX clients should now use key:
NX> 704 /usr/NX/share/keys/default.id_dsa.key
NX> 704 to get connected to this NX server.
Ya tenemos la clave le hago un cat sobre el fichero /usr/NX/share/keys/default.id_dsa.key copio el contenido y lo añado dentro del campo key de las opciones de nomachine en el cliente.
Ahora al lanzar la conexion falla y me manda al messages.log donde nos muestra algo como esto.
Jul 25 09:58:03 Syswoody NXSERVER-3.5.0-9[26590]: ERROR: (exception id 37CA9ADC) NX> 596 stdout: Using authority fi le /home/tecno/.nx/C-Syswoody-1003-D908291457238F3E385CE9E32CA7F80E/authority
Jul 25 09:58:03 Syswoody NXSERVER-3.5.0-9[26590]: ERROR: (exception id 37CA9ADC) NX> 596 stderr: /usr/bin/xauth: creating new authority file /home/tecno/.nx/C-Syswoody-1003-D908291457238F3E385CE9E32CA7F80E/authority
Jul 25 09:58:03 Syswoody NXSERVER-3.5.0-9[26590]: ERROR: (exception id 37CA9ADC) NX> 596 /usr/bin/xauth: /home/tecno/.nx/C-Syswoody-1003-D908291457238F3E385CE9E32CA7F80E/scripts/authority:3: bad display name «Syswoody:1003» in «add» command
Jul 25 09:58:03 Syswoody NXSERVER-3.5.0-9[26590]: ERROR: (exception id 37CA9ADC) NXNodeExec::exec(‘startsession’, ‘user=tecno&userip=192%2e168%2e0%2e87&uniqueid=D908291457238F3E38…’, ‘localhost’, 22) called at handlers/nxserver.pl line 3582
Jul 25 09:58:03 Syswoody NXSERVER-3.5.0-9[26590]: ERROR: (exception id 37CA9ADC) NXShell::handler_session_start(‘–link=»adsl» –backingstore=»1″ –encryption=»1″ –cache=»16M» …’) called at NXShell.pm line 373
Jul 25 09:58:03 Syswoody NXSERVER-3.5.0-9[26590]: ERROR: (exception id 37CA9ADC) NXShell::handle_command(‘startsession’, ‘–link=»adsl» –backingstore=»1″ –encryption=»1″ –cache=»16M» …’) called at NXShell.pm line 145
Jul 25 09:58:03 Syswoody NXSERVER-3.5.0-9[26590]: ERROR: (exception id 37CA9ADC) NXShell::run() called at nxserver.pl line 4497
Jul 25 09:58:03 Syswoody NXSERVER-3.5.0-9[26590]: ERROR: (exception id 37CA9ADC) eval {…} called at nxserver.pl line 4456
Solucion añade el nombre de tu servidor al fichero hosts y listo ya conecta a las mil maravillas.