Jump to content

Autologin and autostart application


gogoer
 Share

Recommended Posts

Hello.

I need to boot armbian without logs and start my application.

I rebuilt and configured uboot and create splash screen with plymouth, so i have no any logs on screen until os boots.

I use autologin by NODM, but after splash screen login string appears for a second.  Can i disable this output?

And the next question: how can i start my gui application without starting desktop?

Link to comment
Share on other sites

When discussing a problem make sure to provide full logs!

7 hours ago, gogoer said:

Hello.

I need to boot armbian without logs and start my application.

I rebuilt and configured uboot and create splash screen with plymouth, so i have no any logs on screen until os boots.

I use autologin by NODM, but after splash screen login string appears for a second.  Can i disable this output?

And the next question: how can i start my gui application without starting desktop?

I think kde and gnome both have a kiosk mode which is to just run one app and not allow the user to quit it etc

Link to comment
Share on other sites

Autologin root and running xinit?

 

Edit autologin for root

vim /etc/systemd/system/getty.target.wants/getty@tty1.service

ExecStart=-/sbin/agetty -a root -o '-p -- \\u' --noclear %I $TERM

 

vim /etc/passwd

replace your root login infomation as

root::0:0:root:/root:/bin/bash

That means you don't have root password

 

vim /root/.profile

 

add running application command to last line, like

xinit <name>

Make sure xserver on your device

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...