LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-21-2003, 05:53 PM   #16
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46

When you add the 'single' option like Tink said, you won't have that problem. After booting into runlevel 1 using the 'single' option, you can alter the /etc/inittab file to set the default runlevel to 3 or something. Search these forums on how to do it. That will make configuring XFree86 (aka X) easier by booting to a command-line. Run X by running 'startx'.
 
Old 10-21-2003, 06:04 PM   #17
InZaN3_CrIcKeT
LQ Newbie
 
Registered: Oct 2003
Posts: 20

Original Poster
Rep: Reputation: 0
You know there's 58 pages for the newby section alone, right? All I need is somebody to tell me how to do what you are telling me to do. That'll be it. I really appologize for acting like an annoying noob, but when it comes to Linux, that's what I am :-)


http://www.redhat.com/docs/manuals/l...ng-single.html

What's GRUB?

Okay, I found out what it is, but is this link the correct procedure?

Last edited by InZaN3_CrIcKeT; 10-21-2003 at 06:13 PM.
 
Old 10-21-2003, 06:15 PM   #18
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
There's a Search button at the top at every page at LQ. Try searching for 'inittab' or 'default runlevel'. I can't tell you, because it varies from distro to distro, & I use Slack, not Red Hat.
 
Old 10-21-2003, 06:17 PM   #19
InZaN3_CrIcKeT
LQ Newbie
 
Registered: Oct 2003
Posts: 20

Original Poster
Rep: Reputation: 0
Ok. I'm assuming it is, because I didn't mean the procedure itself, I was asking if this is what I want to do (Boot Single-User Mode).
 
Old 10-21-2003, 06:24 PM   #20
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Yes it is the right procedure.
Grub is a bootloader, used for loading Linux. Most people use Grub or another bootloader called LILO. Red Hat usually uses Grub. The bootloader's purpose is to load the Linux kernel & initrd (if needed, distros like RH usually do this). The initrd carries modules that the kernel might need to boot (distros like Red Hat like to put drivers in seperate modules instead of integrating them in the kernel, for flexibility) You add options just by putting it after a space after the kernel/Linux entry. Examples:
kernel (hd0,0)/vmlinuz single
 
Old 10-21-2003, 06:26 PM   #21
gdrobson
Member
 
Registered: Jun 2002
Location: Ontario, Canada
Distribution: RH8.0
Posts: 65

Rep: Reputation: 15
I'm assuming that when x fails to load you get left with a login prompt. If so then you can fix your problem without changing the run levels back and forth.

Here are your commands.
1) Login as root.
2) cd /etc/X11/
3) cp XF86config XF86config.bak (not really necessary is it doesn't work to begin with but...)
4) xf86config (answer the question correctly and a new XF86config file will be created. If you need to scroll up in the console hold down shift and hit page up.)
6) killall gdm-binary (this will reload x if gnome is what you're using, if not reboot to test out the new config)

The above worked for me in RH8, whenever I messed up my XF86config file.
 
Old 10-21-2003, 07:34 PM   #22
InZaN3_CrIcKeT
LQ Newbie
 
Registered: Oct 2003
Posts: 20

Original Poster
Rep: Reputation: 0
I tried this, but it said x11 wasn't found (No such file or directory). I still have to try what Tinkster said to do, though, I'm tryin to figure that out now.
 
Old 10-21-2003, 07:39 PM   #23
gdrobson
Member
 
Registered: Jun 2002
Location: Ontario, Canada
Distribution: RH8.0
Posts: 65

Rep: Reputation: 15
Its X11 not x11 , *nix is case sensitive.
 
Old 10-21-2003, 07:48 PM   #24
InZaN3_CrIcKeT
LQ Newbie
 
Registered: Oct 2003
Posts: 20

Original Poster
Rep: Reputation: 0
Oh...cool. I'm gonna go try it right now, and I'll post if it works.
 
Old 10-21-2003, 08:01 PM   #25
InZaN3_CrIcKeT
LQ Newbie
 
Registered: Oct 2003
Posts: 20

Original Poster
Rep: Reputation: 0
cp XF86config XF86config.bak
xf86config

Is this exact way these are supposed to be typed? I got to the X11, but these commands don't seem to be working.
 
Old 10-21-2003, 08:08 PM   #26
gdrobson
Member
 
Registered: Jun 2002
Location: Ontario, Canada
Distribution: RH8.0
Posts: 65

Rep: Reputation: 15
cp XF86Config XF86Config.bak (the "C" is capital sorry, you can hit TAB though for auto-complete after typing XF86)

xf86config <enter> should work.
 
Old 10-21-2003, 08:10 PM   #27
gdrobson
Member
 
Registered: Jun 2002
Location: Ontario, Canada
Distribution: RH8.0
Posts: 65

Rep: Reputation: 15
or type /usr/X11R6/bin/xf86config if you do not have /usr/X11R6/bin in you path.
 
Old 10-21-2003, 08:31 PM   #28
InZaN3_CrIcKeT
LQ Newbie
 
Registered: Oct 2003
Posts: 20

Original Poster
Rep: Reputation: 0
After typing cp....It says "overwrite xfconfig.bak?" or something like that.

Do you press enter? I did, and there was no confirmation, so I'm assuming that is normal. After that, I did what you said and it doesn't seem to be working. I typed xf86config <enter> and it's still not working. I'm still working on this so if I figure it out I'll post, but as of now I've had no luck.

Here's what my screen looks like:

http://inzan3.ath.cx/IMG_2535.jpg

Last edited by InZaN3_CrIcKeT; 10-21-2003 at 08:53 PM.
 
Old 10-21-2003, 09:36 PM   #29
gdrobson
Member
 
Registered: Jun 2002
Location: Ontario, Canada
Distribution: RH8.0
Posts: 65

Rep: Reputation: 15
you can hit "y" as well to overwrite the existing file, but creating a backup is not really going to help as the file you have now doesnt work.

I guess you do not have it in your path, so you'll have to type "/usr/X11R6/bin/xf86config" and hit enter to run the program, if that doesnt work try typing "locate xf86config" to see if you even have the program on your computer, but you should though.
 
  


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
root@localhost:~# xf86config -bash: xf86config: command not found klemen Slackware 17 01-06-2005 03:56 AM
where is the XF86config-4 or XF86config file in the fedora? u2911 Fedora 4 07-24-2004 09:38 PM
where can I find the XF86Config and XF86Config-4 files? souaw Mandriva 4 04-21-2004 10:30 AM
XF86Config compared to XF86Config-4 rberry88 Linux - Newbie 2 09-21-2003 11:29 AM
Diff btw XF86Config-4 and XF86Config BorgKing Linux - Newbie 1 06-12-2002 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:17 AM.

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