Server Fault is a question and answer site for system and network administrators. 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

How to configure the tiger VNC in RHEL 6 to enable remote login after reboot? Currently, I could remote login to it when it has login already. But if I remotely restart the server, it would not allow me to remotely login again. It says connection refused.

share|improve this question
Is iptables running? /etc/init.d/iptables status – slm Jan 29 '13 at 13:26
This is how i resolved the problem. Go to System -> Startup App. Pref. -> Options -> Remember Currently Running Application. Of course you need to make sure vncserver service is up and running. – Bryan Fok Jan 29 '13 at 14:00
up vote 2 down vote accepted

chkconfig command can be used to manage services on Redhat distros such as Fedora & CentOS.

% sudo chkconfig --levels 345 vncserver on

You can see which run levels it's enabled to start automatically in with this command:

% chkconfig --list vncserver

Here's a good article on the use of chkconfig if you want to learn more about it.

share|improve this answer

You need to have the startup script run as part of the boot process. You can use chkconfig tool on red hat to do so. Something like the following:

$ sudo chkconfig service_name on
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.