LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 11-29-2006, 01:01 PM   #1
arizwebfoot
LQ Newbie
 
Registered: Nov 2006
Posts: 9

Rep: Reputation: 0
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.
 
Old 11-29-2006, 01:16 PM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
In the terminal, run this command:
Code:
grep '^(EE' /var/log/Xorg.0.log
and post the results here (in [code] tags please).
 
Old 11-29-2006, 01:19 PM   #3
arizwebfoot
LQ Newbie
 
Registered: Nov 2006
Posts: 9

Original Poster
Rep: Reputation: 0
It says no such file or directory
 
Old 11-29-2006, 01:21 PM   #4
arizwebfoot
LQ Newbie
 
Registered: Nov 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Actually what it says is grep: /var/log/Xorg.0.log: no such file or directory
 
Old 11-29-2006, 01:22 PM   #5
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
Erk. OK, please try this - I want to identify your X logfile:
Code:
cd /var/log
ls -l |grep -i -e xorg -e free
 
Old 11-29-2006, 01:28 PM   #6
arizwebfoot
LQ Newbie
 
Registered: Nov 2006
Posts: 9

Original Poster
Rep: Reputation: 0
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
 
Old 11-29-2006, 01:45 PM   #7
arizwebfoot
LQ Newbie
 
Registered: Nov 2006
Posts: 9

Original Poster
Rep: Reputation: 0
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
 
Old 11-29-2006, 01:57 PM   #8
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
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
 
Old 11-29-2006, 01:59 PM   #9
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
Doh stupid me, of course, you're not copy-pasting - your x-server isn't working... Sometimes I am dense as uranium.
 
Old 11-29-2006, 02:06 PM   #10
arizwebfoot
LQ Newbie
 
Registered: Nov 2006
Posts: 9

Original Poster
Rep: Reputation: 0
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
 
Old 11-29-2006, 02:22 PM   #11
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
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.
 
Old 11-29-2006, 02:38 PM   #12
arizwebfoot
LQ Newbie
 
Registered: Nov 2006
Posts: 9

Original Poster
Rep: Reputation: 0
This is going to really show my noobie status, what is the command to open the file?
 
Old 11-29-2006, 02:52 PM   #13
arizwebfoot
LQ Newbie
 
Registered: Nov 2006
Posts: 9

Original Poster
Rep: Reputation: 0
I tried gedit xorg.conf but I got an error message that it was unable to open a display.
 
Old 11-29-2006, 03:04 PM   #14
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
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.
 
Old 11-29-2006, 04:23 PM   #15
arizwebfoot
LQ Newbie
 
Registered: Nov 2006
Posts: 9

Original Poster
Rep: Reputation: 0
It worked, it worked, it worked.

Thanks, I'm off and running - LOL.
 
  


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
Unable to find inittab file after reboot subramaniana Linux - General 2 11-28-2006 05:25 AM
FC4 hangs after reboot. Is it possible to manually reboot to find problem hathmann Fedora 5 08-13-2006 04:57 AM
Fedora i686/2.4.27-0.3um - Server hostname reverts to original upon server reboot foxhosting Linux - Newbie 2 02-25-2006 04:39 AM
Spurious Reboot - How Can I Find Out What Caused It john.morris Linux - General 2 12-12-2005 01:01 PM
Postfix runs until reboot and can't find firewall joshuamorin Linux - Software 1 01-11-2002 08:23 AM


All times are GMT -5. The time now is 11:25 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