SliTaz GNU/Linux official and community documentation wiki.
.png

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:guides:remotedesktop [2010/10/11 12:41]
seawolf created
en:guides:remotedesktop [2020/09/23 16:10]
hgt moved to en:guides:remotedesktop-nx
Line 19: Line 19:
  
 \\ \\
 +
 === Download the Software === === Download the Software ===
  
Line 26: Line 27:
   * Decompress the client package on the client(s).   * Decompress the client package on the client(s).
  
-Server Configuration+\\ 
 + 
 +=== Server Configuration ​=== 
 The automated commands are not compatible with BusyBox and the SliTaz configuration,​ so the installation commands need to be edited: The automated commands are not compatible with BusyBox and the SliTaz configuration,​ so the installation commands need to be edited:
   * Create the symlinks ''/​etc/​rc.d/​rc#​.d/''​ all pointing to ''/​etc/​init.d/''​. This can be easily achieved with the following command performed as the //root// user:   * Create the symlinks ''/​etc/​rc.d/​rc#​.d/''​ all pointing to ''/​etc/​init.d/''​. This can be easily achieved with the following command performed as the //root// user:
Line 39: Line 43:
   * Allow administrative logins in line 87 of ''/​usr/​NX/​etc/​server.cfg''​   * Allow administrative logins in line 87 of ''/​usr/​NX/​etc/​server.cfg''​
  
-Node Configuration+\\ 
 + 
 +=== Node Configuration ​=== 
 The automated commands are not compatible with BusyBox and the SliTaz configuration,​ so the installation commands need to be edited: The automated commands are not compatible with BusyBox and the SliTaz configuration,​ so the installation commands need to be edited:
   * Modify ''/​usr/​NX/​scripts/​setup/​nxnode''​ by:   * Modify ''/​usr/​NX/​scripts/​setup/​nxnode''​ by:
Line 49: Line 56:
   * Change server name & SSH port (if necessary) in''​ /​usr/​NX/​etc/​node.cfg''​ (line 32, 342)   * Change server name & SSH port (if necessary) in''​ /​usr/​NX/​etc/​node.cfg''​ (line 32, 342)
  
-User Configuration+\\ 
 + 
 +=== User Configuration ​=== 
   * Enable the nx user account by using: ''​sudo passwd -u nx''​   * Enable the nx user account by using: ''​sudo passwd -u nx''​
   * Confirm this with: ''​sudo /​usr/​NX/​bin/​nxserver --usercheck //​username//''​   * Confirm this with: ''​sudo /​usr/​NX/​bin/​nxserver --usercheck //​username//''​
  
-''​NX> 900 Verifying public key authentication for NX user: //​username//​.+<​code>​ 
 +NX> 900 Verifying public key authentication for NX user: //​username//​.
 NX> 900 Adding public key for user: //​username//​ to the authorized keys file. NX> 900 Adding public key for user: //​username//​ to the authorized keys file.
 NX> 716 Public key added to: /home/ //​username//​ /​.ssh/​authorized_keys2. NX> 716 Public key added to: /home/ //​username//​ /​.ssh/​authorized_keys2.
 NX> 900 Verifying public key authentication for NX user: //​username//​. NX> 900 Verifying public key authentication for NX user: //​username//​.
 NX> 900 Public key authentication succeeded. NX> 900 Public key authentication succeeded.
-NX> 999 Bye.''​+NX> 999 Bye. 
 +</​code>​
  
 You should now be able to log-in to the server/node using a normal username and password. You should now be able to log-in to the server/node using a normal username and password.
  
 \\ \\
 +
 === Recreating Keys === === Recreating Keys ===
  
Line 73: Line 86:
  
 \\ \\
 +
 === Tips === === Tips ===
  
Line 82: Line 96:
  
   * If the client fails to connect to the server with the following messages:   * If the client fails to connect to the server with the following messages:
 + 
 +<​code>​
 NX> 203 NXSSH running with pid: //PID// NX> 203 NXSSH running with pid: //PID//
 NX> 285 Enabling check on switch command NX> 285 Enabling check on switch command
Line 90: Line 106:
 NX> 208 Using auth method: publickey NX> 208 Using auth method: publickey
 NX> 204 Authentication failed. NX> 204 Authentication failed.
-then the /​usr/​nx/​home/​nx/​.ssh/​authorized_keys2 file is likely at fault.+</​code>​ 
 + 
 +then the ''​/​usr/​nx/​home/​nx/​.ssh/​authorized_keys2'' ​file is likely at fault.