WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: X startup commands  (Read 1247 times)

Offline MTCAT

  • Sr. Member
  • ****
  • Posts: 370
X startup commands
« on: September 09, 2023, 07:52:56 PM »
Hi everyone,

Any ideas why the commands inside "start_time_sync" (located in /home/tc/.X.d) are not fully executing? It seems that the second and third lines are not running, so gpsd and gpspipe are not coming up, when typing "chronyc sources", I get an error, "Error 506 cannot talk to daemon".

But, I can type in the commands manually and all works fine, chrony works perfectly. I also can put the commands in script file and that runs just fine too.

Thanks,

David

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11695
Re: X startup commands
« Reply #1 on: September 09, 2023, 08:51:16 PM »
Hi MTCAT
Maybe you could try starting it from  /opt/bootlocal.sh  instead?

Offline MTCAT

  • Sr. Member
  • ****
  • Posts: 370
Re: X startup commands
« Reply #2 on: September 09, 2023, 09:24:40 PM »
Thank you once again Rich!, that seems to have worked!

Hopefully that will good now, I could maybe increase the sleep interval in extlinux.conf to give the GPS more time to fire up perhaps, but not sure it's needed.

Thanks again,

David

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11695
Re: X startup commands
« Reply #3 on: September 09, 2023, 09:41:20 PM »
Hi MTCAT
... I could maybe increase the sleep interval in extlinux.conf to give the GPS more time to fire up ...
"The default configuration does not save any system state on disk.  Chrony will
generally synchronize the system clock within a few minutes."
found in the chrony.tcz.info file:
http://tinycorelinux.net/4.x/x86/tcz/chrony.tcz.info