LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
LinkBack Search this Thread
Old 12-05-2006, 04:56 PM   #1
Travis86
Member
 
Registered: Dec 2002
Location: The land of GMT -6
Distribution: OS X, PS2 Linux, Ubuntu, IRIX 6.5
Posts: 399

Rep: Reputation: 31
X11 won't start (I think I compiled it the wrong way.)


I installed Xorg on Gentoo, but I forgot to add:
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="nvidia"
to make.conf.
Everything is compiled and configured, but it crashes when I try to start it and says:
Code:
X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.17-gentoo-r7 i686 
Current Operating System: Linux gentoo 2.6.18-gentoo-r2 #3 Sun Dec 3 21:00:47 Local time zone must be set--see zic manua i686
Build Date: 26 November 2006
        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 Dec  5 22:44:52 2006
(==) Using config file: "/etc/X11/xorg.conf"
(EE) Failed to load module "speedo" (module does not exist, 0)
(EE) Failed to load module "kbd" (module does not exist, 0)
(EE) Failed to load module "mouse" (module does not exist, 0)
(EE) NVIDIA(0): Failed to load GLX
(EE) AIGLX: Screen 0 is not DRI capable
(EE) No Input driver matching `kbd'
(EE) No Input driver matching `mouse'
No core keyboard

Fatal server error:
failed to initialize core devices
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.
I'll probably get the NVIDIA stuff worked out; it's the keyboard and mouse stuff that I'm mainly concerned about.

Should I recompile, and if so, how? I've tried, but I can't figure it out.
If not, what should I do?
 
Old 12-05-2006, 05:34 PM   #2
StargateSteve
Member
 
Registered: Dec 2006
Location: UNM
Distribution: Debian Lenny
Posts: 107

Rep: Reputation: 15
looks like you need to compile some modules. You might want to stick with the "nv" driver,untill you get X running, then get adventerous.
 
Old 12-05-2006, 08:15 PM   #3
Travis86
Member
 
Registered: Dec 2002
Location: The land of GMT -6
Distribution: OS X, PS2 Linux, Ubuntu, IRIX 6.5
Posts: 399

Original Poster
Rep: Reputation: 31
So ... how do you do that?
 
Old 12-06-2006, 03:46 PM   #4
StargateSteve
Member
 
Registered: Dec 2006
Location: UNM
Distribution: Debian Lenny
Posts: 107

Rep: Reputation: 15
the modules? Go to x.org and search through the tree for the speedo, kbd, and mouse modules, and build them.

the nv driver? Search the xorg.conf file for the term nvidia, and replace it with nv.
 
Old 12-06-2006, 03:53 PM   #5
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware, Cross Linux from Scratch, Gentoo
Posts: 2,640
Blog Entries: 1

Rep: Reputation: 194Reputation: 194
Just add the things you forgot to /etc/make.conf. Then make sure this
Code:
emerge -pv xorg-x11
outputs something like this
Code:
Calculating dependencies... done!
[ebuild   R   ] x11-base/xorg-x11-7.0-r1 INPUT_DEVICES="keyboard mouse" VIDEO_CARDS="nvidia" 0 kB
where I removed everything that isn't going to be built. If the INPUT_DEVICES and VIDEO_CARDS look good, then
Code:
emerge xorg-x11
env-update
source /etc/profile
This error
Code:
(EE) AIGLX: Screen 0 is not DRI capable
can be fixed by commenting out or deleting the Load dri line in /etc/X11/xorg.conf or using the 'nv' driver. You don't need it if you're using the nVidia drivers. To use the nVidia driver, your kernel needs to be compiled with certain options enabled and others specifically disabled.

Last edited by weibullguy; 12-06-2006 at 03:58 PM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
stock kernel 2.4.31 compiled with wrong gcc? uselpa Slackware 6 09-26-2005 01:35 AM
Self compiled modules have wrong version id ewschone Linux - General 1 06-20-2004 01:13 PM
X11 library problem wrong ELF size chewysplace Linux - Software 1 04-12-2004 02:40 PM
GMplayer - will not start, compiled correctly AFAIK XavierP Linux - Software 6 10-26-2003 09:40 AM
Compiled new kernel ... but somethings wrong Elijah Linux - General 6 03-30-2003 10:06 PM


All times are GMT -5. The time now is 04:13 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
Open Source Consulting | Domain Registration