19.10 + Nomachine nxclient_3.5.0-7_amd64.deb

19.10 + Nomachine nxclient_3.5.0-7_amd64.deb

所以我是 nomachine 产品的长期用户。最近我(现在仍然)很高兴地在 ubuntu 18.04 上使用 nxclient 3.5 连接到 nomachine 工作站 6.4 服务器(评估版)。

一切进展顺利,除了需要替换包含的 libz.so.1.2.3 之外,该 libz.so.1.2.3 显然在 18.04 中失败并且必须用系统版本覆盖。

但是,在 ubuntu 19.10(和 20.04)上执行相同操作不再起作用,并且客户端在连接此 sshlog 时似乎挂起了:

NX> 203 NXSSH running with pid: 7507
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: xx.xxx.xxx.xxx on port: xxxx
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 6.4.6 - NoMachine Workstation Evaluation
NX> 105 NX> 280 Exiting on signal: 15

为了与在 18.04 上运行的相同程序包进行比较,这是来自另一台机器的 sshlog:

NX> 203 NXSSH running with pid: 4430
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: xx.xxx.xxx.xxx on port: xxxx
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
/usr/bin/xauth:  file /var/NX/nx/.Xauthority does not exist
HELLO NXSERVER - Version 6.4.6 - NoMachine Workstation Evaluation
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: <myuser>
NX> 102 Password: *********
NX> 103 Hello on board <myuser>.
NX> 105 Listsession --user="<myuser>" --status="suspended\054running" --geometry="1504x1000x24+render" --type="unix-application" 
NX> 127 Session list of user '<myuser>': 

Display Type                  Session ID                       Services Dept Screensize     Status      Session name                                                 Username                                                                                                                                                                                                                                                                        
------- --------------------- -------------------------------- -------- ---- -------------- ----------- ------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 

NX> 148 Server capacity: not reached for user: <myuser>
NX> 105 Start session with: --virtualdesktop="1" --application="startkde" --link="modem" --backingstore="1" --encryption="1" --cache="128M" --images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1" --media="0" --imagecompressionmethod="3" --imagecompressionlevel="-1" --render="1" --session="nuc" --type="unix-application" --geometry="1024x768+240+101" --client="linux" --keyboard="pc101\057no" --screeninfo="1024x768x24+render" 
NX> 754 Selected node: localhost:4000
NX> 700 Session id: nuc3815-1001-6FE473B727960E71CAA298DAD537043D
NX> 705 Session display: 1001
NX> 701 Proxy cookie: 51BAA31D0AD12005261DA424BF1F5A96
NX> 702 Proxy IP: xx.xxx.xxx.xxx
NX> 706 Agent cookie: 51BAA31D0AD12005261DA424BF1F5A96
NX> 704 Session cache: unix-application
NX> 722 UDP port: 5001
NX> 728 Session caption: NX - <myuser>@nuc3815:1001 - nuc
NX> 707 SSL tunneling: 1
NX> 708 Subscription: LWEN/None
NX> 710 Session status: running
NX> 105 Bye 
NX> 999 Bye.
NX> 285 Identified internal connection
NX> 285 Using default mode encrypted
NX> 285 Identified options: nx/nx,options=/home/<myuser>/.nx/S-nuc3815-1001-6FE473B727960E71CAA298DAD537043D/options:1001
NX> 280 Proxy opened with local: 11 remote: 12
NX> 285 Switching descriptors: 4 and: 5 to: 11

NX> 287 Redirected I/O to channel descriptors
NX> 280 Proxy in: 4 out: 5 transport in: 12 out: 12
NX> 280 Exiting on signal: 15

我不完全明白服务器回复后 nxssh 挂起的原因是什么,因为安装的包和二进制文件是相同的。有什么建议吗?

附言:我询问 nxclient 3.5 的原因是因为我已经尝试使用最新的客户端,但是与 3.5 客户端相比,使用“轻量”协议(= 旧 nx 协议)时,效果要差得多,所以我想坚持使用它。

编辑:完整的运行日志:

[Mon Feb 24 16:30:05 2020]: Setting environment variable 'NX_SYSTEM' to '/usr/NX'
[Mon Feb 24 16:30:05 2020]: Setting environment variable 'NX_ROOT' to '/home/<myuser>/.nx'
[Mon Feb 24 16:30:05 2020]: Setting environment variable 'NX_HOME' to '/home/<myuser>'
[Mon Feb 24 16:30:05 2020]: Starting font debug
Fixed font was set to: 'Fixed' size: '7'
And the result is: 'Fixed [Misc]'
Not using default system font
Trying preset families
Found family 'DejaVu Sans'
Found size '9'
Font was set to: 'DejaVu Sans'
And the result is: 'DejaVu Sans'
End of font debug


