LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 04-19-2011, 04:02 PM   #1
poisoning
Member
 
Registered: Mar 2011
Posts: 39

Rep: Reputation: 0
Help me error "Configuring The X Window System"


Install all the x windows i have several errors.

I have errors with X windows when digit:
1) Xorg -configure file is no created "xorg.conf.new"
2) install -v -m644 -D ~/xorg.conf.new /etc/X11/xorg.conf does not exist and I generated this file error:
--------------------------------------------------------------------
X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: Linux 2.6.22-14-generic i686
Current Operating System: Linux defcon 2.6.22-14-generic #1 SMP Sun Oct 14 23:
05:12 GMT 2007 i686
Build Date: 16 April 2011
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Apr 19 15:42:21 2011
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel
(II) Loader magic: 0x81c42e0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.3
X.Org Video Driver: 1.1
X.Org XInput driver : 0.7
X.Org Server Extension : 0.3
X.Org Font Renderer : 0.5
(II) Loader running on linux
(II) LoadModule: "pcidata"
(II) Loading /usr/lib/X11/modules//libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
compiled for 7.2.0, module version = 1.0.0
ABI class: X.Org Video Driver, version 1.1
(--) using VT number 9

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,2580 card 8086,4156 rev 04 class 06,00,00 hdr 00
.
.
.
(II) PCI: 01:00:0: chip 10de,042f card 10de,0492 rev a1 class 03,00,00 hdr 00
(II) PCI: 06:03:0: chip 1106,3106 card 1186,1405 rev 8b class 02,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Intel Bridge workaround enabled
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,6), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x000a (VGA_EN is set)
(II) Bus 1 I/O range:
[0] -1 0 0x0000a000 - 0x0000afff (0x1000) IX[B]
(II) Bus 1 non-prefetchable memory range:
[0] -1 0 0xfa000000 - 0xfdffffff (0x4000000) MX[B]
(II) Bus 1 prefetchable memory range:
[0] -1 0 0xb0000000 - 0xcfffffff (0x20000000) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 5: bridge is at (0:28:0), (0,5,5), BCTRL: 0x0006 (VGA_EN is cleared)
(II) Bus 5 non-prefetchable memory range:
[0] -1 0 0xfe300000 - 0xfe3fffff (0x100000) MX[B]
(II) Bus 5 prefetchable memory range:
[0] -1 0 0xd0300000 - 0xd03fffff (0x100000) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 4: bridge is at (0:28:1), (0,4,4), BCTRL: 0x0006 (VGA_EN is cleared)
(II) Bus 4 non-prefetchable memory range:
[0] -1 0 0xfe200000 - 0xfe2fffff (0x100000) MX[B]
(II) Bus 4 prefetchable memory range:
[0] -1 0 0xd0200000 - 0xd02fffff (0x100000) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 3: bridge is at (0:28:2), (0,3,3), BCTRL: 0x0006 (VGA_EN is cleared)
(II) Bus 3 non-prefetchable memory range:
[0] -1 0 0xfe100000 - 0xfe1fffff (0x100000) MX[B]
(II) Bus 3 prefetchable memory range:
[0] -1 0 0xd0100000 - 0xd01fffff (0x100000) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 2: bridge is at (0:28:3), (0,2,2), BCTRL: 0x0006 (VGA_EN is cleared)
(II) Bus 2 non-prefetchable memory range:
[0] -1 0 0xfe000000 - 0xfe0fffff (0x100000) MX[B]
(II) Bus 2 prefetchable memory range:
[0] -1 0 0xd0000000 - 0xd00fffff (0x100000) MX[B]
(II) Subtractive PCI-to-PCI bridge:
(II) Bus 6: bridge is at (0:30:0), (0,6,6), BCTRL: 0x0206 (VGA_EN is cleared)
(II) Bus 6 I/O range:
[0] -1 0 0x0000b000 - 0x0000b0ff (0x100) IX[B]
[1] -1 0 0x0000b400 - 0x0000b4ff (0x100) IX[B]
[2] -1 0 0x0000b800 - 0x0000b8ff (0x100) IX[B]
[3] -1 0 0x0000bc00 - 0x0000bcff (0x100) IX[B]
(II) Bus 6 non-prefetchable memory range:
[0] -1 0 0xfe400000 - 0xfe4fffff (0x100000) MX[B]
(II) Bus 6 prefetchable memory range:
[0] -1 0 0xd0400000 - 0xd04fffff (0x100000) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:31:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(--) PCI:*(1:0:0) nVidia Corporation unknown chipset (0x042f) rev 161, Mem @ 0
xfc000000/24, 0xb0000000/28, 0xfa000000/25, I/O @ 0xac00/7, BIOS @ 0xfd000000/
17
Missing output drivers. Configuration failed.

