Auto login/auto launch app

General PhidgetSBC Discussion.
Post Reply
abraddon
Fresh meat
Posts: 1
Joined: Sun Aug 22, 2021 8:08 pm
Contact:

Auto login/auto launch app

Post 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.
User avatar
Patrick
Lead Developer
Posts: 634
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Auto login/auto launch app

Post 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
whodeee
Phidgetsian
Posts: 5
Joined: Wed May 03, 2017 9:27 am
Contact:

Re: Auto login/auto launch app

Post by whodeee »

Any update on how to get this going?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest