我有一个旧的 Xubuntu 系统,我使用 UltraVNC 从 Windows 机器远程管理它。它不支持加密,但由于它在本地网络上,所以这是可以接受的,而且它多年来一直运行良好。
我刚刚在一台新机器上安装了 Xubuntu 20.04,并从存储库安装了 Vino,并使用 gsettings(因为 vino-preferences 不再存在)将其配置为与旧系统相同的值。设置如下:
org.gnome.Vino require-encryption false
org.gnome.Vino use-alternative-port false
org.gnome.Vino disable-background false
org.gnome.Vino disable-xdamage false
org.gnome.Vino alternative-port uint16 5900
org.gnome.Vino icon-visibility 'client'
org.gnome.Vino authentication-methods ['vnc']
org.gnome.Vino network-interface ''
org.gnome.Vino notify-on-connect true
org.gnome.Vino mailto ''
org.gnome.Vino lock-screen-on-disconnect false
org.gnome.Vino use-upnp false
org.gnome.Vino vnc-password 'xxxxxxxxxx=='
org.gnome.Vino view-only false
当我启动服务器时,我看到的是:
10/06/2020 20:25:40 Autoprobing TCP port in (all) network interface
10/06/2020 20:25:40 Listening IPv6://[::]:5900
10/06/2020 20:25:40 Listening IPv4://0.0.0.0:5900
10/06/2020 20:25:40 Autoprobing selected port 5900
10/06/2020 20:25:40 Advertising security type: 'TLS' (18)
10/06/2020 20:25:40 Re-binding socket to listen for VNC connections on TCP port 5900 in (all) interface
10/06/2020 20:25:40 Listening IPv6://[::]:5900
10/06/2020 20:25:40 Listening IPv4://0.0.0.0:5900
10/06/2020 20:25:40 Clearing securityTypes
10/06/2020 20:25:40 Advertising security type: 'TLS' (18)
10/06/2020 20:25:40 Clearing securityTypes
10/06/2020 20:25:40 Advertising security type: 'TLS' (18)
10/06/2020 20:25:40 Advertising authentication type: 'No Authentication' (1)
10/06/2020 20:25:40 Re-binding socket to listen for VNC connections on TCP port 5900 in (all) interface
10/06/2020 20:25:40 Listening IPv6://[::]:5900
10/06/2020 20:25:40 Listening IPv4://0.0.0.0:5900
10/06/2020 20:25:40 Clearing securityTypes
10/06/2020 20:25:40 Clearing authTypes
10/06/2020 20:25:40 Advertising security type: 'TLS' (18)
10/06/2020 20:25:40 Advertising authentication type: 'VNC Authentication' (2)
10/06/2020 20:28:21 [IPv4] Got connection from client xxx
10/06/2020 20:28:21 other clients:
10/06/2020 20:28:21 WARNING: New width (1366) is not a multiple of 4.
10/06/2020 20:28:21 Client Protocol Version 3.4
10/06/2020 20:28:21 Ignoring minor version mismatch
10/06/2020 20:28:21 rfbClientConnFailed("No security type suitable for RFB 3.3 supported")
10/06/2020 20:28:21 Client xxx gone
请注意,尽管我已将“org.gnome.Vino require-encryption”设置为 false,但它仍显示“广告安全类型:‘TLS’ (18)”。因此,我无法从 Windows 机器进行连接。
谁能告诉我如何解决这个问题?