LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-12-2006, 03:16 PM   #1
thort
Member
 
Registered: Nov 2003
Location: Sweden
Distribution: Linux Mint Cinnamon 19
Posts: 208

Rep: Reputation: 42
Autostart programs at system startup


In Windows there is the possibility to autostart program at system startup.

Is there such a feature in linux?

Or, is there some application to install to get this option?
 
Old 02-12-2006, 03:43 PM   #2
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Arch Slackware Ubuntu
Posts: 1,081

Rep: Reputation: 51
If you are using KDE, then try saving your current session and that should do what you want. I imagine that there is a similar tool in Gnome.
 
Old 02-12-2006, 03:54 PM   #3
accessrichard
Member
 
Registered: Apr 2005
Distribution: Fedora Core (latest version)
Posts: 156

Rep: Reputation: 30
There are a few posts on this forum about this topic.

For example with KDE

http://www.linuxquestions.org/questi...d.php?t=413137

and most desktop environment have similar ways to start programs when you load your desktop such as there is an option in one of the Gnome controls that allows ou to save your session.

There are also different ways to start programs while the operating system loads.

Google search for the
rc.local or the .bashrc files

Last edited by accessrichard; 02-12-2006 at 03:59 PM.
 
Old 02-12-2006, 04:08 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Furthermore, Linux comes with a very complete and configurable set of scripts that can be used to start things at boot time (as opposed to login time). I suggest you research the init program and how it works. Since you're using Ubuntu, your system uses System V style initialization.
 
Old 02-12-2006, 04:19 PM   #5
thort
Member
 
Registered: Nov 2003
Location: Sweden
Distribution: Linux Mint Cinnamon 19
Posts: 208

Original Poster
Rep: Reputation: 42
Thanks esteeven, accessrichard and btmiller for your replies!

I will look further into your suggestions tomorrow.

I will post back and tell the result.

Goodnight!
 
Old 02-13-2006, 02:10 PM   #6
thort
Member
 
Registered: Nov 2003
Location: Sweden
Distribution: Linux Mint Cinnamon 19
Posts: 208

Original Poster
Rep: Reputation: 42
Hi again!

In my gnome Ubuntu, under System -> Preferences -> Sessions, I found the option to add programs to start at system startup.

Very good! Here I can add whatever I want, as long as the program doesn't need to have root privileges.

I'm satisfied.

Once again, thank you for your hints!
 
  


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
autostart programs at login asgari22 Fedora 7 01-31-2005 04:12 PM
X autostart programs on userless sytem? Darktyco Linux - Software 6 08-03-2004 03:31 PM
Autostart Programs (Xscreensaver) When Starting Blackbox Ian Linux - Software 0 05-09-2004 03:05 PM
autostart programs mcd Slackware 1 09-12-2003 04:58 PM
autostart iptables script on system startup step Linux - Networking 2 03-21-2003 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:28 PM.

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
Open Source Consulting | Domain Registration