Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I run the vncserver using vnc4server.

I take a look in ~/.vnc/ubuntu:1.log

It only show something like this.

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)

How do I find the ip of connected vnc client?

share|improve this question
add comment

1 Answer 1

You can use the netstat command to see what open network connections there are.

sudo netstat -a | grep *vnc port number*
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.