我使用 vnc4server 运行 vncserver。
我查看了 ~/.vnc/ubuntu:1.log
它只显示类似这样的内容。
Sat Oct 6 20:40:12 2012
Connections: accepted: 0.0.0.0::2043
SConnection: Client needs protocol version 3.8
SConnection: Client requests security type VncAuth(2)
Sat Oct 6 20:40:14 2012
SConnection: AuthFailureException: Authentication failure
Connections: closed: 0.0.0.0::2043 (Authentication failure)
Sat Oct 6 20:40:16 2012
Connections: accepted: 0.0.0.0::2048
SConnection: Client needs protocol version 3.8
SConnection: Client requests security type VncAuth(2)
如何找到连接的 vnc 客户端的 ip?
答案1
您可以使用 netstat 命令查看有哪些打开的网络连接。
sudo netstat -a | grep *vnc port number*