![]() |
Re: How to autostart application on boot?
Tried, didn't help... :(
|
Re: How to autostart application on boot?
Hi,
try to put some printf in the application itself, there will be something that crash (maybe). |
Re: How to autostart application on boot?
Quote:
I have followed your advice, that brought me a bit closer to the soulution. It crashes/quits/terminates in following line: Code:
QApplication app(argc, argv) |
Re: How to autostart application on boot?
Quote:
|
Re: How to autostart application on boot?
Hi,
I have got it working, thx to krk969 again :) I have no idea of the reason why, but following file /etc/event.d/imhere didn't work: Code:
start on started hildon-desktopCode:
start on started hildon-desktopCode:
#!/bin/sh |
Re: How to autostart application on boot?
AFAIK your problem is trying to start Qt GUI app as root, which isn't gonna work as root cannot connect to X. This is demonstrated by segfault in QApplicatio init. For GUI app I'd suggest starting your app in Xsession, with su - user -c "/path/to/app" (cannot test exact syntax as posting this on the road).
|
Re: How to autostart application on boot?
Just checked from curiosity,
su user -c "path" does not work in my case, I have just checked all the possible syntax combinations, none of them worked. root does not have access to X? it somehow does not sound right... I thought root have access to anything :) Anyway, I have been running qt applications as a root hundreds of times, it works. Thanks anyway for a tip. |
Re: How to autostart application on boot?
i'm liking the sounds of this interesting app! any teasers? like if i receive a text with the phrase "i want sex" it will auto-reply "be there in ten mins" and set the satnav to the senders adress? :P
|
Re: How to autostart application on boot?
Actually, it is doing that already :)
|
Re: How to autostart application on boot?
this should also work
Quote:
Quote:
|
| All times are GMT. The time now is 22:24. |
vBulletin® Version 3.8.8