AnkyB
AnkyB

Reputation: 21

How to run qt qml application on startup

I am using A20lime2 board with linux os. I have created qt qml desktop application .I am able to run application manually when system is fully booted. I want to run this gui application on startup without showing bootup msg and linux home page. I have searched a lot for this, I tried different ways but didn't get it working.

1) I have tried simplest way that is calling application in rc.local, this is working for python scripts but not for qt qml application

2) tried creating service in /etc/init.d and calling that script in rc.local but not getting anything. when I call my service manually using start and stop command I get error "job for xyz service failed. see 'systemctl status xyz service' and 'journalctl -xn' for details." when I run 'systemctl status xyz service' , I get error "Active : failed...." and "Failed to start LSB: log file hand...." for journalctl -xn'

3) followed this procedure https://debian-administration.org/article/28/Making_scripts_run_at_boot_time_with_Debian getting no error but it is not running on startup.

Is there any other way ? or am I doing anything wrong ?

Upvotes: 1

Views: 874

Answers (0)

Related Questions