1

Is there a config file that I can edit so that the pi starts with VNC enabled? I'm currently using raspbian stretch as an OS, and VNC works out of the box. The only thing I have to do is enable it from raspi-config. I use real vnc viewer on Fedora 29. Can I just put a file in /boot/ just like with ssh? My goal here is to make the pi boot up for the first time with vnc enabled.

  • Hello and welcome to Raspberry Pi! Please take the tour and visit the helpcenter to see how things work here. Related (but not a dupe): raspberrypi.stackexchange.com/a/90086/19949 (requires access to / prior to deployment, as in, does not work by just doing something in /boot). – Ghanima Dec 26 '18 at 15:52
  • Are you saying that I can't do it like I would with ssh, or just that it won't work only for that person's case? – Dash Conroy Dec 28 '18 at 13:48
  • I am just saying that there is "out-of-the-box" no mechanism in place to do the same thing with vnc compared to ssh (have it activated by just putting a file in /boot). So you need to have access to / (not a FAT partition) to enable vnc. – Ghanima Dec 28 '18 at 14:40
  • Okay, so what do I have to do? And is the root partition / always in a separate partition from the boot partition? – Dash Conroy Dec 29 '18 at 11:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.