Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.
  1. I created new user in Linux VM from root user with Putty.
  2. And closed Putty session.
  3. I login with my new user.
  4. I run command

vncserver -geometry 1800x900

it gave some session id like :

host_name:session_id

with that : , i am trying to login in VNC, but

I am getting error "connect:connection refused"

please give me your valuable suggestions

share|improve this question

1 Answer 1

You are not getting an authorization error, but a connection error. You need to check if iptables(8) is active in the GNU/Linux side, and check if it's allowing connections to the VNC ports, usually 5800/tcp and 5900/tcp. You can also try to telnet(1) that port from the client side.

share|improve this answer

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.