I first discovered, that my runlevel 5 does nothing - no GUI, altough /etc/rc.conf is configured to use kdm and kde-3.3.2 my 2nd try was: /etc/X11/startDM.sh Again just nothing. Then I tried: startx - works like expected. So the startDM.sh must be wrong !! Checked to file and found out, that: if [ -e ${svcdir}/options/xdm/service ] translates to /var/lib/init.d/options/xdm/service which does NOT exist. So the Xorg ebuild didn't install all files and directories. This was a 2004.3 stage2 install, then a portage update around end of december 2004 and then a emerge xorg kde. Reproducible: Always Steps to Reproduce: 1. telinit 5 2. /etc/X11/startDM.sh 3. Actual Results: No runlevel 5 with X. Expected Results: Being able to directly start (the gentoo way) into X instead of doing it manually! Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r4 i686) ================================================================= System uname: 2.6.10-gentoo-r4 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r2 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS=" -O3 -pipe -fomit-frame-pointer -ffast-math -mcpu=pentium4 -march=pentium4 " CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS=" -O3 -pipe -fomit-frame-pointer -ffast-math -mcpu=pentium4 -march=pentium4 " DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms" GENTOO_MIRRORS="http://gentoo.inode.at/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.osuosl.org/ http://adelie.polymtl.ca/ http://gentoo.mirrored.ca/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ " MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aac aalib acpi alsa apache2 apm arts async audiofile avantgo avi bash-completion berkdb bitmap-fonts blender-game bootsplash bzip2 bzlib calendar cdparanoia cdr codecs cracklib crypt css cups divx4linux dnsdb droproot dvd dvdr dvdread eds encode escreen ethereal evo exif extensions f77 fam flac font-server foomaticdb gd gdbm geoip gif gimpprint glut gphoto2 gpm icq idea imagemagick imap imlib innodb insecure-drivers irda java jce jpeg jpeg2k junit kde kdexdeltas laptop libg++ libgd libwww lzo lzw lzw-tiff mad md5sum memlimit mhash mikmod mime mjpeg mmap mmx mmx2 mng motif mp3 mpeg mplayer mysql mythtv ncurses network nls nntp nvidia odbc oggvorbis opengl oss pam pcap pda pdf pdflib php png povray qt quicktime readline recode samba scanner sdl secure server session sha1 smime snmp soap sockets spamassassin spell sqlite sse sse2 ssl svg svga tcpd tcpmd5 tga tiff transcode truetype truetype-fonts type1-fonts usb userlocales vnc wavelan wifi wma123 wmf x86 xanim xine xinerama xml xml2 xmlrpc xmms xosd xpm xrandr xscreensaver xv xvid xvmc zlib linguas_de linguas_en linguas_at linguas_us" /etc/portage/package.keywords: net-wireless/wpa_supplicant net-wireless/ndiswrapper net-wireless/linux-wlan-ng net-wireless/madwifi-driver net-wireless/madwifi-tools media-video/nvidia-kernel media-video/nvidia-glx media-video/nvidia-settings x11-base/opengl-update x11-misc/x11vnc app-portage/kentoo
Please see http://www.gentoo.org/doc/en/kde-config.xml (code listing 3.4), and http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=4