Hi everyone
I am working with an ARMStone a9 board which has iMX6 linux kernel. I am doing an embedded application in which I have to show a video from Ipcamera. The thing is that I attached the screen to my board, I switch my board on, I login as root, I start the Xserver("startx &"), and then I run my application and everything is works properly.
My problem is because I want that when I switch my board on the Xserver run automatically. I do an script in which I execute the command "startx &", but it does start.
I have been investigated and I find out that the Xserver should be run as root, then I think that when the script starts and run the Xserver run it without root privileges then run wrong.
But I do not know how can I run the Xserver as root and if is possible in automatically way, with a script.
Thanks guys