LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-20-2011, 01:03 PM   #16
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371

Quote:
Originally Posted by jens View Post
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.
How is this a(nother?) mistake? I am talking about root's home directory (thus executed as user root) and not /.

I still think these are logical steps (seen from BLFS and executed as root user):
Code:
cd ~
Xorg -configure
X -retro -config ~/xorg.conf.new
# test and possibly edit/retry, then
install -v -m644 ~/xorg.conf.new /etc/X11/xorg.conf
 
Old 04-21-2011, 06:33 PM   #17
poisoning
Member
 
Registered: Mar 2011
Posts: 39

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by druuna View Post
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"
Hi.

This is my /etc/X11/xorg.conf:
--------------------------------------------------------------------------------------------
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "ShadowFB" # [<bool>]
#Option "DefaultRefresh" # [<bool>]
#Option "ModeSetClearScreen" # [<bool>]
Identifier "Card0"
#Driver "vesa" <-------- Before
Driver "nv"
<-------- After
VendorName "nVidia Corporation"
BoardName "Unknown Board"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
-------------------------------------------------------------------------------------------

Change the option:
- Driver "vesa"with Driver "nv"

Type: startx

(EE) No devices detected
Fatal error found
no screens found
giving up.

Xinit: connection reset by peer (errno104) unable to Connect to X server
Xinit: No such process (errno 3): Server error
Xauth: (argv): 1: bad display name "defcon: 0".. "remove" comand


Sorry I'm using LFS 6.3 and BLFS 6.3

Last edited by poisoning; 04-21-2011 at 06:39 PM.
 
Old 04-22-2011, 12:33 AM   #18
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Hi,

Did you try the minimal xorg.conf I suggested?

You did not post enough information about the errors. I need the full output of the Xorg.0.log file and not just the small part posted by you. There's a lot more info present that could be helpful.

Is the nv driver present in: /usr/lib/X11/modules/drivers?

What is the output of lspci?

You just now mention building (B)LFS version 6.3 (kinda important....): Do you have new hardware? If so: You might need to build a newer version.

Hope this helps.
 
Old 04-22-2011, 03:30 AM   #19
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
The nv driver is obsolete. It doesn't work with current Nvidia cards. Nouveau is tricky to set up because it's a work in progress, it keeps changing. You have to get versions of Mesa, libdrm and the nouveau driver that agree with each other. I used it for about a year but at the moment I have enough ATI cards for all our computers. Good luck.
 
Old 04-23-2011, 05:46 PM   #20
poisoning
Member
 
Registered: Mar 2011
Posts: 39

Original Poster
Rep: Reputation: 0
Thank you very much to all the X reinstall on another PC with an integrated motherboard and a larger monitor, and finally got up the X Windows Basic. I only need to install GNOME and create another LFS 6.7.
 
  


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:04 AM.

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