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;
}
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
New contributor
|
show 1 more comment
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
New contributor
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
|
show 1 more comment
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
New contributor
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
python raspberry-pi x-server qt4
New contributor
New contributor
edited yesterday
Bart
1,2081 gold badge3 silver badges18 bronze badges
1,2081 gold badge3 silver badges18 bronze badges
New contributor
asked yesterday
DotDot
11 bronze badge
11 bronze badge
New contributor
New contributor
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
|
show 1 more comment
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
|
show 1 more comment
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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.
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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