---------------------------------------------------------------------
I have a video card nVidia Quadro NVS 290.
 
Old 04-19-2011, 04:06 PM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,644
Blog Entries: 1

Rep: Reputation: 229Reputation: 229Reputation: 229
Did You follow this page http://www.linuxfromscratch.org/blfs...x/x-setup.html
Code:
ln -vsf <$XORG_PREFIX> /usr/X11R6
stops the error

Then this cd,s you to ~ and creates file
Code:
cd ~ &&
Xorg -configure
 
Old 04-19-2011, 06:20 PM   #3
poisoning
Member
 
Registered: Mar 2011
Posts: 39

Original Poster
Rep: Reputation: 0
Just finished installing Xorg Server and the next day to continue installing Xorg Driver, you must type in the setup script again?:
----------------------------------------------------------------------------------------------
export XORG_PREFIX="/usr"

export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc \
--mandir=$XORG_PREFIX/share/man --localstatedir=/var"

----------------------------------------------------------------------------------------------
I have to type in the setup script again? because I had to install Xorg driver the next day or not? maybe that's the problem.
 
Old 04-20-2011, 12:38 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,

Those variables need to be set when building X.

- Did you create this file (as mentioned in the book): /etc/profile.d/xorg.sh?

If you are unsure if those variables are set, execute the following command:
Code:
echo $XORG_PREFIX
echo $XORG_CONFIG
The first one should show: /usr
The second: --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --localstatedir=/var

If that is not the case, revisit the page I linked to and check everything.

Hope this helps.
 
Old 04-20-2011, 09:18 AM   #5
poisoning
Member
 
Registered: Mar 2011
Posts: 39

Original Poster
Rep: Reputation: 0
Well once again started doing everything and if you made ​​a mistake by not writing the setup script I think everything is going well, but when the command digit.
cd ~ & &
Xorg-configure

and

X-config ~ / xorg.conf.new

The monitor tells me "monitor Out of frecuency". It is for nVidia Quadro NVS290 card I have.
 
Old 04-20-2011, 11:34 AM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,

What does your xorg.conf look like and what is in the Xorg.0.log file?

Have you tried a bare/minimal xorg.conf file, something like this:
Code:
Section "Device"
        Identifier      "Video Device"
        Driver          "fglrx"
        Driver       "nv"
EndSection

Section "Monitor"
        Identifier      "Monitor"
EndSection

Section "Screen"
        Identifier      "Screen"
        Monitor         "Monitor"
        Device          "Video Device"
EndSection"
The above driver setting does assume that you are using the default nvidia driver (fglrxnv) and _not_ the one that can be downloaded and installed from Nvidia (the nvidia driver).

Hope this helps.

EDIT: See post #9, I mentioned the ATI driver instead of the Nvidia one......

Last edited by druuna; 04-20-2011 at 12:32 PM.
 
Old 04-20-2011, 11:44 AM   #7
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,644
Blog Entries: 1

Rep: Reputation: 229Reputation: 229Reputation: 229
Dejavu
 
Old 04-20-2011, 12:02 PM   #8
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,194

Rep: Reputation: 159Reputation: 159
Does your file exist (/etc/X11/xorg.conf)?
If not, "X -configure" wil place it in your current map.

Copy/move it in the right location:
sudo cp ~/xorg.conf.new /etc/X11/xorg.conf

PS: "~/" is your home map.

