Re: [gentoo-user] Gnome 2.4 starting at level 3
LoneStar wrote: > I use kdm and start it as the last thing by adding these lines to the > /etc/conf.d/locat.start file ... [snip] > So, as you said, everything starts without the overhead of X. This is absolutely ridiculous. Either you have no idea how Linux and specifically Gentoo works, or, you are a complete moron. Sorry about the last, but telling people to add kdm to local.start doesn't: a) keep X from starting. kdm USES X. b) Even if kdm didn't use X, adding kdm to local.start is no solution. You should make a new runlevel. # mkdir /etc/runlevels/i_hate_x # cp /etc/runlevels/default/* /etc/runlevels/i_hate_x # rc-update del xdm default Now, when you start your box, X (gdm, kdm, xdm) won't start. If you want to switch runlevels do: # rc i_hate_x For more info, please got to http://www.gentoo.org/ and read Gentoo's documentation about runlevels and init scripts. HTH, Norberto -- Linux 2.6.1-mm5 Pentium III (Coppermine) GenuineIntel GNU/Linux 08:47:11 up 1 day, 6:19, 1 user, load average: 0.25, 0.23, 0.14 pgp0.pgp Description: signature
Re: [gentoo-user] Gnome 2.4 starting at level 3
On Tuesday 27 January 2004 09:19, LoneStar wrote: > I use kdm and start it as the last thing by adding these lines to the > /etc/conf.d/local.start file ... > > echo Starting the Window manager ... > /usr/kde/3.1/bin/kdm > > So, as you said, everything starts without the overhead of X. How exactly does it start without X overhead? When you start kdm, you also start X. Kdm runs within X. If you look at the xdm init script you'll notice that if you set the DISPLAYMANAGER variable to kdm (in /etc/rc.conf), the init script does the exact same thing as your /etc/init.d/local.start file. Or have I completely misunderstood what you meant? -- Jani-Matti Hätinen -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Gnome 2.4 starting at level 3
Kurt Guenther wrote: I did an: rc-update del xdm and removed it. How do I add it to runlevel 4? No man page. "rc-update" seems to indicate that rc-update add runlevel4 might work, but it doesn't. --Kurt I use kdm and start it as the last thing by adding these lines to the /etc/conf.d/locat.start file ... echo Starting the Window manager ... /usr/kde/kde/3.1/bin/kdm So, as you said, everything starts without the overhead of X. -- Johnny Sistumz injunear -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Gnome 2.4 starting at level 3
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 23 January 2004 19:35, Kurt Guenther wrote: > My inittab is set to just come up as level 3, so I don't incure the > overhead of an X session that I don't use. However, after the latest > sync, the system boots into a beautiful Gentoo Login screen. How do I > switch levels on this? Gentoo doesn't start, or not-start, X by init runlevels. If the xdm init script is set to start it will start. rc-update del xdm/rc-update add xdm default - -- Mike Williams -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFAEXwQInuLMrk7bIwRAgSoAJ448fONbQ/wML2yoaptzMBEVqI7jwCfVSCi sPnVv79uwMQiBPYqgl+NzDc= =GaIH -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Gnome 2.4 starting at level 3
On Saturday January 24 2004 07:04 am, Kurt Guenther wrote: > I did an: > >rc-update del xdm > > and removed it. How do I add it to runlevel 4? No man page. > "rc-update" seems to indicate that > > rc-update add runlevel4 > > might work, but it doesn't. > > --Kurt You might want to have a read of the rc-scripts guide: http://www.gentoo.org/doc/en/rc-scripts.xml Gentoo uses virtual runlevels -- have a look in /etc/runlevels/ What I think you want to do is something like this: bacuhec # mkdir /etc/runlevels/gui bacuhec # cp -P /etc/runlevels/default/* /etc/runlevels/gui/ bacuhec # rc-update add xdm gui * xdm added to runlevel gui * Caching service dependencies... [ ok ] * rc-update complete. And then to change to the gui runlevel type: bacuhec # rc gui and back: bacuhec # rc default To make init 4 work, go to /etc/inittab and change the line: 4:4:wait:/sbin/rc default to 4:4:wait:/sbin/rc gui and you can then use `init 4' and such to change runlevel. HTH -Eric -- Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining. -- Jeff Raskin -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Gnome 2.4 starting at level 3
Kurt Guenther wrote: My inittab is set to just come up as level 3, so I don't incure the overhead of an X session that I don't use. However, after the latest sync, the system boots into a beautiful Gentoo Login screen. How do I switch levels on this? --Kurt Gentoo doesn't use numbered levels but aliases instead. Do ´rc-update del xdm´ and check mail archives for further info. -- .signature: No such file or directory -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Gnome 2.4 starting at level 3
I did an: rc-update del xdm and removed it. How do I add it to runlevel 4? No man page. "rc-update" seems to indicate that rc-update add runlevel4 might work, but it doesn't. --Kurt Kurt Guenther wrote: My inittab is set to just come up as level 3, so I don't incure the overhead of an X session that I don't use. However, after the latest sync, the system boots into a beautiful Gentoo Login screen. How do I switch levels on this? --Kurt -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Gnome 2.4 starting at level 3
In Gentoo, the run levels are not numbers; they have names like default, nonetwork, boot, etc. To check the services available in what levels run rc-update -s X (and xdm/gdm/kdm) is not a run level, but a service (xdm). To start automatically X, you do rc-update add xdm default To remove it rc-update del xdm Canek On Fri, 2004-01-23 at 13:35, Kurt Guenther wrote: > My inittab is set to just come up as level 3, so I don't incure the > overhead of an X session that I don't use. However, after the latest > sync, the system boots into a beautiful Gentoo Login screen. How do I > switch levels on this? > > --Kurt > > > > -- > [EMAIL PROTECTED] mailing list -- Satire is what closes in New Haven. signature.asc Description: This is a digitally signed message part
[gentoo-user] Gnome 2.4 starting at level 3
My inittab is set to just come up as level 3, so I don't incure the overhead of an X session that I don't use. However, after the latest sync, the system boots into a beautiful Gentoo Login screen. How do I switch levels on this? --Kurt -- [EMAIL PROTECTED] mailing list