Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

kde environment does not start after emerge -u world

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
22 posts • Page 1 of 1
Author
Message
muebi
Guru
Guru
Posts: 312
Joined: Fri Nov 07, 2008 8:01 pm

kde environment does not start after emerge -u world

  • Quote

Post by muebi » Thu Aug 27, 2009 11:45 pm

Hi,

I updated my system using emerge -uD world and I did a revdep-rebuild afterwards to fix broken packages.
Now, when I reboot the x server does not start anymore leaving me at the text-based login screen. How can I fix this problem?

I looked at /var/log/messages and there are some lines saying:
kdm[4384]: X Sever died during startup
kdm[4384]: X Sever for display :0 can't be started, session disabled

Thanks.
Top
Kulfaangaren!
Apprentice
Apprentice
Posts: 176
Joined: Sat Jan 11, 2003 5:53 am
Location: Borås, Sweden

  • Quote

Post by Kulfaangaren! » Fri Aug 28, 2009 12:14 am

When you start X the start-up messages and also error messages end up in the file ~/.xsession-errors
This file might tell you what doesn't work with your X setup.
I would also suggest going through your emerge log under /var/log and look for clues as to what package that you installed might have affected your setup in this way.

Good luck

// Fredrik
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
[topic=119906]Join the 'adopt an unanswered post' initiative today[/topic]
Top
BitJam
Advocate
Advocate
Posts: 2513
Joined: Tue Aug 12, 2003 4:15 pm
Location: Silver City, NM

  • Quote

Post by BitJam » Fri Aug 28, 2009 12:34 am

You can also look for error messages in the /var/log/Xorg*.log files.

If you upgraded xorg-server from < 1.5 to >=1.5 then the problem probably lies there. There were some big changes and usually the new X server won't start with the old config files. Here is the upgrade guide.
Top
muebi
Guru
Guru
Posts: 312
Joined: Fri Nov 07, 2008 8:01 pm

  • Quote

Post by muebi » Fri Aug 28, 2009 12:55 am

If I startx then it says something like

(EE) Failed to load module "freetype" (module does not exist, 0)
(EE) Failed to load module "type1" (module does not exist, 0)
(EE) No devices detected

Fatal server errors:
no screens found.

Does this point into the direction that I updated to a version of Xorg > 1.5 and, hence my xorg.conf does not work anymore?
I am also not sure which steps I should proceed (in the upgrade guide) to get things running again. Is it just some line in the xorg.conf that needs to be replaced or do I need to mess around with the kernel now?
Top
BitJam
Advocate
Advocate
Posts: 2513
Joined: Tue Aug 12, 2003 4:15 pm
Location: Silver City, NM

  • Quote

Post by BitJam » Fri Aug 28, 2009 1:25 am

On my system, I have a complete record of what's been emerged in /var/log/emerge.log. Hopefully you can look in that file and see if you upgraded xorg-server recently and also what version you upgraded from.

The other avenue of approach is to Google for the error message you found. The X.org site has this to say:
You get an error message like:

Code: Select all

(EE) No devices detected.
Fatal server error:
no screens found
It is very likely that your xorg.conf file doesn't contain the correct driver(s) for the chipset(s) in your system or that your chipset isn't supported by any of the drivers.
You can check for the detected devices in the log file (in most cases /var/log/Xorg.0.log) by looking for lines like:

Code: Select all

 (--) PCI:*(1:0:0) Neomagic Corporation NM2200 [MagicGraph 256AV] rev 32, Mem @ 0xfd000000/24, 0xfe800000/22, 0xfec00000/20 
In this example the active video device (the one with the *) is a Neomagic NM2200 video chip. In order to get this chipset to work you'd have to use the neomagic driver.
If you are using a distribution you should rerun its configuration tool. If there is no such tool, or if it keeps configuring your Xserver wrong you may want to try xorgcfg, the graphical tool shipped with Xorg. You can also let the server generate a config file: as root just run X -configure.
Please note: If you appear to use the correct driver and you still keep getting this message it is very likely that your chipset isn't supported (yet). In this case you may try the vesa driver or - if this doesn't work - the vga driver. However both are entirely unaccellerated.
It would be good to know what video driver you're using. I use the Nvidia driver which is called "nvidia". I can see if it is loaded by doing:

Code: Select all

$ lsmod | grep nvidia
I can try to load it with:

Code: Select all

$ sudo modprobe nvidia
The rmmod program can be used to unload modules. It could be (best case) that all you have to do is load your video driver.
Top
muebi
Guru
Guru
Posts: 312
Joined: Fri Nov 07, 2008 8:01 pm

  • Quote

Post by muebi » Fri Aug 28, 2009 1:59 am

From my /var/log/emerge.log it seems emerge updated xorg-server from version 1.3.0.0-r6 to 1.5.3-r6 if I understand this correctly

I have the Intel Mobile 4 driver AND ATI Tech. Mobility Radeon HD 3650 and I remember that this was giving me a hard time when I installed gentoo on this box about a year ago...
Top
BitJam
Advocate
Advocate
Posts: 2513
Joined: Tue Aug 12, 2003 4:15 pm
Location: Silver City, NM

  • Quote

Post by BitJam » Fri Aug 28, 2009 2:13 am

Good! Now we know what the problem is.

Here is a very long thread dealing with this issue. You can see that you are not alone.

I would suggest trying to follow the upgrade guide I linked to before. You can tell if you already have evdev in your kernel with:

Code: Select all

$ grep EVDEV /usr/src/linux/.config
Top
muebi
Guru
Guru
Posts: 312
Joined: Fri Nov 07, 2008 8:01 pm

  • Quote

Post by muebi » Fri Aug 28, 2009 2:33 am

It seems that I have EVDEV already built into the kernel. I'll try following the upgrade guide tomorrow and report back with the results.
Do I need to change entires in my /etc/make.conf as suggested in the thread? The upgrade guide does not say that... I'm confused....
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Fri Aug 28, 2009 2:46 am

Hi, can you post this :

Code: Select all

# emerge --info
# equery list xorg
# cat /etc/X11/xorg.conf
# equery list nvidia
Top
BitJam
Advocate
Advocate
Posts: 2513
Joined: Tue Aug 12, 2003 4:15 pm
Location: Silver City, NM

  • Quote

Post by BitJam » Fri Aug 28, 2009 3:47 am

d2_racing wrote:Hi, can you post this :

Code: Select all

...
# equery list nvidia
muebi has an ATI card not Nvidia.
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Fri Aug 28, 2009 12:28 pm

Oups :P

Code: Select all

# equery list ati-drivers
# equery list radeon
Top
muebi
Guru
Guru
Posts: 312
Joined: Fri Nov 07, 2008 8:01 pm

  • Quote

Post by muebi » Fri Aug 28, 2009 5:21 pm

d2_racing, here comes the info:

1. ) emerge --info

Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.27.6 x86_64)
=================================================================
System uname: Linux-2.6.27.6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9400_@_2.53GHz-with-gentoo-1.12.11.1
Timestamp of tree: Thu, 27 Aug 2009 18:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p39
dev-java/java-config: 1.3.7, 2.1.8-r1
dev-lang/python: 2.4.4-r13, 2.5.2-r7, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
dev-util/cmake: 2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/dis ... ons/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dts dvd dvdr eds emboss encode esd evo fam firefox flac fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kpathsea ldap libnotify mad mikmod mmx mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fglrx radeon intel vesa vga"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


2.) equery list xorg

[ Searching for package 'xorg' in all categories among: ]
* installed packages
[I--] [ ] app-doc/xorg-docs-1.4-r1 (0)
[I--] [ ] x11-base/xorg-server-1.5.3-r6 (0)
[I--] [ ] x11-base/xorg-x11-7.2 (0)
[I--] [ ] x11-misc/xorg-cf-files-1.0.2 (0)

3.) cat /etc/X11/xorg.conf

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
EndSection

Section "Files"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "thinkpad60"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Samsung SyncMaster"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
EndSection

Section "Device"
Identifier "Card0"
Driver "vesa"
Option "NoLogo" "True"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "fglrx"
VendorName "ATI Corporation"
BoardName "Radeo 4850"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Configured Monitor"
DefaultDepth 24
EndSection

#Section "Screen"
# Identifier "Screen0"
# Device "Videocard0"
# Monitor "Monitor0"
# DefaultDepth 24
# Option "TwinView" "0"
# Option "TwinViewXineramaInfoOrder" "DFP-0"
# Option "metamodes" "DFP-0: 1680x1050 +0+0"
#EndSection

4.) equery list ati-drivers

[ Searching for package 'ati-drivers' in all categories among: ]
* installed packages

5.) equery list radeon

[ Searching for package 'radeon' in all categories among: ]
* installed packages
[I--] [ ] app-laptop/radeontool-1.5-r3 (0)


Any suggestions what to change?
Top
muebi
Guru
Guru
Posts: 312
Joined: Fri Nov 07, 2008 8:01 pm

  • Quote

Post by muebi » Fri Aug 28, 2009 6:05 pm

Can anybody tell me what fdi file I have to choose in my case? I have a laptop with US keyboard, mouse, touchpad plus the "red IBM/Lenovo control nipple"....

ls /usr/share/doc/hal-0.5.11-r9/ gives:

AUTHORS.bz2 use-kbd-driver.fdi.bz2
ChangeLog.bz2 use-mouse-driver.fdi.bz2
NEWS.bz2 use-multiple-layouts-with-kbd.fdi.bz2
README.bz2 use-multiple-layouts.fdi.bz2
use-estonian-layout.fdi.bz2
Top
muebi
Guru
Guru
Posts: 312
Joined: Fri Nov 07, 2008 8:01 pm

  • Quote

Post by muebi » Fri Aug 28, 2009 10:07 pm

I keep poking around following some ideas in the forum but I am still stuck and I don't understand what the real problem is.

startx always gives

(EE) No devices detected.

Fatal server error:
no screens found
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Sat Aug 29, 2009 4:15 am

Hi, you need to add evdev.

Like this :

Code: Select all

INPUT_DEVICES="keyboard mouse evdev"
After that, run this :

Code: Select all

# emerge -auDNv world
and retry
Top
muebi
Guru
Guru
Posts: 312
Joined: Fri Nov 07, 2008 8:01 pm

  • Quote

Post by muebi » Sat Aug 29, 2009 10:10 pm

I tried what you suggested but still the same problem.
I can get rid of the freetype and type1 errors by commenting these lines but I still get the "no devices detected" error and X won't come up.
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Sun Aug 30, 2009 1:29 am

Hi, can you post this :

Code: Select all

# rc-update show
Top
muebi
Guru
Guru
Posts: 312
Joined: Fri Nov 07, 2008 8:01 pm

  • Quote

Post by muebi » Mon Aug 31, 2009 3:35 pm

Hi,

This is the output of
rc-update show

acpid | boot
alsasound | boot
anacron | default
bootmisc | boot
checkfs | boot
checkroot | boot
clock | boot
consolefont | boot
cupsd | default
dbus | battery default
dhcdbd | default
hald | battery default
hostname | boot
keymaps | boot
local | battery default nonetwork
localmount | boot
modules | boot
net.eth0 | default
net.lo | boot
netmount | battery default
rmnologin | boot
syslog-ng | battery default
urandom | boot
vixie-cron | default
wicd | default
xdm | battery default
Top
muebi
Guru
Guru
Posts: 312
Joined: Fri Nov 07, 2008 8:01 pm

  • Quote

Post by muebi » Mon Aug 31, 2009 5:37 pm

Hi,

I really need to get this going again. Is there any fallback option in case xorg-server1.5 doesn't work with my configuration or whatever
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Mon Aug 31, 2009 5:43 pm

Yes, boot without any /etc/X11/xorg.conf

You will endup with the VESA driver and a US keyboard by default.
Top
muebi
Guru
Guru
Posts: 312
Joined: Fri Nov 07, 2008 8:01 pm

  • Quote

Post by muebi » Mon Aug 31, 2009 6:25 pm

I just renamed my xorg.conf file and tried startx without any config file. Is this what you meant?
It says new driver is VESA but then

(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) No devices detected.
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Tue Sep 01, 2009 11:29 am

Ok, plz add this fbdev inside your /etc/make.conf :

Code: Select all

VIDEO_CARDS="fbdev fglrx radeon intel vesa vga" 
Also, you should disable the framebuffer feature inside your kernel config, just to be sure that you can start your X server at least without any gadgets.
Top
Post Reply

22 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic