G+_James Hughes Posted March 28, 2016 Share Posted March 28, 2016 Fr. Robert Ballecer, SJ and others. Total noob question here. I'm trying to set up my Pi so that it will load VNC on boot. I found the file to do it and can get into the correct folder to make it happen. Here's the problem, I don't know how to save the file to the directory. It just says "Save the file here" basically. How do I do this? Link to comment Share on other sites More sharing options...
G+_Ben Yanke Posted March 28, 2016 Share Posted March 28, 2016 How do you have the file currently? Is it on another computer or just a URL? If it's web, "wget URL" will do the trick. Othwewise, filezilla can transfer files between devices. Load it on your desktop/laptop, transfer the file to the pi. Link to comment Share on other sites More sharing options...
G+_James Hughes Posted March 28, 2016 Author Share Posted March 28, 2016 I figured out how to make the file in nano. When following the instructions for making it start up on boot I got an error message. I've shut down for the night but I'll post the error message tomorrow morning. Link to comment Share on other sites More sharing options...
G+_Eddie Foy Posted March 28, 2016 Share Posted March 28, 2016 /etc/rc.local usually is where I dump my start ups. Whatever file you use make sure its executable. chmod +x Link to comment Share on other sites More sharing options...
G+_James Hughes Posted March 28, 2016 Author Share Posted March 28, 2016 Eddie Foy The instructions I found had it in a different directory, but making it executable is where I got the error message. I'll have to play with it tonight. Link to comment Share on other sites More sharing options...
G+_Ben Yanke Posted March 28, 2016 Share Posted March 28, 2016 Have you tried running the command prefixed by "sudo"? Link to comment Share on other sites More sharing options...
G+_Eddie Foy Posted March 29, 2016 Share Posted March 29, 2016 Whats the error message and what happens/errors if you just run the rc.local? small tip for nano, if the error is on line 23, you can open nano and jump right to line 23: nano +23 I like this for when SSH keys get mucked up. Link to comment Share on other sites More sharing options...
G+_James Hughes Posted March 30, 2016 Author Share Posted March 30, 2016 Eddie Foy Thanks Link to comment Share on other sites More sharing options...
Recommended Posts