Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

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

During the week I have a single VNC session I'm working with throughout the week. However, whenever I come back from the weekend or some vacation, I can no longer connect to that session, getting a "cannot connect to host: Connection refused (10061)".

When I ssh to the server and use vncserver -list, I do see my session there, and it looks very much alive; and I can open additional sessions and connect to them. If I try to vncserver -kill the original session, though, I get a

Xvnc process ID $ID already killed


What's going on here, and I can I keep my session alive over time?

Server is running Redhat 6.

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.