Last edited by jens; 04-20-2011 at 12:05 PM.
 
Old 04-20-2011, 12:13 PM   #9
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,194

Rep: Reputation: 159Reputation: 159
Quote:
Originally Posted by druuna View Post

The above driver setting does assume that you are using the default nvidia driver (fglrx) and _not_ the one that can be downloaded and installed from Nvidia (the nvidia driver).

Hope this helps.
Errrr....
fgrlx is a commercial AMD/ATI driver
The nvidia ones from xorg are either "nv" or the newer "nouveau".
 
1 members found this post helpful.
Old 04-20-2011, 12:30 PM   #10
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Quote:
Originally Posted by jens View Post
Errrr....
fgrlx is a commercial AMD/ATI driver
The nvidia ones from xorg are either "nv" or the newer "nouveau".
You are 100% correct (that's what happens when you use both....).

Sorry about the possible confusion, I'll edit my previous post.
 
Old 04-20-2011, 12:34 PM   #11
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Quote:
Originally Posted by jens View Post
Does your file exist (/etc/X11/xorg.conf)?
If not, "X -configure" wil place it in your current map.

Copy/move it in the right location:
sudo cp ~/xorg.conf.new /etc/X11/xorg.conf

PS: "~/" is your home map.
The BLFS approach first creates a sample/test xorg.conf in the roots directory. After testing it and making sure it is ok it is copied to its final place. So at this moment there is no /etc/X11/xorg.conf present.
 
Old 04-20-2011, 12:48 PM   #12
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
I thought that modern versions of X don't need xorg.conf?
 
Old 04-20-2011, 12:58 PM   #13
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,194

Rep: Reputation: 159Reputation: 159
Quote:
Originally Posted by druuna View Post
The BLFS approach first creates a sample/test xorg.conf in the roots directory. After testing it and making sure it is ok it is copied to its final place. So at this moment there is no /etc/X11/xorg.conf present.
Nothing against B/LFS, but that wouldn't be their first mistake (i don't see anything for that in their* already difficult to understand code base).
If you create it as a normal user, you wouldn't have the the permissions to write in /etc/X11 anyway.


edit
*> "their" being xorg

Last edited by jens; 04-20-2011 at 01:02 PM.
 
Old 04-20-2011, 12:59 PM   #14
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Quote:
Originally Posted by MTK358 View Post
I thought that modern versions of X don't need xorg.conf?
You are, in general, correct. But..... this is BLFS.

I never could get the X working without at least a bare/minimal xorg.conf and then I'm ignoring the fact that ctrl-alt-bksp isn't working out of the (BLFS?) box. A lot of the settings I have in my xorg.conf are detected automatically when I look at the output of Xorg.0.log and I could remove them. Some aren't and I do need/want those.

Going through the process described by the BLFS book does give you an inside how things work and I do believe that is a plus.

Besides that: I must admit that I'm probably weird when it comes to tinkering with these things: I also created an xorg.conf on my Debian box (which isn't needed when it comes down to it)
 
Old 04-20-2011, 01:00 PM   #15
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,194

Rep: Reputation: 159Reputation: 159
Quote:
Originally Posted by MTK358 View Post
I thought that modern versions of X don't need xorg.conf?
Indeed.
It's only needed if its auto-detection mode failed or with some commercial drivers (like nvidia).
 
  


Reply

Tags
blfs, xorg


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
[SOLVED] Getting "Security System Warning!" Window in firefox NightSky Linux - Security 4 05-11-2010 01:42 AM
System stuck at "Loading drivers, configuring devices:" linuxlainen Linux - Newbie 2 11-22-2009 04:22 AM
"Need Help On Configuring BIND on RedHat 9 System" stazy Red Hat 2 01-10-2009 01:58 PM
"window system doesnot support openGL" caused by changing resolution caicaicherry Fedora 1 04-09-2005 11:29 PM
Upgrade to c3 causes system to reboot when you click the "View" menu on a window. wellsa Fedora 1 12-21-2004 11:42 AM


All times are GMT -5. The time now is 06:09 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration