Uncomment the VNCSERVERS line and configure a list of display to user mappings:
VNCSERVERS="1:userA 2:userB"
You also need to make sure that vnc is starting automatically:
/sbin/chkconfig --list vncserver
vncserver 0:off 1:off 2:off 3:off 4:off 5:off 6:off
/sbin/chkconfig --level 5 vncserver on
/sbin/chkconfig --list vncserver
vncserver 0:off 1:off 2:off 3:off 4:off 5:on 6:off
A really good resource for configuring vnc on linux is http://www.walkernews.net/2008/06/20/configure-vnc-server-to-auto-start-up-in-red-hat-linux/.
No comments:
Post a Comment