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