Launch JAR on Startup without being logged in Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election Results Why I closed the “Why is Kali so hard” questionHow to prevent shutdown when an SSH user is logged in?Make a “java -jar file.jar” run at startupRun jar file on startup as root without passwordRun jar on startup in all *nix based systemsaccess to USB drive broken after changing uidlinux run jar on startup after mysql is runningJAR file terminates unexpectedly without errorBest way to start a service as a different user?Problem with gnome-tweak-tool running from applications menuExecuting .jar File on Startup

What would be the ideal power source for a cybernetic eye?

How do I mention the quality of my school without bragging

"Seemed to had" is it correct?

What makes black pepper strong or mild?

What do you call a plan that's an alternative plan in case your initial plan fails?

Is there a service that would inform me whenever a new direct route is scheduled from a given airport?

Storing hydrofluoric acid before the invention of plastics

Models of set theory where not every set can be linearly ordered

Should I call the interviewer directly, if HR aren't responding?

If a contract sometimes uses the wrong name, is it still valid?

How does a Death Domain cleric's Touch of Death feature work with Touch-range spells delivered by familiars?

Why is black pepper both grey and black?

How to motivate offshore teams and trust them to deliver?

Why are there no cargo aircraft with "flying wing" design?

ListPlot join points by nearest neighbor rather than order

How do I keep my slimes from escaping their pens?

Is a manifold-with-boundary with given interior and non-empty boundary essentially unique?

Do I really need recursive chmod to restrict access to a folder?

Why don't the Weasley twins use magic outside of school if the Trace can only find the location of spells cast?

Using et al. for a last / senior author rather than for a first author

Right-skewed distribution with mean equals to mode?

Do you forfeit tax refunds/credits if you aren't required to and don't file by April 15?

Antler Helmet: Can it work?

How to find all the available tools in macOS terminal?



Launch JAR on Startup without being logged in



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionHow to prevent shutdown when an SSH user is logged in?Make a “java -jar file.jar” run at startupRun jar file on startup as root without passwordRun jar on startup in all *nix based systemsaccess to USB drive broken after changing uidlinux run jar on startup after mysql is runningJAR file terminates unexpectedly without errorBest way to start a service as a different user?Problem with gnome-tweak-tool running from applications menuExecuting .jar File on Startup



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








-1















I programmed a JavaFX application which acts as a survey form. Users are able to enter their data with a mouse and keyboard. The OS is Ubuntu.



The app itself always maxes out the screen and also block possible key kombinations so it should not be possible to exit the application. But to prevent any users from coming in contact with the Ubuntu OS in the background, I would like the java program to automatically start up at boot without requiring the user to login and also automatically restart incase something goes wrong and the process gets killed.
How would you realise this? The java program needs to access printing and standard file handling services. Is this even possible without being logged in?










share|improve this question







New contributor




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




















  • So you're telling me the user can't CTRL-ALT-F1 to another TTY?

    – Panki
    Apr 12 at 7:12

















-1















I programmed a JavaFX application which acts as a survey form. Users are able to enter their data with a mouse and keyboard. The OS is Ubuntu.



The app itself always maxes out the screen and also block possible key kombinations so it should not be possible to exit the application. But to prevent any users from coming in contact with the Ubuntu OS in the background, I would like the java program to automatically start up at boot without requiring the user to login and also automatically restart incase something goes wrong and the process gets killed.
How would you realise this? The java program needs to access printing and standard file handling services. Is this even possible without being logged in?










share|improve this question







New contributor




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




















  • So you're telling me the user can't CTRL-ALT-F1 to another TTY?

    – Panki
    Apr 12 at 7:12













-1












-1








-1








I programmed a JavaFX application which acts as a survey form. Users are able to enter their data with a mouse and keyboard. The OS is Ubuntu.



The app itself always maxes out the screen and also block possible key kombinations so it should not be possible to exit the application. But to prevent any users from coming in contact with the Ubuntu OS in the background, I would like the java program to automatically start up at boot without requiring the user to login and also automatically restart incase something goes wrong and the process gets killed.
How would you realise this? The java program needs to access printing and standard file handling services. Is this even possible without being logged in?










share|improve this question







New contributor




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












I programmed a JavaFX application which acts as a survey form. Users are able to enter their data with a mouse and keyboard. The OS is Ubuntu.



The app itself always maxes out the screen and also block possible key kombinations so it should not be possible to exit the application. But to prevent any users from coming in contact with the Ubuntu OS in the background, I would like the java program to automatically start up at boot without requiring the user to login and also automatically restart incase something goes wrong and the process gets killed.
How would you realise this? The java program needs to access printing and standard file handling services. Is this even possible without being logged in?







ubuntu permissions java startup






share|improve this question







New contributor




Jas On 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




Jas On 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






New contributor




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









asked Apr 11 at 20:08









Jas OnJas On

1




1




New contributor




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





New contributor





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






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












  • So you're telling me the user can't CTRL-ALT-F1 to another TTY?

    – Panki
    Apr 12 at 7:12

















  • So you're telling me the user can't CTRL-ALT-F1 to another TTY?

    – Panki
    Apr 12 at 7:12
















So you're telling me the user can't CTRL-ALT-F1 to another TTY?

– Panki
Apr 12 at 7:12





So you're telling me the user can't CTRL-ALT-F1 to another TTY?

– Panki
Apr 12 at 7:12










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
);



);






Jas On 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%2f511986%2flaunch-jar-on-startup-without-being-logged-in%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








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









draft saved

draft discarded


















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












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











Jas On 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%2f511986%2flaunch-jar-on-startup-without-being-logged-in%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

getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

NetworkManager fails with “Could not find source connection”Trouble connecting to VPN using network-manager, while command line worksHow can I be notified about state changes to a VPN adapterBacktrack 5 R3 - Refuses to connect to VPNFeed all traffic through OpenVPN for a specific network namespace onlyRun daemon on startup in Debian once openvpn connection establishedpfsense tcp connection between openvpn and lan is brokenInternet connection problem with web browsers onlyWhy does NetworkManager explicitly support tun/tap devices?Browser issues with VPNTwo IP addresses assigned to the same network card - OpenVPN issues?Cannot connect to WiFi with nmcli, although secrets are provided