Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hi im a newbie to this and find this forum really helpful...
Recently I've tried to make my Fedore Core 4 look like a Mac OS by reading a tutorial online. It told me to edit the xorg.conf file, so i did and restarted and now it will not boot into a GUI/KDE (GNU?)..just a DOS/Terminal lookalike screen where I can still login etc and seem to have the commands there. I dont really want to reinstall fedora again as I've done alot to it (i.e drivers etc)
I just want to know how I can make the xorg.conf file how it was.. I do remember the scripts I put in so can always re-edit it (if i know the commands and someway of deleting them and resaving the xorg.conf)
A lesson for the future... always backup your xorg.conf file before you make any changes to it.
Your computer is still fully functional, it's just missing the graphical X server.
Login as root, then type
"pico /etc/X11/xorg.conf" to open xorg.conf in a simple editing program.
Now comes the hard part... figure out what you changed before and change it back to the way it was, then save the file and quit pico.
Once you've done that, type startx to see boot up the X server again.
If this works, then next time you reboot it should go directly into X again.
As I recall, Fedora boots to GUI by default, so you have to get yourself into text mode. Since you asked how to edit "on boot" :
When you get to the Grub screen, select Fedora and press "e" that will allow you to edit a line in your Fedora Entry.
select the line with "kernel" in it and press "e" again. add "3" to the end of that line.
Press enter, then "b" to boot that configuration.
That should boot you directly to text mode where you can (as root) edit your /etc/X11/xorg.conf back to a workable state.
*edit changed the word "will" into "should"
Last edited by truthfatal; 03-09-2006 at 12:39 PM.
If you have a command line, you should be able to do this.
2) change directories cd /etc/X11
3) list the contents ls
4) change to root su, enter the root password
5) you should see "xorg.conf" listed, maybe there's a backup file "xorg.conf.bak" or something like that
6) If there is a backup, first cp xorg.conf xorg.conf.bak2 then cp xorg.conf.bak xorg.conf
6b) If there is no backup, edit the file nano xorg.conf and put a "#" in front of each line you want to comment out
7) Save the file Ctrl-X say yes to save the file
8) Restart the xserver Ctrl-Alt-Backspace
If this computer is on a network with other computers, it may be easier to just let it boot then ssh into from another box and then edit the file. Either way, you need to get to the command line and edit the file.