Booting into GDM from a fresh reboot and, after I've logged into GDM, it takes an enormous amount of time to log out of GDM and get back to the login prompt. I followed the Gnome-Light installation under the Gentoo manual and have had several problems with my Gentoo build. I've fixed all but this one. This one being it takes too long to log in/out of GDM. Too long as in about 3+ minutes. Reproducible: Always Steps to Reproduce: 1. Reboot System and when GDM starts to load 2. or, after GDM has finally loaded, log in and then log out Actual Results: Either option will take a while before you get a login prompt to show up, a long time as in 3+ minutes Expected Results: It should take only a reasonable amount of time to load - less than 30 seconds This may help determin my problem... Code: /etc/pam.d/gdm #%PAM-1.0 auth optional pam_env.so auth include system-login auth required pam_nologin.so account include system-login password include system-login session include system-auth #Keyring=session optional pam_gnome_keyring.so auto_start Code: /etc/nsswitch.conf passwd: compat shadow: compat group: compat hosts: files dns networks: files dns services: db files protocols: db files rpc: db files ethers: db files netmasks: files netgroup: files bootparams: files automount: files aliases: files Code: /etc/pam.d/system-auth auth required pam_env.so auth required pam_unix.so try_first_pass likeauth nullok account required pam_unix.so password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 try_first_pass retry=3 password required pam_unix.so try_first_pass use_authtok nullok md5 shadow session required pam_limits.so session required pam_env.so session required pam_unix.so
which version of gdm and gnome-session are you using ? Also you might want to attach ~/.xsession-errors, look for error message in you syslog or in /var/log/gdm/ and also attach emerge --info.
*** Bug 262907 has been marked as a duplicate of this bug. ***
CODE: emerge --info Portage 2.1.6.4 (default/linux/x86/2008.0/server, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r8 i686) ================================================================= System uname: Linux-2.6.27-gentoo-r8-i686-Intel-R-_Pentium-R-_4_CPU_1.70GHz-with-glibc2.0 Timestamp of tree: Tue, 17 Feb 2009 20:45:02 +0000 app-shells/bash: 3.2_p17-r1 dev-lang/python: 2.4.4-r13 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo " LANG="C" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" 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 acl apache2 avahi berkdb bzip2 cli cracklib crypt cups dbus dri fortran gdbm gif gnome gpm gtk hal iconv ipv6 isdnlog jpeg ldap mailwrapper midi mp3 mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl png pppd python readline reflection session snmp spl ssl sysfs tcpd tiff truetype unicode wav x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fglrx" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY CODE: nano -w /var/log/gdm/:0.log.1 X Window System Version 1.3.0 Release Date: 19 April 2007 X Protocol Version 11, Revision 0, Release 1.3 Build Operating System: UNKNOWN Current Operating System: Linux triton 2.6.27-gentoo-r8 #1 SMP Tue Feb 17 11:12:53 CST 2009 i686 Build Date: 25 February 2009 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 Mar 17 10:52:37 2009 (EE) Unable to locate/open config file New driver is "ati" (==) Using default built-in configuration (55 lines) (WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1) found (EE) open /dev/fb0: No such file or directory FATAL: Module radeon not found. (EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM [dri] Disabling DRI. (II) Module already built-in (II) Module already built-in NTSC PAL CODE: nano -w /var/log/gdm/:0.log.2 X Window System Version 1.3.0 Release Date: 19 April 2007 X Protocol Version 11, Revision 0, Release 1.3 Build Operating System: UNKNOWN Current Operating System: Linux triton 2.6.27-gentoo-r8 #1 SMP Tue Feb 17 11:12:53 CST 2009 i686 Build Date: 25 February 2009 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 Mar 17 10:47:39 2009 (EE) Unable to locate/open config file New driver is "ati" (==) Using default built-in configuration (55 lines) (WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1) found (EE) open /dev/fb0: No such file or directory FATAL: Module radeon not found. (EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM [dri] Disabling DRI. (II) Module already built-in (II) Module already built-in NTSC PAL finished output detect: 0 finished output detect: 1 finished output detect: 2 finished all detect before xf86InitialConfiguration in RADEONProbeOutputModes after xf86InitialConfiguration (II) Module already built-in Entering TV Save Save TV timing tables saveTimingTables: reading timing tables TV Save done disable montype: 1 disable montype: 1 init memmap init common init crtc1 init pll1 freq: 65000000 best_freq: 65000000 best_feedback_div: 260 best_ref_div: 27 best_post_div: 4 restore memmap restore common restore crtc1 restore pll1 finished PLL1 restore dac enable montype: 1 disable montype: 1 (EE) AIGLX: Screen 0 is not DRI capable enable montype: 1 disable montype: 1 finished PLL2 finished PLL1 Entering Restore TV Restore TV PLL Restore TVHV Restore TV Restarts Restore Timing Tables Restore TV standard Leaving Restore TV FreeFontPath: FPE "/usr/share/fonts/misc/" refcount is 2, should be 1; fixing. CODE: nano -w /var/log/gdm/:0.log.2 X Window System Version 1.3.0 Release Date: 19 April 2007 X Protocol Version 11, Revision 0, Release 1.3 Build Operating System: UNKNOWN Current Operating System: Linux triton 2.6.27-gentoo-r8 #1 SMP Tue Feb 17 11:12:53 CST 2009 i686 Build Date: 25 February 2009 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 Mar 17 09:55:17 2009 (EE) Unable to locate/open config file New driver is "ati" (==) Using default built-in configuration (55 lines) (WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1) found (EE) open /dev/fb0: No such file or directory FATAL: Module radeon not found. (EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM [dri] Disabling DRI. (II) Module already built-in (II) Module already built-in NTSC PAL finished output detect: 0 finished output detect: 1 finished output detect: 2 finished all detect before xf86InitialConfiguration in RADEONProbeOutputModes after xf86InitialConfiguration (II) Module already built-in Entering TV Save Save TV timing tables saveTimingTables: reading timing tables TV Save done disable montype: 1 disable montype: 1 init memmap init common init crtc1 init pll1 freq: 65000000 best_freq: 65000000 best_feedback_div: 260 best_ref_div: 27 best_post_div: 4 restore memmap restore common restore crtc1 restore pll1 finished PLL1 restore dac enable montype: 1 disable montype: 1 (EE) AIGLX: Screen 0 is not DRI capable enable montype: 1 BOGUS LENGTH in write keyboard desc, expected 5228, got 5232 disable montype: 1 finished PLL2 finished PLL1 Entering Restore TV Restore TV PLL Restore TVHV Restore TV Restarts Restore Timing Tables Restore TV standard Leaving Restore TV FreeFontPath: FPE "/usr/share/fonts/misc/" refcount is 2, should be 1; fixing.
Looks like I've got a few problems, but one of the major ones seems to be with my video card driver. I don't get it. I've got an ATI Radeon video card.
Downloaded driver from: http://support.amd.com/us/gpudownload/pages/linux64-radeon-prer200.aspx Followed instructions from: https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/linux_8.28.8-inst.html Also followed these instructions: http://www.linuxquestions.org/questions/linux-hardware-18/better-driver-for-ati-radeon-9250-394302/ CODE: nano -w /etc/fstab shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 (confirmed this was in fstab) CODE: emerge glibc (this completed) CODE: emerge rpm (this completed CODE: rpm -ivh /root/Desktop/fglrx64_6_8_0-8.28.8-1.x86_64.rpm (tried to install the ATI driver and got the below error) error: Failed dependencies: /bin/sh is needed by fglrx64_6_8_0-8.28.8-1.x86_64 ld-linux.so.2 is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libc.so.6 is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libdl.so.2 is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libexpat.so.1 is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libfontconfig.so.1 is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libfreetype.so.6 is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libgcc_s.so.1 is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libICE.so.6 is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libm.so.6 is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libpthread.so.0 is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libSM.so.6 is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libstdc++.so.5 is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libX11.so.6 is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libXcursor.so.1 is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libXext.so.6 is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libXft.so.2 is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libXinerama.so.1 is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libXmu.so.6 is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libXrandr.so.2 is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libXrender.so.1 is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libXt.so.6 is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libXxf86vm.so.1 is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libz.so.1 is needed by fglrx64_6_8_0-8.28.8-1.x86_64 librt.so.1 is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /bin/bash is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libc.so.6(GLIBC_2.0) is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libc.so.6(GLIBC_2.1) is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libc.so.6(GLIBC_2.1.3) is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libc.so.6(GLIBC_2.2) is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libc.so.6(GLIBC_2.2.5)(64bit) is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libc.so.6(GLIBC_2.3)(64bit) is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libdl.so.2(GLIBC_2.0) is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libdl.so.2(GLIBC_2.1) is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libdl.so.2(GLIBC_2.2.5)(64bit) is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libgcc_s.so.1(GCC_3.0) is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libgcc_s.so.1(GLIBC_2.0) is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libm.so.6(GLIBC_2.0) is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libm.so.6(GLIBC_2.1) is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libm.so.6(GLIBC_2.2) is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libm.so.6(GLIBC_2.2.5)(64bit) is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libpthread.so.0(GLIBC_2.0) is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libpthread.so.0(GLIBC_2.1) is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by fglrx64_6_8_0-8.28.8-1.x86_64 librt.so.1(GLIBC_2.2) is needed by fglrx64_6_8_0-8.28.8-1.x86_64 librt.so.1(GLIBC_2.2.5)(64bit) is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libstdc++.so.5(GLIBCPP_3.2) is needed by fglrx64_6_8_0-8.28.8-1.x86_64 libstdc++.so.5(GLIBCPP_3.2)(64bit) is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /etc/ati is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /etc is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /lib/modules/fglrx/build_mod/2.6.x is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /lib/modules/fglrx/build_mod is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /lib/modules/fglrx is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /opt/kde3/share/applnk is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /usr/X11R6/bin is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /usr/X11R6/include/X11/extensions is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /usr/X11R6/lib is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /usr/X11R6/lib/modules/dri is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /usr/X11R6/lib64 is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /usr/X11R6/lib64/modules/dri is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /usr/X11R6/lib64/modules/drivers is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /usr/X11R6/lib64/modules/linux is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /usr/include/GL is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /usr/sbin is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /usr/share/applnk is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /usr/share/doc/fglrx is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /usr/share/doc/fglrx/articles is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /usr/share/doc/fglrx/examples/etc/acpi is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /usr/share/doc/fglrx/examples/etc/acpi/events is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /usr/share/doc/fglrx/examples/etc/init.d is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /usr/share/doc/fglrx/release-notes/images is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /usr/share/doc/fglrx/release-notes is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /usr/share/doc/fglrx/user-manual is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /usr/share/gnome/apps is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /usr/share/icons is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /usr/share/man/man8 is needed by fglrx64_6_8_0-8.28.8-1.x86_64 /usr/src/ATI is needed by fglrx64_6_8_0-8.28.8-1.x86_64
I tried something different.... I took the following steps CODE: nano -w /etc/portage/package.keywords (created this file) x11-libs/libdrm CODE: nano -w /etc/X11/xorg.conf (changed the driver from "fglrx" to "radeon" Identifier "Card0" Driver "radeon" VendorName "ATI Technologies Inc" BoradName "RV280 [Radeon 9200 PRO] BusID "PCI:1:0:0" CODE: emerge -uav libdrm GDM still loads very slowly....... So I did the following....... CODE: nano -w /etc/X11/xorg.conf (changed the driver from "radeon" to "vesa") Identifier "Card0" Driver "vesa" VendorName "ATI Technologies Inc" BoradName "RV280 [Radeon 9200 PRO] BusID "PCI:1:0:0" FINALLY, GDM loads quickly.... I know this doesn't actually fix my problem, but for now it is a work around. I think there is something wrong with the ATI/Radeon driver.... Maybe someone here can offer some advice. Thanks!
Found the problem with this issue, but I'm not experienced enough to fix it. I've been speaking with Walt in several emails. He says the ATI drivers haven't been worked on since Sept 2008 and that it isn't compatible with the latest Gentoo kernel. Ultimatly, a bug should be filed against 8.501. To get around this issue, I did add a line to my package.keyword file, but this did not fix the problem. We need to complie a new ATI driver that is compatible with the latest Gentoo kernel. Walt says, "Sept 2008 was the last time anyone looked at it, and the linux kernel changes faster than that." "The Changelog shows a lot of attention being paid to 8.542, including the fix for one of the errors we see with 8.501, so I'd suggest adding a line for ati-drivers to your /etc/portage/package.keyword file so you can build the ~x86 versions, which are more likely to build." "Of course a bug should be filed against 8.501, but I suspect that the ~x86 versions will be stable before the bug report gets any attention."
Someone please let me know if this driver gets fixed. Thanks!
@lu_zero, je_fro, thought it might be of some interest to you.
How are things nowadays with ati-drivers-9* ?
please get back to us.
(In reply to comment #12) > please get back to us. > I wasn't ever able to get this working. I'm positive it was due to a lack of up-to-date ATI drivers for that version of the Gentoo kernel; which at the time, was the latest version of the kernel. I basically gave up on getting the problem fixed and moved on to something else. The vesa drivers seemed to work ok for anyone else attempting this. Perhaps in a newer kernel, the ATI drivers may work, but I haven't tried it. It's a lot of work just to find out it's not going to work. The computer I was using when I got this error was a laptop. Since then, I've determined Gentoo is best suited for a server environment and not necessarily for a workstation/laptop. If I want a workstation build, I'll just have to use another distro. Gentoo is very secure and stable when doing what it does best. so to me, it works best as a server. At some point I'll probably test it again on a VM, but not on my laptop until these types of problems get worked out. Good luck!
Reopening
Closing with the proper resolution, thanks for getting back to us.