for yoru ssh, you can use VASMCC or VASM go to services and there you can enable/disable services for each runlevel
4 = GUI.
as far as vnc goes, you'll have to do that outside of rc.local because that's a system thing... and by the time that's executed, there is no X running (I may be wrong).
The only thing I can think of, is adding it to your xinitrc
here is how to do it
your xinitrc is probabbly a link to somewhere in /etc/X11/xinit.
so you want to
mv ~/.xinitrc ~/.xinitrc_oldthen edit your file to add yoru vnc line
cp /etc/X11/xinit/xinitrc ~/.xinitrc
mcedit ~/.xinitrcAdd your vnc line at the end of the file
vncserver :1save it and make it executable.
Not even sure that will work, but you can give it a try. I think that might only execute when actually log into the box as your username.