Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make this setup run on boot #1

Open
elkhawajah opened this issue Aug 31, 2018 · 2 comments
Open

Make this setup run on boot #1

elkhawajah opened this issue Aug 31, 2018 · 2 comments

Comments

@elkhawajah
Copy link

The services won't be running when I start raspberry pi, I need to start it manually. Is there a commands I need to run to make it run on boot ?

@netsmith
Copy link

I have the same issue. I follow the steps and everything works as expected. Turn off the pi and start it up again and tightserver is no longer running and the pi no longer appears in the Mac finder window sidebar

@Slleahy
Copy link

Slleahy commented Apr 7, 2019

Total noob here, but I have my new raspberry pi configured so the server is running when I reboot it (do not have to shell into the pi to restart the server)

I did it by editing /etc/rc.local and inserting the lines:

sudo /etc/init.d/tightvncserver start
cd /etc/init.d
sudo update-rc.d tightvncserver defaults
cd /home/pi

Insert the code just before the final exit 0 line at the bottom. You may have to chmod the rc.local file to make it executable if it is not already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants