Como posso configurar o NoMachine 4.0.369 para o OS X para conectar ao servidor freenx no Fedora 20?

1

Em uma instalação intocada do Fedora 20 Security Lab, estou tentando habilitar o acesso NX para não precisar usar o Windows e o console do vSphere. Eu tenho que usar o SSH para alcançar o host, nenhuma outra porta está aberta. Consigo conectar-me a outras máquinas que executam o CentOS e o Scientific Linux nas mesmas condições de rede.

Eu começo configurando o sshd para iniciar na inicialização:

systemctl enable sshd.service

Então eu pego o freenx:

yum install freenx-server

Em seguida, a dependência de nxagent:

yum install nxagent

Eu então configuro o nxserver via /etc/nxserver/node.conf:

SSHD_PORT=22
ENABLE_PASSDB_AUTHENTICATION="1"
ENABLE_SSH_AUTHENTICATION="1"
DISPLAY_BASE=1000
ENABLE_PERSISTENT_SESSION="all"
ENABLE_CLIPBOARD="both"
ENABLE_PULLDOWN_MENU="1"
COMMAND_MD5SUM="md5sum"

Depois, no diretório / usr / libexec / nx:

./nxsetup --install --setup-nomachine-key

Isso retorna o seguinte:

Setting up /etc/nxserver ...done
Generating public/private dsa key pair.
Your identification has been saved in /etc/nxserver/users.id_dsa.
Your public key has been saved in /etc/nxserver/users.id_dsa.pub.
The key fingerprint is:
69:ad:50:52:59:d3:9d:93:77:d7:94:68:dc:eb:8b:92 [email protected]
The key's randomart image is:
+--[ DSA 1024]----+
|        .oo...o++|
|       ..  ..+=o=|
|      . .   .  o+|
|       o o     . |
|      . S .   .  |
|       o .     . |
|        .   . . .|
|           E . . |
|            .    |
+-----------------+
Setting up /var/lib/nxserver/db ...done
Setting up /var/log/nx/nxserver.log ...done
Adding user "nx" to group "utmp" ...done
Setting up known_hosts and authorized_keys ...done
Setting up permissions ...done

----> Testing your nxserver configuration ...
Warning: Invalid value "APPLICATION_LIBRARY_PRELOAD=/usr/lib64/nx/libX11.so.6:/usr/lib64/nx/libXext.so.6:/usr/lib64/nx/libXcomp.so.3:/usr/lib64/nx/libXcompext.so.3:/usr/lib64/nx/libXrender.so.1". /usr/lib64/nx/libX11.so.6 could not be found. Users will not be able to run a single application in non-rootless mode.
Warning: Invalid value "COMMAND_START_KDE=startkde"
         Users will not be able to request a KDE session.
Warning: Invalid value "COMMAND_START_GNOME=gnome-session"
         Users will not be able to request a Gnome 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 cupsd version of "/usr/sbin/cupsd". Need version 1.2.
         Users will not be able to enable printing. Ignore if you use cups > 1.2
Error: Could not find 1.5.0 or 2.[01].0 or 3.[012345].0 version string in nxagent. NX 1.5.0 or 2.[01].0 or 3.[012345].0 backend is needed for this version of FreeNX.

  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 1b:2d:0e:72:56:66:1a:f3:b5:97:66:93:c7:c4:e8:93.
Are you sure you want to continue connecting (yes/no)?
Warning: Permanently added '127.0.0.1' (RSA) to the list of known hosts.
HELLO NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: not detected)
NX> 105 quit
Quit
NX> 999 Bye
<--- 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!

Eu então pego a chave do /etc/nxserver/client.id_dsa.key e adiciono uma nova conexão no NoMachine para Mac OS X. Eu configuro como uma conexão SSH, em Avançado eu seleciono "Use o login do NoMachine, adicione minha chave como a chave do servidor alternativo, e tentar conectar.Toda vez, eu recebo:

"O serviço NoMachine não está disponível ou o acesso foi desativado no host 10.30.5.22"

    
por Dan Robson 13.03.2014 / 20:29

0 respostas

Tags