Se você quiser iniciar o VNC na inicialização, salve seu script em um local no disco como .sh , execute chmod a+x yourscriptname em um terminal (para torná-lo executável) e adicione-o a /etc/rc.local;
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/path/to/your/script &
exit 0
Observe o & à direita e o exit 0 final; isso executará o script e continuará o processo de inicialização e não bloqueará nada.