LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   "Fatal server error: no screens found" in gentoo (https://www.linuxquestions.org/questions/linux-distributions-5/fatal-server-error-no-screens-found-in-gentoo-515912/)

andrewshen123 01-03-2007 10:26 AM

"Fatal server error: no screens found" in gentoo
 
Whenever I try to startx, I get the "Fatal server error: no screens found" message. A complete newb to Linux, I have no idea what to do. Can anyone here help me?

Here is my xorg.conf:

Section "ServerLayout"
Identifier "X.Org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
# PS/2 Mouse not detected
# Serial Mouse not detected
InputDevice "USB Mouse" "AlwaysCore"
#No Synaptics touchpad found
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "true"

EndSection

Section "Files"
FontPath "/usr/share/fonts/util"
FontPath "/usr/share/fonts/encodings"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/terminus"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/local/share/fonts"
FontPath "/usr/share/fonts/default"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/type1"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/arphicfonts"
FontPath "/usr/share/fonts/jisx0213"
FontPath "/usr/share/fonts/shinonome"
FontPath "/usr/share/fonts/baekmuk-fonts"
FontPath "/usr/share/fonts/kacst-fonts"
FontPath "/usr/share/fonts/sgi-fonts"
FontPath "/usr/share/fonts/unfonts"
FontPath "/usr/share/fonts/default/ghostscript"
FontPath "/usr/share/fonts/xfonts-cronyx-100dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-75dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-misc:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-100dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-75dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-misc"
FontPath "/usr/share/fonts/xfonts-cronyx-cp1251-100dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-cp1251-75dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-cp1251-misc:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-cp1251-100dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-cp1251-75dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-cp1251-misc"
FontPath "/usr/share/fonts/xfonts-cronyx-isocyr-100dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-isocyr-75dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-isocyr-misc:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-isocyr-100dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-isocyr-75dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-isocyr-misc"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8r-100dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8r-75dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8r-misc:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8r-100dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8r-75dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8r-misc"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8u-100dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8u-75dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8u-misc:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8u-100dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8u-75dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8u-misc"
EndSection

Section "Module"
Load "ddc"
Load "vbe"
Load "GLcore"
Load "dbe"
Load "dri"
Load "extmod"
Load "glx"
Load "bitmap"
Load "type1"
Load "freetype"
Load "record"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbOptions" "grp:toggle,grp_led:scroll"
Option "XkbVariant" ",winkeys"
EndSection

Section "InputDevice"
Identifier "Serial Mouse"
Driver "mouse"
Option "Protocol" "Microsoft"
Option "Device" "/dev/ttyS0"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection

Section "InputDevice"
Identifier "PS/2 Mouse"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/misc/psaux"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "SendCoreEvents" "true"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection

Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "Protocol" "event"
Option "Device" ""
Option "LeftEdge" "1900"
Option "RightEdge" "5400"
Option "TopEdge" "1900"
Option "BottomEdge" "4000"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.02"
Option "MaxSpeed" "0.10"
Option "AccelFactor" "0.0010"
Option "SHMConfig" "on"
EndSection

# Auto-generated by mkxf86config

Section "Monitor"
Identifier "Monitor0"
HorizSync 28.0 - 96.0
VertRefresh 50.0 - 75.0
EndSection

Section "Device"
### Available Driver options are:-
# sw_cursor is needed for some ati and radeon cards
Option "sw_cursor"
#Option "hw_cursor"
#Option "NoAccel"
#Option "ShowCache"
#Option "ShadowFB"
#Option "UseFBDev"
#Option "Rotate"
Identifier "Card0"
# The following line is auto-generated by x11-misc/mkxf86config
Driver "radeon"
VendorName "All"
BoardName "All"
# BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

uselpa 01-03-2007 12:47 PM

Try changing
Code:

Screen 0 "Screen0" 0 0
to
Code:

Screen "Screen0"
.

bitva 01-03-2007 12:48 PM

Try to modify the HorizSync and VertRefresh settings in the Monitor Section. Find out what your monitor can handle and set it to that. Your HorizSync looks fine, maybe change the "lower" setting on the VertRefresh to 45, 43 or something. Be carefull though, there is a slight chance in damaging the monitor (but to be honest, I've messed with these settings alot..and drastically and never have).

psisquare 01-03-2007 12:57 PM

If the above didn't help, please post the output of
Code:

grep EE /var/log/Xorg.0.log
.

P.S.: I'm pleasently surprised to see a Linux newbie starting with my favorite distro :)

andrewshen123 01-04-2007 04:18 PM

Thanks for the replies everyone, however it's still not working. I checked my moniter's specs and it can in fact handle the 75Hz refresh rate. I tried lowering it anyways, but it didn't help.

Here is the Xorg log:

(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) Failed to load module "radeon" (module does not exist, 0)
(EE) Failed to load module "mouse" (module does not exist, 0)
(EE) Failed to load module "kbd" (module does not exist, 0)
(EE) No drivers available

psisquare 01-04-2007 04:46 PM

Quote:

Originally Posted by andrewshen123
(EE) Failed to load module "radeon" (module does not exist, 0)
(EE) Failed to load module "mouse" (module does not exist, 0)
(EE) Failed to load module "kbd" (module does not exist, 0)

Ah, there you are. Xorg can't find the driver modules. Probably you forgot to add the cooresponding flags to your /etc/make.conf:
Code:

VIDEO_CARDS="radeon"
INPUT_DEVICES="mouse keyboard"

After adding this, remerge x11-base/xorg-server and you should be up and running. :)

andrewshen123 01-04-2007 05:03 PM

Code:

emerge x11-base/xorg-server
gives an error. I have edited make.conf though.

psisquare 01-05-2007 03:27 PM

More details, please. Usually, the first few error lines are most interesting.

kernel_geek 01-05-2007 04:14 PM

I would just start again use this guide then install drivers on nvidia divers on website (nvidia.com using guide)

PS why the hello are you using Gentoo if your a "linux noob" GEt ubuntu instead. I barely understand gentoo and i have been using gentoo for years.

andrewshen123 01-05-2007 04:44 PM

I'm using gentoo as both ubuntu and kubuntu didn't even load the live cd for some reason.

Okay, the error message. At the top, in big red letters, there is:

Code:

!!! INVALID PORTDIR_OVERLAY (not a dir): /root/livecd/overlays/portage
Beneath that, the next errors in the log I could find were all in this form:

Code:

Resolving [insert url here]... failed: Temporary failure in name resolution.
There were around five of those in total. In between there were some non-error messages which I don't think are relevent, so if you need them, ask.

Finally, at the bottom of the log, there was this:

Code:

!!! Couldn't download util-macros-1.0.2.tar.bz2. Aborting.

psisquare 01-06-2007 12:58 PM

This looks like you copied over the make.conf from the live cd. You're meant to write a new one upon installation.

The next steps would probably be to remove the PORTDIR_OVERLAY line from make.conf and make sure your network is set up properly, but you will probably run into other problems. Please do read the excellent Gentoo Handbook; manually installing Gentoo is not self-explanatory at all.

The advantage of a manual installation is that you can tune everything according to your needs. If you don't want this, you can still install Gentoo. Either using the graphical installer on the live cd or one of the Gentoo based distributions like Sabayon or Kororaa.

andrewshen123 01-06-2007 02:25 PM

Quote:

Originally Posted by psisquare
This looks like you copied over the make.conf from the live cd. You're meant to write a new one upon installation.

Actually, I just let the command line installer do the work for me. Guess it failed :P.

Anyways, I've removed the PORTDIR_OVERLAY line from make.conf, which removed that error, but the rest remain. I've read the Networking part of the handbook, but it didn't explain things that clearly.

I've also noticed a file, /etc/resolv.conf, that may have something to do with it, but I don't know what.

psisquare 01-06-2007 03:10 PM

Quote:

Originally Posted by andrewshen123
Actually, I just the command line installer do the work for me. Guess it failed :P.

That may well be. I also had some problems with the installer (but a bit earlier in the installation) and went for the manual install.

You may want to report the bugs you found at http://bugs.gentoo.org. In any case I'd recommend starting the installation all over again using a different method (graphical installer, manual installation, Sabayon, Kororaa, ...).

If you still want to fix your current system: yes, resolv.conf is definitely involved. Most importantly, it should list at least one nameserver with its IP address (see "man resolv.conf" for details). This could be the cause of your "Temporary failure in name resolution", but it could also be that your network card isn't set up correctly. The details of this depend very much upon how your computer is connected to the internet. If the network section of the Gentoo handbook didn't help, you'll have to post back with more details (how is it supposed to work, output of "ifconfig" etc.). There are also several guides/HOWTOs related to Linux networking here and here.

andrewshen123 01-06-2007 04:40 PM

Re-installing really isn't the best option right now. Do you have any more ideas that could help? Otherwise, I will see if I can re-install it.

psisquare 01-06-2007 08:13 PM

Well, the point is that I don't know how much the installer did mess up and you don't know how things are supposed to work (yet), so getting everything straight might prove tedious. It may or may not be done with fixing the immediate problem of missing internet connectivity.

Nevertheless, if you post details about your network hardware and what exactly goes wrong if you try to follow the network setup detailed in the Gentoo handbook, I'll try to point you in the right direction. I just don't see how this could be less work (for you!) than re-installing at this point.


All times are GMT -5. The time now is 02:44 PM.