Как найти ip подключенного клиента vnc из журнала vncserver?

Я запускаю vncserver, используя vnc4server.

Я смотрю в ~ / .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)

Как мне найти ip подключенного клиента vnc?

4
задан 6 October 2012 в 19:56

1 ответ

Вы можете использовать команду netstat для просмотра открытых сетевых подключений.

sudo netstat -a | grep *vnc port number*
0
ответ дан 6 October 2012 в 19:56

Другие вопросы по тегам:

Похожие вопросы: