LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
LinkBack Search this Thread
Old 02-18-2005, 08:42 PM   #1
iansworld
Member
 
Registered: Oct 2004
Location: Mission Viejo, CA
Distribution: suse 9.1
Posts: 30

Rep: Reputation: 15
how to prevent x server from starting?


I set the monitor resolution to higher than what it supports. When it boots and starts the x server, the monitor blanks out. How do I either disable the x login or put it at a low resolution like SVGA.

- Ian
 
Old 02-18-2005, 09:02 PM   #2
Tuxluver
Member
 
Registered: Jan 2005
Location: Texas
Distribution: Fedora Core 3
Posts: 58

Rep: Reputation: 15
I think "/sbin/init 3" will switch the runlevel to 3 so it won't startx automatically.
And to make runlevel 3 the default you can edit /etc/inittab and change
id:5:initdefault:
to
id:3:initdefault:

-Tuxlover
 
Old 02-18-2005, 09:32 PM   #3
Ace07
Member
 
Registered: Feb 2005
Distribution: Fedora Core 3 (2.6.10_1.741)
Posts: 72

Rep: Reputation: 15
Re: how to prevent x server from starting?

Quote:
Originally posted by iansworld
I set the monitor resolution to higher than what it supports. When it boots and starts the x server, the monitor blanks out. How do I either disable the x login or put it at a low resolution like SVGA.

- Ian
I recommend you add "3" to your kernel arguments in your bootloader settings. This will disable booting into runlevel 5.

Ex:

Disabling X Server
Edit the following lines to /boot/grub/grub.conf where it says:

Code:
kernel /boot/vmlinuz-<kernel version> ro root=LABEL=/ quiet
Replace it with (NOTE: You can put the "3" wherever you want):
Code:
kernel /boot/vmlinuz-<kernel version> ro root=LABEL=/ 3 quiet
Save the config file and reboot linux.
 
Old 02-19-2005, 09:40 PM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 3,665

Rep: Reputation: 204Reputation: 204Reputation: 204
Of course, to do any of the editing, you need to be able to see the screen.

Can you boot from you install CD or DVD? You should be able to mount and edit /boot/gru/grub.conf from there.
 
Old 02-20-2005, 03:20 AM   #5
bvknapp
LQ Newbie
 
Registered: Feb 2005
Location: MT, USA
Distribution: Fedora Core 3
Posts: 18

Rep: Reputation: 0
changing run level from rescue

In order to change the run level from the command

boot from the cd. You might have to configure your bios to boot from the cd first.

when you get the 'boot:' prompt
type linux rescue
answer the startup questions.
when you get the '#' prompt
type 'chroot /mnt/sysimage'
now type 'vi /etc/inittab' (I think, you might have to use 'find' to find the actual location of inittab)
down arrow to the line where it says something like default run level. change vi to insert mode by typing 'i'. Change the number from 5 to 3. hit <escape>, then type ':wq!'.

When you restart it will default to the command line if you have done everthing correctly.

Cheers,
Barry
 
Old 02-20-2005, 03:40 AM   #6
xathrasmurphy
LQ Newbie
 
Registered: Feb 2005
Location: North York Moors
Distribution: Fedora Core
Posts: 4

Rep: Reputation: 0
Won't Crtl/Alt/f5 still work?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to prevent a service from starting phonecian Linux - Software 2 10-06-2005 10:57 AM
Prevent fetchmail starting during boot pracslipkerm Suse/Novell 1 09-12-2005 08:39 AM
prevent skype from starting automatically allelopath Linux - Software 1 09-02-2005 06:10 PM
Prevent X from starting automatically Yocal Linux - Newbie 6 08-27-2003 05:31 PM
Prevent evolution starting automatically ? romcgill Linux - Software 3 04-26-2003 10:43 AM


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

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration