Re: [SLUG] run levels in debian/ubuntu
On Wed, 2005-04-06 at 14:30 +1000, James wrote: > The problem is that when I apt-get upgrade it restores the default > runlevels and starts the daemons. How can I get the runlevels to stay > at my settings across an apt-get upgrade ? Yes, this is one of my pet hates about Debian. I guess the logic is that if you're installing it you want it to run! Sorry, don't know how to fix it though. You might need to write your own post installation script that removes these links. -- Simon Wong <[EMAIL PROTECTED]> Wongy.org -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] run levels in debian/ubuntu
Hi, On my desktop I use update-rc.d to delete all the default symlinks when I install something that I may not want to use all the time eg.. http server or ftp server and just manually start it with /etc/init.d/blah start when I need it. The problem is that when I apt-get upgrade it restores the default runlevels and starts the daemons. How can I get the runlevels to stay at my settings across an apt-get upgrade ? I have tried update-rc.d blah stop 0 1 2 3 4 5 6 . but when I apt-get upgrade it just restores the default symlinks again thanks. -- James -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Run levels....
On Sun, 30 Jun 2002, Heracles wrote: > On Friday 28 June 2002 15:42, DaZZa wrote: > > On Fri, 28 Jun 2002, dan wrote: > > > I am trying to work out how to configure my Linux box to boot up in > > > console mode > > > > Since you're running SuSE, as root run yast and go to: > System Administration -> login configuration > Then selecy ascii rather than graphical. Hmmm, didn't know that one. You learn soemthing every day. :-) DaZZa -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Run levels....
On Friday 28 June 2002 15:42, DaZZa wrote: > On Fri, 28 Jun 2002, dan wrote: > > I am trying to work out how to configure my Linux box to boot up in > > console mode Since you're running SuSE, as root run yast and go to: System Administration -> login configuration Then selecy ascii rather than graphical. stay well and happy Heracles -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Run levels....
At 28 Jun 2002 15:17:38 +1000, Tony Green wrote: > On Fri, 2002-06-28 at 15:04, dan wrote: > > I am trying to work out how to configure my Linux box to boot up in console > > mode rather than load up X Windows (KDE). Is this something to do with the > > runlevels? If so then does anyone know how I permanently set this? > > Look for a line like this : > # The default runlevel. > id:2:initdefault: > > In /etc/inittab. The number is the default run level. (mainly for the archives) on a Debian system, the runlevels are all identical (by default). if you don't want to run xdm/kdm/gdm on a Debian system, just don't install them (or remove them if you already have). (either "apt-get remove xdm" or "dpkg --remove xdm") -- - Gus -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
RE: [SLUG] Run levels....
A flexible way is from your bootloader >From lilo the prompt you can type: linux 3 to initiate with runlevel 3 (default) linux 5 to initiate runlevel 5 (X) (I assume that an `append "3"' command to lilo.conf makes this permanent I'm sure you can do something similar in grub Martin Visser Network Consultant - Global Services COMPAQ, part of the new HP 3 Richardson Place North Ryde, Sydney NSW 2113, Australia Phone *: +61-2-9022-1670Mobile *: +61-411-254-513 Fax 7: +61-2-9022-1800 E-mail * : martin.visserAThp.com -Original Message- From: dan [mailto:[EMAIL PROTECTED]] Sent: Friday, 28 June 2002 3:05 PM To: [EMAIL PROTECTED] Subject: [SLUG] Run levels Hi, I am trying to work out how to configure my Linux box to boot up in console mode rather than load up X Windows (KDE). Is this something to do with the runlevels? If so then does anyone know how I permanently set this? Can anyone point me in the right direction? Thanks Dan -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Run levels....
On Fri, 28 Jun 2002, dan wrote: > I am trying to work out how to configure my Linux box to boot up in console > mode rather than load up X Windows (KDE). Is this something to do with the > runlevels? If so then does anyone know how I permanently set this? > > Can anyone point me in the right direction? Since you're running SuSE, do this as root cd /etc edit the file rc.config Find the line whichr eads CHECK_INITTAB="yes" Change it to read CHECK_INITTAB="no" Save the file. Then edit the file inittab - also in the /etc directory find the line which reads id:5:initdefault: Change this to read id:3:initdefault Save the file. Then type SuSEconfig as root, and let it do its thing. Viola. Shutdown, reboot, and you should come up in console mode instead of X. DaZZa -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Run levels....
dan wrote: > > Hi, > > I am trying to work out how to configure my Linux box to boot up in console > mode rather than load up X Windows (KDE). Is this something to do with the > runlevels? If so then does anyone know how I permanently set this? > > Can anyone point me in the right direction? Yes, run levels. Look in your /etc/inittab. That's probably where X is being started from. On my system: # Run xdm in runlevel 5 # xdm is now a separate service x:5:respawn:/etc/X11/prefdm -nodaemon X starts in runlevel 5. If I then change: id:5:initdefault: to: id:3:initdefault: My machine would boot into runlevel 3 rather than 5, ensuring that X doesn't start. Whilst booted, you could type as root: init 3 which would stop X in my case. - knet -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Run levels....
On Fri, Jun 28, 2002 at 03:04:31PM +1000, dan wrote: > I am trying to work out how to configure my Linux box to boot up in console > mode rather than load up X Windows (KDE). Is this something to do with the > runlevels? If so then does anyone know how I permanently set this? Change the `initdefault' entry in /etc/inittab to make run level 3 the default: [johnc@dropbear ~]$ grep :initdefault /etc/inittab id:3:initdefault: The number, `3' in this case, is the default run level. Cheers, John -- whois [EMAIL PROTECTED] GPG key id: 0xD59C360F http://kirriwa.net/john/ -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Run levels....
On Fri, 2002-06-28 at 15:04, dan wrote: > Hi, > > I am trying to work out how to configure my Linux box to boot up in console > mode rather than load up X Windows (KDE). Is this something to do with the > runlevels? If so then does anyone know how I permanently set this? > > Can anyone point me in the right direction? > Look for a line like this : # The default runlevel. id:2:initdefault: In /etc/inittab. The number is the default run level. -- Tony Green <[EMAIL PROTECTED]> Tel : +61-(0)2-9500-9996 signature.asc Description: This is a digitally signed message part
[SLUG] Run levels....
Hi, I am trying to work out how to configure my Linux box to boot up in console mode rather than load up X Windows (KDE). Is this something to do with the runlevels? If so then does anyone know how I permanently set this? Can anyone point me in the right direction? Thanks Dan -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] run levels
On Wed, 24 Apr 2002, Mick Howe wrote: > I need to change the default run level in redhat 7.1 for a while. > > how do I do it? edit /etc/inittab Look for the bit which looks something like id:3:initdefault change the "3" bit to whatever run level you want. DaZZa -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] run levels
you need to change /etc/inittab The link http://www.tldp.org/LDP/sag/x2111.html might be helpful. On Wed, 24 Apr 2002 11:11:02 +1000 Mick Howe <[EMAIL PROTECTED]> wrote: > I need to change the default run level in redhat 7.1 for a while. > > how do I do it? -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] run levels
I need to change the default run level in redhat 7.1 for a while. how do I do it? /\/\ick -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug