When starting VNC via "sudo raspi-config", i can see it calls some scripts. How can i see what these are?
I want to add them to rc.local so VNC server is started after every reboot.

Are you referring to the activation of the RealVNC server provided in the current release of Raspbian Jessie Pixel? If so have you updated/upgraded recently too? (IIRC, in another thread, there was a similar issue which has now been fixed - associated with one of the RealVNC startup scripts, which has/have been updated)ex_directory wrote:But when i enable the vnc through the raspi-config, it does not restart the server on next reboot.
Am I missing something?