Recently, my G2 (Black Face) has not been recognized by Thetis. I recalled that the G2 needs the P2APP running for the G2 to be "found" over Ethernet by Thetis. So I signed into my Pi on the G2 and double clicked the P2APP on the GUI. It ran. And then when I turned on Thetis all was well. However....
Apparently, in the past P2APP seems to always have been running perhaps in a "STARTUP" when the G2 was powered on.
How is the P2APP invoked at Startup on the G2 black face?
Somehow, I need to check that so that the P2APP is auto started.
All ears... thanks. Art W1SWL
P2APP where / how is it started at boot?
-
- Posts: 304
- Joined: Mon Nov 11, 2019 7:39 pm
Re: P2APP where / how is it started at boot?
There are lots of ways to autostart linux code, but the mechanism used by the factory images is covered in the manual section 4.6.
There should be a file /etc/xdg/lxsession/LXDE-pi/autostart
Its content should be:
With display:
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
@/home/pi/github/pihpsdr/pihpsdr
No display:
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
@/home/pi/github/Saturn/sw_projects/P2_app/p2app
You can edit the file with a normal test editor eg sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
There should be a file /etc/xdg/lxsession/LXDE-pi/autostart
Its content should be:
With display:
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
@/home/pi/github/pihpsdr/pihpsdr
No display:
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
@/home/pi/github/Saturn/sw_projects/P2_app/p2app
You can edit the file with a normal test editor eg sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
Laurence Barker G8NJJ
Re: P2APP where / how is it started at boot?
Excellent, thank you Lawrence. Happy Holidays to All! Art W1SWL