I followed the manual on this site for automatically starting the server on boot yet it only seems to work when I manually run the first script it asks you to generate (or type it by hand). After reboot I got a message about desktop :0 already being taken, yet it won't connect, and when using "sudo netstat" it isn't there until I do I start it manually. The instructions were ambiguous about where the vnc.sh file is supposed to be placed, is there a certain directory it belongs in?
In order to create the script in init.d I've used both the echo command in the shell and merely created the file elsewhere and moved it there so that shouldn't be the problem. I've chmodded the file both 755 and 777 with no luck, enabled dependency based booting just fine. Everything seems to be in order, but the last command "Reboot your Raspberry Pi and you should find a VNC server already started" I fail at
I've reinstalled raspian once and started fresh too in case I made a change I didn't realize. Are both files supposed to be chmodded 755? Do I have the .sh file in the wrong place? I'm sure I'm merely missing one tiny piece of the puzzle - thanks for any help!