Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1583

Running the GTK application automatically after boot process.

$
0
0

Hi i am using the Yocto Linux 2.0 Linux distribution given in https://elinux.org/RZ-G/Boards/Yocto_2.0.  I tried to run the gtk3-demo application present in the /usr/bin/ folder, I am able to run it manually. But i want to run it automatically after boot complete. I tried couple of solution given in Internet like write our own script i.e. rc.local and add the script in /etc/init.d folder. But i didn't find any success. please assist me in writing the startup script that loads the gtk application after boot process complete.

Note:

1. I am using the weston yocto image in RZG1M starter kit.

2. In the rc.local script i mentioned /usr/bin/gtk3-demo & line alone nothing else.

3. I tried to put the same line in the scripts present in the init.d folder and and i find the error in the boot log window that gtk unable to find the display, it means that at that point of time may be weston is not yet running.


Viewing all articles
Browse latest Browse all 1583

Trending Articles