1

I want to start only one application without any desktop after booting the system, it is like only application should be there not anything in RHEL 6.

  • Not even the application for bringing up the network? – Ignacio Vazquez-Abrams May 17 '13 at 10:48
  • Is this an X application or a terminal application? – Hauke Laging May 17 '13 at 17:32
  • @jasonwryan to do my requirement where i have to login, i.e. root or user mode? – subbarao May 18 '13 at 7:01
1

OP clarified in a comment that the idea is to launch the application on login, not on boot.

Look for ~/.xinitrc (this file normally doesn't exist, X starts /etc/X11/xinitrc as a fallback here on Fedora, it might do differently on other distributions). That file determines what applications to start by default. Depending on the desktop environment configured for the account, other startup files could come into play.

Be careful, playing with this could lock the account out for good.

  • Starting an application as root-user after login? Sick... But RHEL6 should behave like Fedora. – Nils May 17 '13 at 13:38
  • @Nils, who said the user logging in and launching the application has to be root? – vonbrand May 17 '13 at 13:51
  • @vonbrand, Thank you for your reply. My doubt is in which i have to start application after login i.e. root mode or user mode. – subbarao May 18 '13 at 8:11
0

If your application has a proper init-script: chkconfig application on

The default-runlevel can be set to 3 (multiuser without GUI).

  • Thank you Nils, my requirement is when i logged into system in the root/user mode it should display the application and nothing else. no desktop is required. – subbarao May 17 '13 at 11:07

Not the answer you're looking for? Browse other questions tagged or ask your own question.