12-02-2023, 02:46 PM
(This post was last modified: 12-02-2023, 06:41 PM by TheOldPresbyope.
Edit Reason: fix typo
)
(12-01-2023, 08:47 PM)jmperagine Wrote: Hi Kent,
Hope all is well. Going back 2 years? Wow, so, the SXM client is not loading on bootup. I went back and looked at all your help, looks like putting the credentials in rc.local is no longer an option because it's trying to load them too soon?
Where can I insert the login code line:
/usr/local/bin/sxm-player -U myusername -P mypassword &
so it gets executed upon bootup.
Thank you in advance.
btw, if you need SXM credentials I can provide them for you.
Oh, my, did I really do that? The older I get the smarter I used to be.
Off the top of my head, I'm not sure what happened here. What is your evidence that the sxm client "isn't loading"?
How about doing the following:
Step 1. Try starting sxm-player from the command line and post the results. E.g.,
Code:
/usr/local/bin/sxm-player -U myusername -P mypassword
If this succeeds, then ensure the line is correct in /etc/rc.local and go to step 2., else stop. My guess is that if this step fails, then you're using incorrect credentials, but there could be bit rot in the 2-year old sxm-player code.
Step 2. Reboot, run the following from the command line, and post the results
Code:
grep -i sxm /var/log/syslog
[Above edited to fix typo}
You should see roughly the same messages as in step 1. I don't (yet) have a guess why step 1 might succeed and step 2 fail.
Be sure to obscure your actual SXM username and password when you post results.
Regards,
Kent