LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-07-2006, 03:01 PM   #1
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
starting service at boot in ubuntu without X


Howdy,

i did a dumb thing today and left ab ubuntu box with my 12 year old sister in law and her it illerate mother. well that's not the dumb thing, it's that i connected a printer up this afternoon and got it runnign fine in cups but i'd stopped the service on boot when i first installed the box and only started cups directly this afternoon and it's still not set to start cups on boot. her account isn't set as an administrator and my ubuntu knowledge isn't great. if i get them to su to my admin account and then sudo something to make the service start on boot, what is that something? no idea what the gui app for this is called and not sure it'd even be allowed to connect to the running X server as it'd be owned by the non admin account...

if someone can tell me the exact console commands so i can tell them, i'd grateful. at least we can add a symlink in there, not sure of the exact paths though.

cheers

Chris

Last edited by acid_kewpie; 10-07-2006 at 03:06 PM.
 
Old 10-08-2006, 08:14 AM   #2
extrasolar
Member
 
Registered: Feb 2004
Location: Northamptonshire, UK
Distribution: Windows XP, Arch Linux
Posts: 131

Rep: Reputation: 16
If it's running ubuntu then I assume that they do actually boot into X? Go to System -> Administration -> Services; the print service should be in there; make sure it's ticked.

Cheers.
 
Old 10-21-2006, 06:31 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Original Poster
Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
yeah cheers, exactly what i didn't ask for...
 
Old 10-21-2006, 07:56 AM   #4
extrasolar
Member
 
Registered: Feb 2004
Location: Northamptonshire, UK
Distribution: Windows XP, Arch Linux
Posts: 131

Rep: Reputation: 16
Well it works for me. Maybe you have to do it with your account or add their account to the 'admin' group.

The service will then start at boot whoever account is logged into as boot time is run as root (for all intents and purposes).

Last edited by extrasolar; 10-21-2006 at 08:00 AM.
 
Old 10-21-2006, 08:11 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Original Poster
Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i just want to know how to do it outside of X. that's all.
 
Old 10-21-2006, 08:38 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Looks like it defaults to /etc/rc2.d/S19cupsys
Just create it as a symlink to /etc/init.d/cupsys
 
Old 10-21-2006, 10:48 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Original Poster
Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
super... just what i needed. thanks.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
starting SSH as a service during boot Flappie_Snappie Linux - Newbie 4 10-06-2006 06:15 PM
stop a service from starting at boot? opaltoad Linux - Newbie 1 06-26-2006 05:59 PM
Won't Boot - Starting Printer Service - Starting CUPS jeansond Linux - Newbie 0 10-11-2004 06:39 PM
starting a service at boot time fallen26 General 5 07-31-2004 12:21 PM
Starting up a service (Postgres) on boot aa2bi Linux - Newbie 1 06-15-2004 05:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:29 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
Open Source Consulting | Domain Registration