三、注意事项
1、一定要下载并解压nxclient-3.5.0-7.x86_64.tar.gz(tar安装版),否则收到错误信息。
本人在安装到第二台linux上时由于前面的安装貌似没有使用到nxclient,因此没有复制到第二台机器的/usr路径下,出现下列错误信息
下面是直接将下载的文件复制到usr路径后解压
blade10:/usr/NX/scripts/setup # /usr/NX/bin/nxserver --status
NX> 595 ERROR: Detected an inconsistency in the NX server configuration.
NX> 595 ERROR: The exception id is: F0305311. To get detailed information about
NX> 595 ERROR: the error, search for the string: F0305311 in the system log file
NX> 595 ERROR: (usually '/var/log/messages').
blade10:~ # vi /var/log/messages
Oct 8 08:01:38 blade10 NXSERVER-3.5.0-11[29992]: ERROR: Exception id F0305311.
Wrong configuration: key 'CommandNXSSH' specifying nxssh command has wrong value : command '/usr/NX/bin/nxssh' not found (NXNsSUSErManager::init)
2、 应根据安装指导下载到/usr路径解压后再安装,否则,会后到无法创建配置文件的错误信息
3、不能使用root用户登录到X windows。但登陆到X windows后,命令行下可以切换到root账户
下面是使用root账户登陆的错误提示
NX> 203 NXSSH running with pid: 5320
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 10.10.43.112 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 3.5.0-11 - LFE
NX> 105 Hello NXCLIENT - Version 3.5.0
NX> 134 Accepted protocol: 3.5.0
NX> 105 Set shell_mode: shell
NX> 105 Set auth_mode: password
NX> 105 Login
NX> 101 User: root
NX> 500 ERROR: User 'root' cannot be used as an NX user
NX> 999 Bye.
NX> 280 Exiting on signal: 15
Author: Robinson Cheng
Blog: http://www.linuxidc.com
