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.
|
|
|
11-29-2006, 01:01 PM
|
#1
|
LQ Newbie
Registered: Nov 2006
Posts: 9
Rep:
|
Can't find X server after reboot
I've reinstalled Fedeora Core 6 (Zod) three times. Each time after I've completed install, I am able to gui around and do what I need to do. When I shut down the computer and/or reboot, it takes me to the terminal and asks me to log in. When I try startx it says it can't find the x server.
|
|
|
11-29-2006, 01:16 PM
|
#2
|
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530
Rep:
|
In the terminal, run this command:
Code:
grep '^(EE' /var/log/Xorg.0.log
and post the results here (in [code] tags please).
|
|
|
11-29-2006, 01:19 PM
|
#3
|
LQ Newbie
Registered: Nov 2006
Posts: 9
Original Poster
Rep:
|
It says no such file or directory
|
|
|
11-29-2006, 01:21 PM
|
#4
|
LQ Newbie
Registered: Nov 2006
Posts: 9
Original Poster
Rep:
|
Actually what it says is grep: /var/log/Xorg.0.log: no such file or directory
|
|
|
11-29-2006, 01:22 PM
|
#5
|
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530
Rep:
|
Erk. OK, please try this - I want to identify your X logfile:
Code:
cd /var/log
ls -l |grep -i -e xorg -e free
|
|
|
11-29-2006, 01:28 PM
|
#6
|
LQ Newbie
Registered: Nov 2006
Posts: 9
Original Poster
Rep:
|
the return was:
-rw-r-r-- 1 root root 48505 Nov 29 11:16 Xorg.0.log
-rw-r-r-- 1 root root 39795 Nov 29 11:03 Xorg.0.log.old
-rw-r-r-- 1 root root 812 Nov 29 11:02 Xorg.setup.log
|
|
|
11-29-2006, 01:45 PM
|
#7
|
LQ Newbie
Registered: Nov 2006
Posts: 9
Original Poster
Rep:
|
I just tried startx and it says that:
server is already active for display 0
if this server is no longer running remove /tmp/.XO-lock and try again
Then it says:
Xlib: Connection to ":0:0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE key
giving up
xinit: unable to connect to server
xinit: no such process (errorno 3): Server error
Then I get the prompt
|
|
|
11-29-2006, 01:57 PM
|
#8
|
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530
Rep:
|
Quote:
Originally Posted by arizwebfoot
the return was:
-rw-r-r-- 1 root root 48505 Nov 29 11:16 Xorg.0.log
-rw-r-r-- 1 root root 39795 Nov 29 11:03 Xorg.0.log.old
-rw-r-r-- 1 root root 812 Nov 29 11:02 Xorg.setup.log
|
It's very odd that the grep command above returned an error. Perhaps you made a typo. Remember that file names in Linux are case-sensitive, and there is a huge difference between ' and `. Best approach is to copy-paste. I suspect you are not doing so because the output you just put here is not possible - the lines would never start with "-rw-r-r--" - you are missing a character.
Try it this way. Careful with that shift key!
Code:
cd /var/log
grep '^(EE' Xorg.0.log
|
|
|
11-29-2006, 01:59 PM
|
#9
|
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530
Rep:
|
Doh stupid me, of course, you're not copy-pasting - your x-server isn't working... Sometimes I am dense as uranium.
|
|
|
11-29-2006, 02:06 PM
|
#10
|
LQ Newbie
Registered: Nov 2006
Posts: 9
Original Poster
Rep:
|
Okay, this time I got:
(EE) AIGLX: screen 0 in not DRI capable.
I would infer that this is telling me my monitor is somehow deficient. I have a HP LCD, model HP vs17.
Thanks and hope this helps
|
|
|
11-29-2006, 02:22 PM
|
#11
|
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530
Rep:
|
Not, it's not the monitor. It's that the video driver which is being used does not support the DRI extension, which is required if you have AIGLX turned on (AIGLX lets you do a load of fancy eye-candy stuff, but it's not necessary).
You should turn off AIGLX. Look at the bottom of this page for instructions. You'll need to be root to edit the xorg.conf file.
|
|
|
11-29-2006, 02:38 PM
|
#12
|
LQ Newbie
Registered: Nov 2006
Posts: 9
Original Poster
Rep:
|
This is going to really show my noobie status, what is the command to open the file?
|
|
|
11-29-2006, 02:52 PM
|
#13
|
LQ Newbie
Registered: Nov 2006
Posts: 9
Original Poster
Rep:
|
I tried gedit xorg.conf but I got an error message that it was unable to open a display.
|
|
|
11-29-2006, 03:04 PM
|
#14
|
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530
Rep:
|
gedit requires your windowing system to be running, which won't work until we've fixed it. We'll use another editor, nano. Log in as root and then do this:
Code:
cd /etc/X11
cp xorg.conf xorg.conf.mybackup
nano xorg.conf
At the bottom of the screen is a list of special command keys. ^ mean the control key in this context, so "^X Exit" means "press control-X to quit". If you ahev modified a file, you will be prompted if you want to save changes.
The xorg.conf file contains quite a lot of stuff. You'll need to locate the proper section. nano lets you search with control-w.
|
|
|
11-29-2006, 04:23 PM
|
#15
|
LQ Newbie
Registered: Nov 2006
Posts: 9
Original Poster
Rep:
|
It worked, it worked, it worked.
Thanks, I'm off and running - LOL.
|
|
|
All times are GMT -5. The time now is 02:56 PM.
|
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
|
|