¿ªÔÆÌåÓý

Raspberry Pi Automatic Startup fails


 

I'm having the same problem that others have posted.

I am running Raspbian version 8.


I have a Raspberry Pi running DireWolf as a remote digipeater. ?After a power failure, I would like DireWolf to automatically start. ?I have put in the Automatic Startup commands from section 6.1 of the Raspberry-Pi-APRS.pdf document, and it will not automatically start.
I have made the script file Executable by using the following:

sudo chmod +x dw-start.sh


What I found by looking at the Log file that is created is the script (from DireWolf) REQUIRES a display of some sort. ?The log file has:

Wed Feb 22 11:53:41 PST 2017

DISPLAY=:0

Start up application.

-----------------------

Wed Feb 22 11:54:41 PST 2017

DISPLAY=:0

Start up application.

-----------------------

Wed Feb 22 11:55:41 PST 2017

DISPLAY=:0

Start up application.

-----------------------


When I manually start a VNC server, then DireWolf will start, but NOT UNTIL I manually start the VNC server.


By looking at the script, it shouldn't get to "Start up application" unless a display was found, so it appears whatever display was found DireWolf didn't like.


Suggestions?


Arnold

KQ6DI

Join [email protected] to automatically receive all group messages.