LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-27-2007, 03:04 PM   #1
alabamaman
Member
 
Registered: Jul 2007
Location: linux-noobville.d/dfw texas
Distribution: grub multi-booter
Posts: 102

Rep: Reputation: 16
how to disable x at boot?


i realize this is a really dumb question and i know i should know how to do this, but i don't...

i just installed FC6 as a secondary on my XP machine, and i got it all going fine. XP boots perfectly (after a little grub tweaking via knoppix livecd) and everything is gravy. however, when i try to boot into fedora i get a black screen and my monitor starts yelling at me saying i'm not in optimal mode or somesuch.

i have no idea what is causing the problem and i'm assuming disabling X is my first step. luckily i have another machine (this one) next to it so i can copy over what i'm looking at. when i hit ctrl+alt+f1 i get this...

Code:
Leftover inexact backtrace:
===========================
kobject_add failed for vcsa1 with -EEXIST, don't try to register things with the same name in the same directory.
[<c04051db>] ...
etc etc
blah blah blah
[<c0404013>] syscall_call+0x7/0xb
DWARF2 unwinder stuck at syscall_call+0x7/0xb
Leftover inexact backtrace:
==========================
what i don't get is, this happens before i even get to a login screen. when i boot i see the typical "starting udev.....[ok]" then it just flips to a black screen.

this is a fresh install, i haven't changed/updated anything, and i've used this same cd with success before. i'm gonna sit in the corner and scratch my head, any help would be much appreciated since i don't even know how to go about searching for this problem
 
Old 09-27-2007, 03:20 PM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,899

Rep: Reputation: 68
So you login as root, look at /etc/inittab and replace id:5:initdefault with id:3:initdefault. This is called changing default initlevel, init 3 is called text mode with networking. Not that traditional definitons are always strictly observed, bu generally 5 is X and 3 is complete text console.
 
Old 09-27-2007, 03:52 PM   #3
alabamaman
Member
 
Registered: Jul 2007
Location: linux-noobville.d/dfw texas
Distribution: grub multi-booter
Posts: 102

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by raskin View Post
So you login as root, look at /etc/inittab and replace id:5:initdefault with id:3:initdefault. This is called changing default initlevel, init 3 is called text mode with networking. Not that traditional definitons are always strictly observed, bu generally 5 is X and 3 is complete text console.
okay so i switched the inittab via livecd, and now i can actually see what i'm doing, but of course i go back to my original problem when i try to startx. what do i need to edit now to keep the GUI login screen from hanging? as i switch back to runlevel 1 i see "Xlib:unexpected async reply" and also "(EE)AIGLX: screen 0 is not DRI capable" so i'm guessing i need to change DRI to 0 in some config...but where?

also, ty for the help so far

Last edited by alabamaman; 09-27-2007 at 03:57 PM. Reason: accidentally posted too early
 
Old 09-27-2007, 11:42 PM   #4
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,899

Rep: Reputation: 68
/etc/X11/xorg.conf and /var/log/X.0.log are welcome. Mounting a USB flash should help you for transmitting files.
 
Old 09-28-2007, 12:01 AM   #5
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
You can also use "virtual consoles" to troubleshoot...

Hi -

It's worth noting that the main window you're accustomed to logging into isn't the only logon that's available to you. Most versions of Linux have "virtual consoles". Just type "Alt-F1" on your keyboard and ... voila! .. you have another logon. "Alt-F2" for another. And so on.

In other words, you can log in to multiple different times to the same system and the same time *without* needing X, "telnet" or anything else.

You really don't want to disable X. But "virtual consoles" might be an easy way to debug.

'Hope that helps .. PSM

PS:
Here's a really great tutorial that might also help:
http://www.fedoraforum.org/forum/sho...97&postcount=1

Last edited by paulsm4; 09-28-2007 at 12:03 AM.
 
Old 09-28-2007, 03:47 PM   #6
alabamaman
Member
 
Registered: Jul 2007
Location: linux-noobville.d/dfw texas
Distribution: grub multi-booter
Posts: 102

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by raskin View Post
/etc/X11/xorg.conf and /var/log/X.0.log are welcome. Mounting a USB flash should help you for transmitting files.
that post honestly just reminded me about my USB drive, and its a good idea and all, but how do i mount it?? i have a pair of SATA drives, so i can't just mount the normal /dev/sda1. i honestly don't even know how to go about finding what it's called. i mean i looked through dmesg and i can't find anything...man this is such a headache and i really don't get why this install didn't work in the first place, this is just the beginning of my problems, bleh
 
Old 09-28-2007, 03:58 PM   #7
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,899

Rep: Reputation: 68
Are uhci_hcd and usb_storage 'modprobe'd ? After a pair of SATA drives USB will be sdc1, I guess.
 
Old 09-28-2007, 06:14 PM   #8
alabamaman
Member
 
Registered: Jul 2007
Location: linux-noobville.d/dfw texas
Distribution: grub multi-booter
Posts: 102

Original Poster
Rep: Reputation: 16
alright well i couldn't ever get the usb drive mounted but i found a link on my other machine to some updated drivers and just got them with wget. that and libstdc++ was all i needed.

thanks for all the help guys, sorry for bein such a noob.
 
Old 09-28-2007, 06:20 PM   #9
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,899

Rep: Reputation: 68
Nice to hear that the problem was solved.. Really, not being able to find out a problem with drivers immediately is not always a trait of newbie. More so if you managed to fix it yourself. By the way, I hope USB disk also works?
 
Old 09-28-2007, 06:44 PM   #10
alabamaman
Member
 
Registered: Jul 2007
Location: linux-noobville.d/dfw texas
Distribution: grub multi-booter
Posts: 102

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by raskin View Post
Nice to hear that the problem was solved.. Really, not being able to find out a problem with drivers immediately is not always a trait of newbie. More so if you managed to fix it yourself. By the way, I hope USB disk also works?
yeah, the USB works fine inside a GUI, and in any other machine but this one outside the GUI, but that's the least of my problems at this point...at least you reminded me i had it! cheers
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
2.6: Disable loading modules at boot Wynd Slackware 9 03-04-2007 03:19 PM
how to disable networking on boot arunvk Linux - Networking 3 03-10-2006 04:44 AM
how to disable appletalk at boot chemdawg Debian 1 10-10-2005 05:21 PM
disable ldconfig at boot? rgiggs Slackware 23 07-04-2004 05:45 PM
disable graphic boot (RedHat 7.1) ... agoo22 Linux - Software 1 11-03-2001 02:51 AM


All times are GMT -5. The time now is 03:55 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration