LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 05-17-2013, 05:16 AM   #1
subbulinux
LQ Newbie
 
Registered: Nov 2012
Posts: 9

Rep: Reputation: Disabled
how to start single application without desktop or anything after booting?


i want to start one application without desktop or anything after booting the system?
 
Old 05-17-2013, 05:29 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,133
Blog Entries: 2

Rep: Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836
What exactly do you want to achieve? Should it start automatically? If so, directly after boot or when you log in?
 
Old 05-17-2013, 06:02 AM   #3
subbulinux
LQ Newbie
 
Registered: Nov 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
thank you for your reply
when i login into system it should start my application and i don't want anything else.its like how our ATM machine works.
 
Old 05-17-2013, 06:19 AM   #4
ali.abry
Member
 
Registered: Feb 2013
Posts: 74

Rep: Reputation: Disabled
you can use .bashrc & .bash_profile that reside in your home directory . if they didn't exist you can make one.
http://www.linuxquestions.org/questi...-login-659485/
 
1 members found this post helpful.
Old 05-17-2013, 06:29 AM   #5
subbulinux
LQ Newbie
 
Registered: Nov 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
can i have my requirement in root login?
 
Old 05-17-2013, 06:34 AM   #6
RudraB
Member
 
Registered: Mar 2007
Distribution: Fedora
Posts: 263

Rep: Reputation: 23
if you are in gnome, you can use gnome-session-properties to check what you want
 
Old 05-17-2013, 06:40 AM   #7
subbulinux
LQ Newbie
 
Registered: Nov 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
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.
 
Old 05-17-2013, 06:43 AM   #8
RudraB
Member
 
Registered: Mar 2007
Distribution: Fedora
Posts: 263

Rep: Reputation: 23
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?
 
Old 05-17-2013, 07:18 AM   #9
Habitual
LQ Addict
 
Registered: Jan 2011
Posts: 8,258
Blog Entries: 11

Rep: Reputation: 2290Reputation: 2290Reputation: 2290Reputation: 2290Reputation: 2290Reputation: 2290Reputation: 2290Reputation: 2290Reputation: 2290Reputation: 2290Reputation: 2290
"applications" is Windows terminology.
 
Old 05-17-2013, 04:16 PM   #10
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 5,127
Blog Entries: 10

Rep: Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825
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.
 
1 members found this post helpful.
Old 05-17-2013, 10:40 PM   #11
subbulinux
LQ Newbie
 
Registered: Nov 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
@rudra

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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Application start via single click hike Linux - Newbie 3 04-05-2013 12:08 PM
'gnome-volume-manager.desktop': Unable to start application cccc Debian 5 04-25-2011 10:43 AM
how do I start a gui application and the Desktop on a remote computer threw ssh lindylex Linux - General 4 04-21-2009 08:00 AM
Single application use robl Linux - General 4 02-11-2009 01:19 PM
Booting into Single User on MDK 9 asks for root password instead of booting into root acadcworks Linux - General 6 01-10-2006 06:51 AM


All times are GMT -5. The time now is 12:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration