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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-27-2007, 03:04 PM
|
#1
|
Member
Registered: Jul 2007
Location: linux-noobville.d/dfw texas
Distribution: grub multi-booter
Posts: 102
Rep:
|
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
|
|
|
09-27-2007, 03:20 PM
|
#2
|
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
|
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.
|
|
|
09-27-2007, 03:52 PM
|
#3
|
Member
Registered: Jul 2007
Location: linux-noobville.d/dfw texas
Distribution: grub multi-booter
Posts: 102
Original Poster
Rep:
|
Quote:
Originally Posted by raskin
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
|
|
|
09-27-2007, 11:42 PM
|
#4
|
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
|
/etc/X11/xorg.conf and /var/log/X.0.log are welcome. Mounting a USB flash should help you for transmitting files.
|
|
|
09-28-2007, 12:01 AM
|
#5
|
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Rep: 
|
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.
|
|
|
09-28-2007, 03:47 PM
|
#6
|
Member
Registered: Jul 2007
Location: linux-noobville.d/dfw texas
Distribution: grub multi-booter
Posts: 102
Original Poster
Rep:
|
Quote:
Originally Posted by raskin
/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
|
|
|
09-28-2007, 03:58 PM
|
#7
|
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
|
Are uhci_hcd and usb_storage 'modprobe'd ? After a pair of SATA drives USB will be sdc1, I guess.
|
|
|
09-28-2007, 06:14 PM
|
#8
|
Member
Registered: Jul 2007
Location: linux-noobville.d/dfw texas
Distribution: grub multi-booter
Posts: 102
Original Poster
Rep:
|
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.
|
|
|
09-28-2007, 06:20 PM
|
#9
|
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
|
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?
|
|
|
09-28-2007, 06:44 PM
|
#10
|
Member
Registered: Jul 2007
Location: linux-noobville.d/dfw texas
Distribution: grub multi-booter
Posts: 102
Original Poster
Rep:
|
Quote:
Originally Posted by raskin
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
|
|
|
All times are GMT -5. The time now is 03:09 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|