This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Linux / UNIX and the fly likes Starting application on startup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Starting application on startup" Watch "Starting application on startup" New topic
Author

Starting application on startup

Chiranjeevi Kanthraj
Ranch Hand

Joined: Feb 18, 2008
Posts: 289

Hi all
I have one thing in my mind.
i want my application should start on boot up.
and i user can not use that Computer except for my application like ATM's


-Chiru
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16022
    
  20

There are a number of ways to start an app on boot. Two of the most popular are to place the command in the /etc/rc.local file or to make an /etc/init.d script. The init.d scripts are used for system which can be started/stopped/restarted, so you probanbly don't need that.

If you're looking to set up a kiosk-style system, you'll probably want to disable the normal user login facilities. It requires a fair amount of work if you want it to work properly and securely. I'd Google for "linux kiosk". You'll probably find some good how-to's.


Customer surveys are for companies who didn't pay proper attention to begin with.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8877
    
    8

You are looking for a "kiosk". Many applications have a "kiosk mode" which limits the display, for exampleFirefox Kiosk Mode.
The ATM's that I've worked on physically secured the PC in a safe along with the primary display and keyboard. The keyboard and external display only became active after the PC had fully booted and the application initialized to prevent the user from entering commands or seeing the boot sequence.
Depending on the keyboard you expose to the user, you may have to write hardware interrupt handlers to prevent the use of "magic keys", like CTRL-ALT-DEL and so on.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Chiranjeevi Kanthraj
Ranch Hand

Joined: Feb 18, 2008
Posts: 289

Thank for the Inputs
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Starting application on startup