Page 1 of 1

Auto login/auto launch app

Posted: Sun Aug 22, 2021 8:17 pm
by abraddon
Hi team,

I have an SBC4 and have installed mono, done the C# development work on the SBC itself via Monitor and keyboard. All is good, I can successfully do the whole mono Program.exe and everything works as expected.

Now I need this application to automatically run on reboot. I have used a cronjob @reboot to get this done and it appears to work but it seems to run behind the login prompt;

download/file.php?id=967&mode=view

My program captures keyboard input so the user is not able to interact with my application while the login prompt is showing.

Question, how can I have it so the SBC4 automatically logs in as root on reboot? I have tried editing the /etc/inittab file with every possible combination I can think of but can't seem to get it to bypass/auto login.

Any help would be greatly appreciated, thanks.

Re: Auto login/auto launch app

Posted: Mon Aug 23, 2021 12:34 pm
by Patrick
This is more a general Debian question than SBC4, but some googling turns up this (I didn't test): https://unix.stackexchange.com/question ... mmand-line

-Patrick

Re: Auto login/auto launch app

Posted: Fri Apr 22, 2022 9:31 am
by whodeee
Any update on how to get this going?