ex_directory
Posts: 30
Joined: Thu May 29, 2014 9:08 pm
Location: Cambridge, UK

SOLVED - VNC

Sun Oct 16, 2016 3:40 pm

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.
Last edited by ex_directory on Sun Oct 16, 2016 6:06 pm, edited 1 time in total.

User avatar
B.Goode
Posts: 10356
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: VNC

Sun Oct 16, 2016 4:03 pm

The command line version of raspi-config is simply a shell script so you can examine its contents with a text editor or viewer.

(But isn't the point of raspi-config that you configure the future behaviour of the system?)

ex_directory
Posts: 30
Joined: Thu May 29, 2014 9:08 pm
Location: Cambridge, UK

Re: VNC

Sun Oct 16, 2016 4:33 pm

But when i enable the vnc through the raspi-config, it does not restart the server on next reboot.

Am I missing something?

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 5618
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: VNC

Sun Oct 16, 2016 4:39 pm

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?
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)
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

ex_directory
Posts: 30
Joined: Thu May 29, 2014 9:08 pm
Location: Cambridge, UK

SOLVED - Re: VNC

Sun Oct 16, 2016 6:05 pm

Thanks, that was it. Just had to update.

Now starting on each reboot.

Return to “General discussion”