Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
  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 :


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

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


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.