[Mon Feb 24 16:30:05 2020]: Starting NX Client version 3.5.0-7
[Mon Feb 24 16:30:05 2020]: qtrc: useXft read=1 value=1
qtrc: useXft is set to true
qtrc: enableXft read=1 value=1
qtrc: enableXft is set to true

[Mon Feb 24 16:30:05 2020]: Initializing the login dialog.
[Mon Feb 24 16:30:05 2020]: Config File Name set to: '/home/<myuser>/.nx/config/nxclient.cfg'.
[Mon Feb 24 16:30:05 2020]: System NX dir set to: '/usr/NX'.
[Mon Feb 24 16:30:05 2020]: Personal NX dir set to: '/home/<myuser>/.nx'.
[Mon Feb 24 16:30:05 2020]: creating SessionSettings=''
[Mon Feb 24 16:30:05 2020]: LoginDialog::loadConfigFiles - number of entries in config dir: 5
[Mon Feb 24 16:30:05 2020]: ComboSession::insertSession: 'nuc' -> '/home/<myuser>/.nx/config/nuc.nxs'
[Mon Feb 24 16:30:05 2020]: ComboSession::setCurrentSession: 'nuc'
[Mon Feb 24 16:30:05 2020]: SessionSettings::loadFromFile('/home/<myuser>/.nx/config/nuc.nxs')
[Mon Feb 24 16:30:05 2020]: ComboSession::insertSession: 'rivendell' -> '/home/<myuser>/.nx/config/rivendell.nxs'
[Mon Feb 24 16:30:05 2020]: ComboSession::setCurrentSession: 'rivendell'
[Mon Feb 24 16:30:05 2020]: SessionSettings::loadFromFile('/home/<myuser>/.nx/config/rivendell.nxs')
[Mon Feb 24 16:30:05 2020]: Utility::getPreferencesFile: 'nxclient' -> '/home/<myuser>/.nx/config/nxclient.cfg'
[Mon Feb 24 16:30:05 2020]: ComboSession::setCurrentSession: 'nuc'
[Mon Feb 24 16:30:05 2020]: SessionSettings::loadFromFile('/home/<myuser>/.nx/config/nuc.nxs')
[Mon Feb 24 16:30:05 2020]: LoginDialog: slotChangeSession [nuc]
[Mon Feb 24 16:30:05 2020]: LoginDialog: loadUserAndPassword
[Mon Feb 24 16:30:05 2020]: LoginDialog: loadUserAndPassword
[Mon Feb 24 16:30:05 2020]: Settings::flush
[Mon Feb 24 16:30:05 2020]: Settings::flush
[Mon Feb 24 16:30:05 2020]: ComboSession::setCurrentSession: 'nuc'
[Mon Feb 24 16:30:05 2020]: SessionSettings::loadFromFile('/home/<myuser>/.nx/config/nuc.nxs')
[Mon Feb 24 16:30:05 2020]: LoginDialog: slotChangeSession [nuc]
[Mon Feb 24 16:30:05 2020]: LoginDialog: loadUserAndPassword
[Mon Feb 24 16:30:05 2020]: LoginDialog: loadUserAndPassword
[Mon Feb 24 16:30:05 2020]: Settings::flush
[Mon Feb 24 16:30:05 2020]: Settings::flush
[Mon Feb 24 16:30:05 2020]: LoginDialog: loadUserAndPassword
[Mon Feb 24 16:30:05 2020]: Setting environment variable 'NX_HOME' to '/home/<myuser>'
[Mon Feb 24 16:30:05 2020]: Setting environment variable 'NX_ROOT' to '/home/<myuser>/.nx'
[Mon Feb 24 16:30:05 2020]: Setting environment variable 'NX_SYSTEM' to '/usr/NX'
[Mon Feb 24 16:30:05 2020]: Setting environment variable 'NX_CLIENT' to '/usr/NX/bin/nxclient'
[Mon Feb 24 16:30:05 2020]: Trying the XAUTHORITY environment variable with value [/run/user/1000/gdm/Xauthority].
[Mon Feb 24 16:30:05 2020]: Utility::getXAuthorityFilePath: /run/user/1000/gdm/Xauthority
[Mon Feb 24 16:30:05 2020]: Setting environment variable 'XAUTHORITY' to '/run/user/1000/gdm/Xauthority'
[Mon Feb 24 16:30:05 2020]: Setting environment variable 'LD_LIBRARY_PATH' to '/usr/NX/lib'
[Mon Feb 24 16:30:05 2020]: Setting environment variable 'HOME' to '/home/<myuser>'
[Mon Feb 24 16:30:05 2020]: Setting environment variable 'PATH' to '/usr/lib/ccache/:/home/<myuser>/bin:/home/<myuser>/.local/bin:/home/<myuser>/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/NX/bin:/usr/X/bin'
[Mon Feb 24 16:30:05 2020]: Setting environment variable 'NX_TEMP' to '/tmp'
[Mon Feb 24 16:30:05 2020]: Setting environment variable 'TEMP' to '/tmp'
[Mon Feb 24 16:30:05 2020]: Setting environment variable 'NX_VERSION' to '3.5.0'
[Mon Feb 24 16:30:05 2020]: NXService::run: params [--cleanup]
[Mon Feb 24 16:30:10 2020]: LoginDialog: login setupGui 1
[Mon Feb 24 16:30:10 2020]: Setting environment variable 'NX_HOME' to '/home/<myuser>'
[Mon Feb 24 16:30:10 2020]: Setting environment variable 'NX_ROOT' to '/home/<myuser>/.nx'
[Mon Feb 24 16:30:10 2020]: Setting environment variable 'NX_SYSTEM' to '/usr/NX'
[Mon Feb 24 16:30:10 2020]: Setting environment variable 'NX_CLIENT' to '/usr/NX/bin/nxclient'
[Mon Feb 24 16:30:10 2020]: Trying the XAUTHORITY environment variable with value [/run/user/1000/gdm/Xauthority].
[Mon Feb 24 16:30:10 2020]: Utility::getXAuthorityFilePath: /run/user/1000/gdm/Xauthority
[Mon Feb 24 16:30:10 2020]: Setting environment variable 'XAUTHORITY' to '/run/user/1000/gdm/Xauthority'
[Mon Feb 24 16:30:10 2020]: Setting environment variable 'LD_LIBRARY_PATH' to '/usr/NX/lib'
[Mon Feb 24 16:30:10 2020]: Setting environment variable 'HOME' to '/home/<myuser>'
[Mon Feb 24 16:30:10 2020]: Setting environment variable 'PATH' to '/usr/lib/ccache/:/home/<myuser>/bin:/home/<myuser>/.local/bin:/home/<myuser>/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/NX/bin:/usr/X/bin:/usr/NX/bin:/usr/X/bin'
[Mon Feb 24 16:30:10 2020]: Setting environment variable 'NX_TEMP' to '/tmp'
[Mon Feb 24 16:30:10 2020]: Setting environment variable 'NX_VERSION' to '3.5.0'
[Mon Feb 24 16:30:10 2020]: Trying to write the ssh key into [/home/<myuser>/.nx/temp/7500/keylog]
[Mon Feb 24 16:30:10 2020]: SSH key file path [/home/<myuser>/.nx/temp/7500/keylog]
[Mon Feb 24 16:30:10 2020]: Running nxssh protocol with version [3.5.0]
[Mon Feb 24 16:30:10 2020]: LoginDialog: startProgressTimer
[Mon Feb 24 16:30:10 2020]: LoginDialog::ShowConnectionStatus code=[240] str=[Setting up the environment] error=[0]
[Mon Feb 24 16:30:10 2020]: ProgressDialog::printNxStatus: [Setting up the environment]
[Mon Feb 24 16:30:10 2020]: LoginDialog: startProgressTimer
[Mon Feb 24 16:30:10 2020]: Showing progress dialog: Setting up the environment
[Mon Feb 24 16:30:10 2020]: Going to get the X authorization cookie on display.
[Mon Feb 24 16:30:10 2020]: Trying the XAUTHORITY environment variable with value [/run/user/1000/gdm/Xauthority].
[Mon Feb 24 16:30:10 2020]: Running command [xauth -f /run/user/1000/gdm/Xauthority nextract - :0 | cut -f 9 -d ' ' 1>"/home/<myuser>/.nx/temp/7500/authlog" 2>/dev/null].
[Mon Feb 24 16:30:10 2020]: Command run.
[Mon Feb 24 16:30:10 2020]: Got or created the X authorization cookie.
[Mon Feb 24 16:30:10 2020]: Setting environment variable 'LD_LIBRARY_PATH' to ''
[Mon Feb 24 16:30:10 2020]: Setting environment variable 'LD_LIBRARY_PATH' to '/usr/NX/lib'
[Mon Feb 24 16:30:10 2020]: LoginDialog::ShowConnectionStatus code=[241] str=[Connecting to <myserverdomain>] error=[0]
[Mon Feb 24 16:30:10 2020]: ProgressDialog::printNxStatus: [Connecting to <myserverdomain>]
[Mon Feb 24 16:30:10 2020]: LoginDialog::connectHost() nxsshline=/usr/NX/bin/nxssh -nx -p xxxx -i /home/<myuser>/.nx/temp/7500/keylog nx@<myserverdomain> -x -2 -4 -o RhostsAuthentication no -o PasswordAuthentication no -o RSAAuthentication no -o RhostsRSAAuthentication no -o PubkeyAuthentication yes -B -E
[Mon Feb 24 16:30:10 2020]: Using NX_STDIN flag redirection for [nxssh] process
[Mon Feb 24 16:30:10 2020]: Using NX_STDOUT flag redirection for [nxssh] process
[Mon Feb 24 16:30:10 2020]: Using NX_STDERR flag redirection for [nxssh] process
[Mon Feb 24 16:30:10 2020]: SpawnProcess method has returned [1]
[Mon Feb 24 16:30:10 2020]: Process [nxssh] running with pid [7507]
[Mon Feb 24 16:30:10 2020]: Received line from nxssh process [NX> 203 NXSSH running with pid: 7507] with code [203]
[Mon Feb 24 16:30:10 2020]: Received code[203]
[Mon Feb 24 16:30:10 2020]: NXProtocol: trying to read ssh pid from '7507' - read '7507'
[Mon Feb 24 16:30:10 2020]: Received line from nxssh process [NX> 285 Enabling check on switch command] with code [285]
[Mon Feb 24 16:30:10 2020]: Received code[285]
[Mon Feb 24 16:30:10 2020]: Received line from nxssh process [NX> 285 Enabling skip of SSH config files] with code [285]
[Mon Feb 24 16:30:10 2020]: Received code[285]
[Mon Feb 24 16:30:10 2020]: Received line from nxssh process [NX> 285 Setting the preferred NX options] with code [285]
[Mon Feb 24 16:30:10 2020]: Received code[285]
[Mon Feb 24 16:31:10 2020]: StopConnection called
[Mon Feb 24 16:31:10 2020]: nxssh closing
[Mon Feb 24 16:31:10 2020]: StopConnection called
[Mon Feb 24 16:31:10 2020]: StopConnection called
[Mon Feb 24 16:31:10 2020]: nxssh closing
[Mon Feb 24 16:31:10 2020]: StopConnection called
[Mon Feb 24 16:31:10 2020]: printFatalError [Connection timeout]
[Mon Feb 24 16:31:10 2020]: KillAllComponents 0x1be2e60
[Mon Feb 24 16:31:10 2020]: LoginDialog: stopAllTimers
[Mon Feb 24 16:31:10 2020]: LoginDialog: stopProgressTimer
[Mon Feb 24 16:31:10 2020]: LoginDialog::killAllComponents() stopping NXProtoSSH
[Mon Feb 24 16:31:10 2020]: StopConnection called
[Mon Feb 24 16:31:10 2020]: nxssh closing
[Mon Feb 24 16:31:10 2020]: StopConnection called
[Mon Feb 24 16:31:10 2020]: NXProcessUnix::StopProcess process [nxssh] with pid [7507]
[Mon Feb 24 16:31:10 2020]: end of killAllComponents
[Mon Feb 24 16:31:10 2020]: LoginDialog::ShowConnectionStatus code=[268] str=[Connection timeout] error=[1]
[Mon Feb 24 16:31:10 2020]: ProgressDialog::printNxStatus: [Connection timeout]
[Mon Feb 24 16:31:10 2020]: Logfile path [/home/<myuser>/.nx/temp/7500/sshlog] exists.
[Mon Feb 24 16:32:01 2020]: LoginDialog::ShowConnectionStatus code=[251] str=[Disconnecting...] error=[0]
[Mon Feb 24 16:32:01 2020]: ProgressDialog::printNxStatus: [Disconnecting...]
[Mon Feb 24 16:32:01 2020]: KillAllComponents 0x1be2e60
[Mon Feb 24 16:32:01 2020]: LoginDialog: stopAllTimers
[Mon Feb 24 16:32:01 2020]: LoginDialog: stopProgressTimer
[Mon Feb 24 16:32:01 2020]: LoginDialog::killAllComponents() stopping NXProtoSSH
[Mon Feb 24 16:32:01 2020]: StopConnection called
[Mon Feb 24 16:32:01 2020]: nxssh closing
[Mon Feb 24 16:32:01 2020]: StopConnection called
[Mon Feb 24 16:32:01 2020]: NXProcessUnix::StopProcess process [nxssh] with pid [7507]
[Mon Feb 24 16:32:01 2020]: end of killAllComponents

以及来自 18.04 安装的运行日志(此特定运行中的 IP 不同,但它是同一台机器。也有用于远程连接的工作运行日志),位于http://paste.debian.net/hidden/7b6fcd46/(由于 SE 上的消息限制)

答案1

前几天我从 18.04 升级到 20.04 时也遇到了同样的问题。在网上搜索了好久,才找到一个 Remmina NX 插件,可以通过 apt 安装。

它运行良好,我还可以听到来自服务器的声音。

我希望这能对你有帮助。

相关内容