Configure Raspberry pi for my application to start on bootqemu emulator for raspberryHow do I get 'realpath'...

Where is attribute form widget saved

Is Thieves' Cant a language?

Setting up a Mathematical Institute of Refereeing?

Help, I cannot decide when to start the story

Telephone number in spoken words

Why did IBM make the PC BIOS source code public?

Lípínguapua dopo Pêpê

Will using a resistor in series with a LED to control its voltage increase the total energy expenditure?

Would the USA be eligible to join the European Union?

Is there a word for returning to unpreparedness?

How can I communicate my issues with a potential date's pushy behavior?

Stop email from sending using AMPscript

How much can I judge a company based on a phone screening?

What would cause a nuclear power plant to break down after 2000 years, but not sooner?

What unique challenges/limitations will I face if I start a career as a pilot at 45 years old?

Is the Microsoft recommendation to use C# properties applicable to game development?

What is the hottest thing in the universe?

When was "Fredo" an insult to Italian-Americans?

If a person claims to know anything could it be disproven by saying 'prove that we are not in a simulation'?

Why do my bicycle brakes get worse and feel more 'squishy" over time?

What if a restaurant suddenly cannot accept credit cards, and the customer has no cash?

Unconventional examples of mathematical modelling

Is there a fallacy about "appeal to 'big words'"?

How can I find files in directories listed in a file?



Configure Raspberry pi for my application to start on boot


qemu emulator for raspberryHow do I get 'realpath' to find my symbolic link?Start application in x-server session from external terminal?Have Raspberry Pi and Server occasionally ping each other to check statusStart SWT application after system start






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I have created an application through Python that has library dependencies on Qt4, pyqt4, pyqtgraph etc. This application is based on Raspberry Pi, I have developed and finished it on the platform.



I want to configure Raspberry Pi to only run that one single application. When I power the Raspberry Pi, it should not go to desktop but run the application (eventually only use necessary packages,library etc).



I have been looking around on different forums on how people do it, but it's not what I'm exactly looking for. There are also different solutions but it's just a bit confusing, that's why I'm here asking for advice/tips on how to implement that.



So far I've tried sudo /etc/profile and at the end of that file I call python3 /home/pi/test.py where I execute my application.



But I get X cannot connect Server error and Virtual Keyboard Florence is not really registering the button pressed.










share|improve this question









New contributor



Dot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






















  • use /etc/local.rc to start stuff on boot. see: raspberrypi.org/documentation/linux/usage/rc-local.md

    – Bart
    yesterday











  • @Bart Why not use a systemd service?

    – RononDex
    yesterday











  • @RononDex, you can, personal preference here.

    – Bart
    yesterday











  • Why did you install an OS with GUI if you don't intend to use it? Switch to raspbian lite for example

    – Panki
    yesterday






  • 1





    @Bart I see, just personally I would use systemd services when possible, since then its not distro specific (any distro with systemd will work)

    – RononDex
    yesterday


















0















I have created an application through Python that has library dependencies on Qt4, pyqt4, pyqtgraph etc. This application is based on Raspberry Pi, I have developed and finished it on the platform.



I want to configure Raspberry Pi to only run that one single application. When I power the Raspberry Pi, it should not go to desktop but run the application (eventually only use necessary packages,library etc).



I have been looking around on different forums on how people do it, but it's not what I'm exactly looking for. There are also different solutions but it's just a bit confusing, that's why I'm here asking for advice/tips on how to implement that.



So far I've tried sudo /etc/profile and at the end of that file I call python3 /home/pi/test.py where I execute my application.



But I get X cannot connect Server error and Virtual Keyboard Florence is not really registering the button pressed.










share|improve this question









New contributor



Dot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






















  • use /etc/local.rc to start stuff on boot. see: raspberrypi.org/documentation/linux/usage/rc-local.md

    – Bart
    yesterday











  • @Bart Why not use a systemd service?

    – RononDex
    yesterday











  • @RononDex, you can, personal preference here.

    – Bart
    yesterday











  • Why did you install an OS with GUI if you don't intend to use it? Switch to raspbian lite for example

    – Panki
    yesterday






  • 1





    @Bart I see, just personally I would use systemd services when possible, since then its not distro specific (any distro with systemd will work)

    – RononDex
    yesterday














0












0








0








I have created an application through Python that has library dependencies on Qt4, pyqt4, pyqtgraph etc. This application is based on Raspberry Pi, I have developed and finished it on the platform.



I want to configure Raspberry Pi to only run that one single application. When I power the Raspberry Pi, it should not go to desktop but run the application (eventually only use necessary packages,library etc).



I have been looking around on different forums on how people do it, but it's not what I'm exactly looking for. There are also different solutions but it's just a bit confusing, that's why I'm here asking for advice/tips on how to implement that.



So far I've tried sudo /etc/profile and at the end of that file I call python3 /home/pi/test.py where I execute my application.



But I get X cannot connect Server error and Virtual Keyboard Florence is not really registering the button pressed.










share|improve this question









New contributor



Dot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I have created an application through Python that has library dependencies on Qt4, pyqt4, pyqtgraph etc. This application is based on Raspberry Pi, I have developed and finished it on the platform.



I want to configure Raspberry Pi to only run that one single application. When I power the Raspberry Pi, it should not go to desktop but run the application (eventually only use necessary packages,library etc).



I have been looking around on different forums on how people do it, but it's not what I'm exactly looking for. There are also different solutions but it's just a bit confusing, that's why I'm here asking for advice/tips on how to implement that.



So far I've tried sudo /etc/profile and at the end of that file I call python3 /home/pi/test.py where I execute my application.



But I get X cannot connect Server error and Virtual Keyboard Florence is not really registering the button pressed.







python raspberry-pi x-server qt4






share|improve this question









New contributor



Dot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










share|improve this question









New contributor



Dot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share|improve this question




share|improve this question








edited yesterday









Bart

1,2081 gold badge3 silver badges18 bronze badges




1,2081 gold badge3 silver badges18 bronze badges






New contributor



Dot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








asked yesterday









DotDot

11 bronze badge




11 bronze badge




New contributor



Dot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




New contributor




Dot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















  • use /etc/local.rc to start stuff on boot. see: raspberrypi.org/documentation/linux/usage/rc-local.md

    – Bart
    yesterday











  • @Bart Why not use a systemd service?

    – RononDex
    yesterday











  • @RononDex, you can, personal preference here.

    – Bart
    yesterday











  • Why did you install an OS with GUI if you don't intend to use it? Switch to raspbian lite for example

    – Panki
    yesterday






  • 1





    @Bart I see, just personally I would use systemd services when possible, since then its not distro specific (any distro with systemd will work)

    – RononDex
    yesterday



















  • use /etc/local.rc to start stuff on boot. see: raspberrypi.org/documentation/linux/usage/rc-local.md

    – Bart
    yesterday











  • @Bart Why not use a systemd service?

    – RononDex
    yesterday











  • @RononDex, you can, personal preference here.

    – Bart
    yesterday











  • Why did you install an OS with GUI if you don't intend to use it? Switch to raspbian lite for example

    – Panki
    yesterday






  • 1





    @Bart I see, just personally I would use systemd services when possible, since then its not distro specific (any distro with systemd will work)

    – RononDex
    yesterday

















use /etc/local.rc to start stuff on boot. see: raspberrypi.org/documentation/linux/usage/rc-local.md

– Bart
yesterday





use /etc/local.rc to start stuff on boot. see: raspberrypi.org/documentation/linux/usage/rc-local.md

– Bart
yesterday













@Bart Why not use a systemd service?

– RononDex
yesterday





@Bart Why not use a systemd service?

– RononDex
yesterday













@RononDex, you can, personal preference here.

– Bart
yesterday





@RononDex, you can, personal preference here.

– Bart
yesterday













Why did you install an OS with GUI if you don't intend to use it? Switch to raspbian lite for example

– Panki
yesterday





Why did you install an OS with GUI if you don't intend to use it? Switch to raspbian lite for example

– Panki
yesterday




1




1





@Bart I see, just personally I would use systemd services when possible, since then its not distro specific (any distro with systemd will work)

– RononDex
yesterday





@Bart I see, just personally I would use systemd services when possible, since then its not distro specific (any distro with systemd will work)

– RononDex
yesterday










0






active

oldest

votes














Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






Dot is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f535507%2fconfigure-raspberry-pi-for-my-application-to-start-on-boot%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








Dot is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















Dot is a new contributor. Be nice, and check out our Code of Conduct.













Dot is a new contributor. Be nice, and check out our Code of Conduct.












Dot is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f535507%2fconfigure-raspberry-pi-for-my-application-to-start-on-boot%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

Ciclooctatetraenă Vezi și | Bibliografie | Meniu de navigare637866text4148569-500570979m