[Xastir] Start upon Bootup

Jason KG4WSV kg4wsv at gmail.com
Tue Feb 5 13:20:43 PST 2019


It runs as the user logging in (which is pi auto-logging in),  not root, so no problems there. 

Ive done it both ways, don’t recall why, but no problems either way except the issue of not getting (or finding) the console output. 

-Jason


> On Feb 5, 2019, at 2:48 PM, Lee Bengston <lee.bengston at gmail.com> wrote:
> 
> I have auto-started programs in LXDE before by editing the following file:
> (If the file is not there, it can be created new)
> 
> /etc/xdg/lxsession/LXDE/startup
> 
> Then add a line such as
> 
> @/usr/local/bin/xastir
> 
> Use the actual location of the Xastir executable - or call a shell script
> that launches Xastir.
> 
> It just dawned on me that the above might run as root, and if so, Ken's
> method is better.
> 
> Lee - K5DAT
> 
> 
>> On Tue, Feb 5, 2019, 10:56 AM Ken Koster <n7ipb at wetnet.net wrote:
>> 
>>> On Tuesday, February 5, 2019 7:58:43 AM PST Jim Darrough wrote:
>>> I've seen this mentioned a few times, but I need to get current and
>>> appropriate input on how to start Xastir upon boot of the RPi.
>> 
>> For a program like Xastir that has a GUI you need to edit the desktop
>> autostart file.
>> 
>> On the raspberry pi it's found at:  ~/.config/lxsession/LXDE-pi/autostart
>> 
>> nano ~/.config/lxsession/LXDE-pi/autostart
>> and add a line like this to the end.
>> 
>> @xastir
>> 
>> That should cause xastir to start up after the desktop is up.
>> 
>> NOTE:   The vast majority of my RPi are all headless so I haven't tried
>> this with
>> Xastir but it is the standard way of autostarting applications on the
>> desktop.
>> 
>> Ken,  N7IPB
>> 
>>> Also have a question on how to set transmit delay so that the
>>> transceiver has time to develop power before the data stream starts. On
>>> a KPC3+ this was done by setting TXD to 60. Not at all sure how to do
>>> with RPi3/Pi-Tnc/Xastir.
>>> 
>>> Thanks for any comments.
>>> 
>>> 73 Jim Darrough, KI7AY EM25pd
>> 
>> 
>> --
>> Ken - N7IPB
>> Email: n7ipb at wetnet.net
>> JID: n7ipb at jabber.wetnet.net
>> SvxLink Repeaters: http://pnw220.wetnet.net
>> PGP Sig: F42B EF90 3CD3 31C7 3056  122E 993A 7B2E 5138 C42A
>> “Contrariwise,' continued Tweedledee, 'if it was so, it might be;
>> and if it were so, it would be; but as it isn't, it ain't. That's logic.”
>> _______________________________________________
>> Xastir mailing list
>> Xastir at lists.xastir.org
>> http://xastir.org/mailman/listinfo/xastir
>> 
> _______________________________________________
> Xastir mailing list
> Xastir at lists.xastir.org
> http://xastir.org/mailman/listinfo/xastir


More information about the Xastir mailing list