Re: [gentoo-user] Booting up without X
On Tuesday 18 December 2007 16:32:26 Albert Hopkins wrote: The way I see it there are two possible solutions: 1. Create a new runlevel, say nox and just don't put xdm in the runlevel. The drawback to this is you have to maintain another runlevel. I don't see what maintenance load this imposes. I have a no-x runlevel for when I don't want a GUI, and since creating it and populating it I've never had to touch it. In practice, it turns out that the only differences between my default and no-x are the presence of gpm in no-x and of xdm and lm_sensors in default. (I use lm_sensors for gkrellm, which of course, although indispensable on the desktop, isn't much use in a character display.) -- Rgds Peter -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Booting up without X
You should just be able to pass the nox kernel command line option at boot, the xdm init script, from baselayout, contains a line which checks the kernel command line for the xdm parameter. -David Original message Date: Tue, 18 Dec 2007 20:16:00 +0400 From: Yahya Mohammad [EMAIL PROTECTED] Subject: [gentoo-user] Booting up without X To: Gentoo mailing list gentoo-user@lists.gentoo.org I want to add a grub menu entry that will load the system without starting gdm, just like the livecd does when the 'nox' kernel parameter is passed. I poked around the CD a bit to figure out how that's done but failed. Does the kernel have to be modified to do this? Thanks for any pointers. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Booting up without X
On Wed, 19 Dec 2007 12:45:49 -0500 (EST), David Finkel wrote: You should just be able to pass the nox kernel command line option at boot, the xdm init script, from baselayout, contains a line which checks the kernel command line for the xdm parameter. This works, but because nox stays in /proc/cmdline, any attempt to run xdm later will fail. The only way to get back into X is to reboot. -- Neil Bothwick Does fuzzy logic tickle? signature.asc Description: PGP signature
Re: [gentoo-user] Booting up without X
On 22:37 Wed 19 Dec , Neil Bothwick wrote: On Wed, 19 Dec 2007 12:45:49 -0500 (EST), David Finkel wrote: You should just be able to pass the nox kernel command line option at boot, the xdm init script, from baselayout, contains a line which checks the kernel command line for the xdm parameter. This works, but because nox stays in /proc/cmdline, any attempt to run xdm later will fail. The only way to get back into X is to reboot. -- Neil Bothwick Does fuzzy logic tickle? How about running startx, or modifying the script to see if boot time was within X of the current time (seeing if this IS boot, or some other time), or maybe (I don't run xdm, or any display manager for that matter) you could just pass an arg to xdm to make it start. -- [EMAIL PROTECTED] mailing list
[gentoo-user] Booting up without X
I want to add a grub menu entry that will load the system without starting gdm, just like the livecd does when the 'nox' kernel parameter is passed. I poked around the CD a bit to figure out how that's done but failed. Does the kernel have to be modified to do this? Thanks for any pointers. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Booting up without X
On Tue, 2007-12-18 at 20:16 +0400, Yahya Mohammad wrote: I want to add a grub menu entry that will load the system without starting gdm, just like the livecd does when the 'nox' kernel parameter is passed. I poked around the CD a bit to figure out how that's done but failed. Does the kernel have to be modified to do this? Thanks for any pointers. I don't know what the livecd does but you certainly don't have to modify a kernel to do something like that. The way I see it there are two possible solutions: 1. Create a new runlevel, say nox and just don't put xdm in the runlevel. The drawback to this is you have to maintain another runlevel. 2. Edit /etc/init.d/xdm (or better yet, make a copy of your own and edit it) that simply checks for the existence of, say nox in /proc/cmdline and exit immediately if so. Then change your grub config as appropriate. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Booting up without X
There is a softlevel option to add in your grub entry to switch to a different RC. have a look at http://gentoo-wiki.com/HOWTO_create_a_run_level Gal' On Dec 18, 2007 5:16 PM, Yahya Mohammad [EMAIL PROTECTED] wrote: I want to add a grub menu entry that will load the system without starting gdm, just like the livecd does when the 'nox' kernel parameter is passed. I poked around the CD a bit to figure out how that's done but failed. Does the kernel have to be modified to do this? Thanks for any pointers. -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Booting up without X
On Tue, 18 Dec 2007 10:32:26 -0600, Albert Hopkins wrote: 1. Create a new runlevel, say nox and just don't put xdm in the runlevel. The drawback to this is you have to maintain another runlevel. I have this in /etc/conf.d/local.stop to keep my text runlevel in line with default cd /etc/runlevels/default rm -f ../text/* for i in * ; do ln -s ../default/$i ../text/$i rm -f ../text/{xdm,vmware} done -- Neil Bothwick Weird enough for government work. signature.asc Description: PGP signature
RE: [gentoo-user] Booting up without X
If you don't have any other use for the 'single' runlevel, you can use the softlevel grub option (softlevel=single) to boot without X. It works great for me. Jonathan R. Haws [EMAIL PROTECTED] -Original Message- From: Galevsky [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 18, 2007 9:34 AM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Booting up without X There is a softlevel option to add in your grub entry to switch to a different RC. have a look at http://gentoo-wiki.com/HOWTO_create_a_run_level Gal' On Dec 18, 2007 5:16 PM, Yahya Mohammad [EMAIL PROTECTED] wrote: I want to add a grub menu entry that will load the system without starting gdm, just like the livecd does when the 'nox' kernel parameter is passed. I poked around the CD a bit to figure out how that's done but failed. Does the kernel have to be modified to do this? Thanks for any pointers. -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Booting up without X
Thanks very much everyone for the suggestions!! On Tue, Dec 18, 2007 at 07:15:39PM +, Neil Bothwick wrote: On Tue, 18 Dec 2007 10:32:26 -0600, Albert Hopkins wrote: 1. Create a new runlevel, say nox and just don't put xdm in the runlevel. The drawback to this is you have to maintain another runlevel. I have this in /etc/conf.d/local.stop to keep my text runlevel in line with default cd /etc/runlevels/default rm -f ../text/* for i in * ; do ln -s ../default/$i ../text/$i rm -f ../text/{xdm,vmware} done -- Neil Bothwick Weird enough for government work. -- [EMAIL PROTECTED] mailing list