![无法连接到 vnc 服务器](https://linux22.com/image/11317/%E6%97%A0%E6%B3%95%E8%BF%9E%E6%8E%A5%E5%88%B0%20vnc%20%E6%9C%8D%E5%8A%A1%E5%99%A8.png)
只是想找出 vncserver 的问题。看起来它只监听本地主机,因此No matching security types
当我尝试从另一台计算机访问这台 Linux 机器时,它会不断给出此消息。有什么建议么?
owner@owner1:~$ vncserver -list
TigerVNC server sessions:
X DISPLAY # PROCESS ID
:1 9210
:10 1711
:11 24220
:12 27984
:13 4959
:14 5569
:15 25111
:16 25754
:17 32615
:18 21558
:2 9797
:3 10726
:4 11376
:5 12890
:6 13563
:7 15550
:8 19001
:9 19659
还,
`ss -l`
owner@owner1:~$ ss -l
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port
nl UNCONN 0 0 rtnl:deja-dup-monito/9751 *
nl UNCONN 0 0 rtnl:evolution-calen/9657 *
nl UNCONN 0 0 rtnl:evolution-addre/9684 *
nl UNCONN 0 0 rtnl:deja-dup-monito/11902 *
nl UNCONN 0 0 rtnl:deja-dup-monito/31851 *
nl UNCONN 0 0 rtnl:goa-daemon/28202 *
nl UNCONN 0 0 rtnl:evolution-addre/3829 *
nl UNCONN 0 0 rtnl:goa-daemon/3583 *
nl UNCONN 0 0 rtnl:goa-daemon/11567 *
nl UNCONN 0 0 rtnl:-1442839630 *
nl UNCONN 0 0 rtnl:whoopsie/3390 *
nl UNCONN 0 0 rtnl:evolution-calen/25585 *
nl UNCONN 0 0 rtnl:deja-dup-monito/14952 *
nl UNCONN 0 0 rtnl:deja-dup-monito/10383 *
nl UNCONN 0 0 rtnl:evolution-addre/10247 *
nl UNCONN 0 0 rtnl:evolution-calen/11151 *
nl UNCONN 0 0 rtnl:goa-daemon/9473 *
nl UNCONN 0 0 rtnl:evolution-calen/19390 *
nl UNCONN 0 0 rtnl:evolution-calen/15951 *
nl UNCONN 0 0 rtnl:evolution-addre/24651 *
nl UNCONN 0 0 rtnl:deja-dup-monito/11304 *
nl UNCONN 0 0 rtnl:gnome-software/3721 *
nl UNCONN 0 0 rtnl:firefox/9139 *
nl UNCONN 0 0 rtnl:goa-daemon/13088 *
nl UNCONN 0 0 rtnl:evolution-calen/5997 *
nl UNCONN 0 0 rtnl:evolution-calen/24619 *
nl UNCONN 0 0 rtnl:evolution-addre/11785 *
nl UNCONN 0 0 rtnl:goa-daemon/10040 *
nl UNCONN 0 0 rtnl:deja-dup-monito/21462 *
nl UNCONN 0 0 rtnl:evolution-addre/13293 *
nl UNCONN 0 0 rtnl:evolution-calen/3785 *
nl UNCONN 0 0 rtnl:gnome-software/11110 *
nl UNCONN 0 0 rtnl:evolution-calen/28409 *
nl UNCONN 0 0 rtnl:evolution-addre/6040 *
nl UNCONN 0 0 rtnl:evolution-calen/13955 *
nl UNCONN 0 0 rtnl:evolution-addre/11178 *
nl UNCONN 0 0 rtnl:deja-dup-monito/17487 *
nl UNCONN 0 0 rtnl:evolution-addre/13980 *
nl UNCONN 0 0 rtnl:goa-daemon/25360 *
nl UNCONN 0 0 rtnl:deja-dup-monito/10133 *
nl UNCONN 0 0 rtnl:evolution-calen/10220 *
nl UNCONN 0 0 rtnl:goa-daemon/5179 *
nl UNCONN 0 0 rtnl:goa-daemon/5816 *
nl UNCONN 0 0 rtnl:kernel *
nl UNCONN 0 0 rtnl:deja-dup-monito/14431 *
nl UNCONN 0 0 rtnl:deja-dup-monito/26929 *
nl UNCONN 0 0 rtnl:evolution-calen/5402 *
nl UNCONN 0 0 rtnl:goa-daemon/15764 *
nl UNCONN 0 0 rtnl:goa-daemon/24432 *
nl UNCONN 0 0 rtnl:evolution-calen/11758 *
nl UNCONN 0 0 rtnl:evolution-calen/13268 *
nl UNCONN 0 0 rtnl:evolution-addre/25619 *
nl UNCONN 0 0 rtnl:systemd-resolve/698 *
nl UNCONN 0 0 rtnl:packagekitd/25547 *
nl UNCONN 0 0 rtnl:goa-daemon/19205 *
nl UNCONN 0 0 rtnl:evolution-addre/15978 *
nl UNCONN 0 0 rtnl:goa-daemon/13769 *
nl UNCONN 0 0 rtnl:avahi-daemon/4671 *
nl UNCONN 0 0 rtnl:gnome-software/10178 *
nl UNCONN 0 0 rtnl:goa-daemon/10969 *
nl UNCONN 0 0 rtnl:gnome-software/9612 *
nl UNCONN 0 0 rtnl:evolution-addre/5430 *
nl UNCONN 0 0 rtnl:evolution-addre/28445 *
nl UNCONN 0 0 rtnl:evolution-addre/19426 *
nl UNCONN 0 0 rtnl:deja-dup-monito/6020 *
nl UNCONN 0 0 rtnl:deja-dup-monito/10265 *
nl UNCONN 0 0 rtnl:evolution-addre/25619 *
nl UNCONN 0 0 rtnl:evolution-calen/25585 *
nl UNCONN 0 0 rtnl:goa-daemon/25360 *
nl UNCONN 0 0 rtnl:firefox/9139 *
nl UNCONN 0 0 rtnl:packagekitd/25547 *
nl UNCONN 0 0 rtnl:avahi-daemon/4671 *
nl UNCONN 0 0 rtnl:deja-dup-monito/10133 *
nl UNCONN 0 0 rtnl:deja-dup-monito/9751 *
nl UNCONN 0 0 rtnl:evolution-addre/6040 *
nl UNCONN 0 0 rtnl:evolution-calen/5997 *
nl UNCONN 0 0 rtnl:goa-daemon/5816 *
nl UNCONN 0 0 rtnl:evolution-addre/5430 *
nl UNCONN 0 0 rtnl:evolution-calen/5402 *
nl UNCONN 0 0 rtnl:goa-daemon/5179 *
nl UNCONN 0 0 rtnl:deja-dup-monito/31851 *
nl UNCONN 0 0 rtnl:evolution-addre/28445 *
nl UNCONN 0 0 rtnl:evolution-calen/28409 *
nl UNCONN 0 0 rtnl:goa-daemon/28202 *
nl UNCONN 0 0 rtnl:deja-dup-monito/26929 *
nl UNCONN 0 0 rtnl:evolution-addre/24651 *
nl UNCONN 0 0 rtnl:evolution-calen/24619 *
nl UNCONN 0 0 rtnl:goa-daemon/24432 *
nl UNCONN 0 0 rtnl:deja-dup-monito/21462 *
nl UNCONN 0 0 rtnl:evolution-addre/19426 *
nl UNCONN 0 0 rtnl:evolution-calen/19390 *
nl UNCONN 0 0 rtnl:goa-daemon/19205 *
nl UNCONN 0 0 rtnl:deja-dup-monito/17487 *
nl UNCONN 0 0 rtnl:evolution-addre/15978 *
nl UNCONN 0 0 rtnl:evolution-calen/15951 *
nl UNCONN 0 0 rtnl:goa-daemon/15764 *
nl UNCONN 0 0 rtnl:deja-dup-monito/14952 *
nl UNCONN 0 0 rtnl:deja-dup-monito/14431 *
nl UNCONN 0 0 rtnl:evolution-addre/13980 *
nl UNCONN 0 0 rtnl:evolution-calen/13955 *
nl UNCONN 0 0 rtnl:goa-daemon/13769 *
nl UNCONN 0 0 rtnl:evolution-addre/13293 *
nl UNCONN 0 0 rtnl:evolution-calen/13268 *
nl UNCONN 0 0 rtnl:goa-daemon/13088 *
nl UNCONN 0 0 rtnl:deja-dup-monito/11902 *
nl UNCONN 0 0 rtnl:evolution-addre/11785 *
nl UNCONN 0 0 rtnl:evolution-calen/11758 *
答案1
事实证明 Ubuntu 中存在这个错误,可以通过以下方式修复:
gsettings set org.gnome.Vino require-encryption false