Ubuntu: How to autostart application for non-root user on tty1


I want to start EGLFS application (i.e. it outputs directly to /dev/fb0 using OpenGL ES GPU acceleration) and udiskie -2 -a daemon.

I don't know whether screen for former app is strongly connected to a tty? from which I login or no. So I think we can avoid this restriction if possible.

I want to start these applications from simple non-root user uid=1000,gid=1000. On Ubuntu Desktop I used ~/.config/upstart/*.conf file and automatic login to graphic session to achieve desired, but what to do on Ubuntu Server?

I don't want to provide command line to terminal as here, just "hidden" login for user user if needed.

What is the best way to do this?

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »