Hello.
First I thank you all for helping.
I will look next time for freenx If necessary.
Now my problem.
The SAMBA-LDAP SERVER CONFIG
1°) Have removed nxserver and associate directories.
2°) Have removed ssh config files and keys
3°) Have force software update for SSH
4°) Have modify new ssh config file. Most important parameters :
-
Port 22
-
AddressFamily inet
-
Protocol 2
-
HostKey /etc/ssh/ssh_host_dsa_key
-
AuthorizedKeysFile %h/.ssh/authorized_keys2
-
PermitRootLogin yes
-
AllowGroups ssh_user
-
PasswordAuthentication no
-
UsePAM yes
-
X11Forwarding yes
5°) Have generate new DSA key
**6°) In /root/.ssh have make a hard link from authorized_keys to authorized_keys2
**
7°) Copy key to remote machine
8°) Configure the remote machine same way but as there is no nxserver on the remote machine some parameters desappear.
- Port 22
- AddressFamily inet
- Protocol 2
-
HostKey /etc/ssh/ssh_host_dsa_key
-
AuthorizedKeysFile %h/.ssh/authorized_keys2
- PermitRootLogin yes
-
AllowGroups ssh_user
- PasswordAuthentication no
- UsePAM yes
- X11Forwarding yes
9°) Have generate new DSA key
10°) In /root/.ssh have make a hard link from authorized_keys to authorized_keys2
11°) Copy key to the samba-ldap server
12°) test ssh connection from both side to other machine → OK
13°) test ssh connection from same side to same machine → OK
14°) Return to the SAMBA-LDAP server and install NOMACHINE nxserver
following the documentation.
Set SSHD port as configured in sshd_config for all config files relative to nxzzzzz software
15°) Generating a new DSA key-pair
16°)
chown nx:root /usr/NX/home/nx/.ssh/authorized_keys2
chmod 0644 /usr/NX/home/nx/.ssh/authorized_keys2
chown nx:root /usr/NX/home/nx/.ssh/default.id_dsa.pub
chmod 0644 /usr/NX/home/nx/.ssh/default.id_dsa.pub
17°) On the client install NOMACHINE NX CLIENT
18°) Distribute the private key from nx server to clients, place it under the subdirectory ‘usr/NX/share/keys’ and localy on the server for testing connection locally.
19°) Test nx user localy on the server
ssh -i /usr/NX/share/keys/server.id_dsa.key nx@my_server
HELLO NXSERVER - Version 3.5.0-4 - LFE
NX> 105 quit
Quit
NX> 999 Bye.
Connection to my_server closed.
19°) Configure NX CLIENT by running nxclient --wizard.
20°) Test connection from remote to server → OK.
Get server screen on my laptop.
21°) change everywhere SSHD STANDARDPORT (22) to non generic port.
Thanks to all :good: