how to start single application without desktop or anything after booting?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
thank you rudra,
i am using rhel6.0 and i am working in root mode.now i have one gui application.so that when i logged into system this application should start and not anything i.e. only one application at a time.and if close it, it should logout.its like how atm machine works.i am using gnome.whether i have to do all the thing in root or i have to choose user mode.
subbulinux,
Think of a situation: Say, as soon as your user is logged in, you want Skype to start.
But then, do you want, if you close skype, the user should logout? Do you mean this?
To answer the original question, you can add a script to run your program in the /etc/init.d directory and place a symbolic link in the /etc/rcS.d tree.
And further modify the boot of Linux to not load any user interface.
This is very common for an embedded system where there either is no GUI or the visual output is LED's or a custom screen.
thank u for ur reply,
yes after login from root/user it should display an application like what u told(skype) and after that if i close the application the user should logout.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.