Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xsession keychain error - GDM will not log in
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
deniss
n00b
n00b


Joined: 06 Jan 2004
Posts: 17

PostPosted: Wed Jul 03, 2013 9:16 pm    Post subject: Xsession keychain error - GDM will not log in Reply with quote

After a comprehensive update to the system, I cannot log into my machine via GDM when I have "xdm" in my default runlevel. If I don't have xdm in the default runlevel and simply start X by running "startx" command at the terminal, then X starts without a problem and takes me straight into fluxbox, and that's fine. I can also log in remotely into the machine using SSH. But I just cannot log in at the GUI password screen via GDM.

I tried deleting the ~.Xauthority file but that does not help.

Here is the contents of the ~.xsession-errors:

Code:

/etc/X11/gdm/Xsession: Beginning session setup...
which: no keychain in (/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.6.3)

ERROR: The control display is undefined; please run
       `/opt/bin/nvidia-settings --help` for usage information.

/etc/X11/gdm/Xsession: Setup done, will execute: /usr/bin/dbus-launch --exit-with-session /usr/bin/ssh-agent -- startfluxbox
Error: Couldn't connect to XServer
Error: Couldn't connect to XServer


Here is the contents of the Xorg.0.log:

Code:

[   483.042]
X.Org X Server 1.13.4
Release Date: 2013-04-17
[   483.042] X Protocol Version 11, Revision 0
[   483.042] Build Operating System: Linux 3.8.13-gentoo i686 Gentoo
[   483.042] Current Operating System: Linux somehostname 3.8.13-gentoo #2 SMP PREEMPT Sat Jun 29 22:01:10 EDT 2013 i686
[   483.042] Kernel command line: root=/dev/sda3
[   483.042] Build Date: 02 July 2013  10:42:30AM
[   483.042] 
[   483.042] Current version of pixman: 0.28.0
[   483.042]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[   483.042] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   483.042] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jul  3 16:48:41 2013
[   483.043] (==) Using config file: "/etc/X11/xorg.conf"
[   483.043] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   483.043] (==) ServerLayout "X.org Configured"
[   483.043] (**) |-->Screen "Screen0" (0)
[   483.043] (**) |   |-->Monitor "Monitor0"
[   483.043] (**) |   |-->Device "Card0"
[   483.043] (**) |-->Input Device "Mouse0"
[   483.043] (**) |-->Input Device "Keyboard0"
[   483.043] (==) Automatically adding devices
[   483.043] (==) Automatically enabling devices
[   483.043] (==) Automatically adding GPU devices
[   483.043] (WW) The directory "/usr/share/fonts/ttf-bitstream-vera/" does not exist.
[   483.043]    Entry deleted from font path.
[   483.043] (WW) The directory "/usr/share/fonts/default/ghostscript/" does not exist.
[   483.043]    Entry deleted from font path.
[   483.043] (**) FontPath set to:
   /usr/share/fonts/misc/:unscaled,
   /usr/share/fonts/Type1/,
   /usr/share/fonts/75dpi/:unscaled,
   /usr/share/fonts/100dpi/:unscaled,
   /usr/share/fonts/corefonts/,
   /usr/share/fonts/cyrillic/,
   /usr/share/fonts/dejavu/,
   /usr/share/fonts/freefonts/,
   /usr/share/fonts/intlfonts/,
   /usr/share/fonts/terminus/,
   /usr/share/fonts/unifont/,
   /usr/share/fonts/Mathematica/AFM/,
   /usr/share/fonts/Mathematica/BDF/,
   /usr/share/fonts/Mathematica/Type1/,
   /usr/share/fonts/misc/,
   /usr/share/fonts/TTF/,
   /usr/share/fonts/OTF/,
   /usr/share/fonts/Type1/,
   /usr/share/fonts/100dpi/,
   /usr/share/fonts/75dpi/
[   483.043] (**) ModulePath set to "/usr/lib/xorg/modules"
[   483.043] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   483.043] (WW) Disabling Mouse0
[   483.043] (WW) Disabling Keyboard0
[   483.043] (II) Loader magic: 0x8261620
[   483.043] (II) Module ABI versions:
[   483.043]    X.Org ANSI C Emulation: 0.4
[   483.043]    X.Org Video Driver: 13.1
[   483.043]    X.Org XInput driver : 18.0
[   483.043]    X.Org Server Extension : 7.0
[   483.044] (--) PCI:*(0:1:0:0) 10de:01d1:0000:0000 rev 161, Mem @ 0x91000000/16777216, 0x80000000/268435456, 0x90000000/16777216
[   483.044] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   483.044] Initializing built-in extension Generic Event Extension
[   483.044] Initializing built-in extension SHAPE
[   483.044] Initializing built-in extension MIT-SHM
[   483.044] Initializing built-in extension XInputExtension
[   483.044] Initializing built-in extension XTEST
[   483.044] Initializing built-in extension BIG-REQUESTS
[   483.044] Initializing built-in extension SYNC
[   483.044] Initializing built-in extension XKEYBOARD
[   483.044] Initializing built-in extension XC-MISC
[   483.044] Initializing built-in extension XINERAMA
[   483.044] Initializing built-in extension XFIXES
[   483.044] Initializing built-in extension RENDER
[   483.044] Initializing built-in extension RANDR
[   483.044] Initializing built-in extension COMPOSITE
[   483.044] Initializing built-in extension DAMAGE
[   483.044] Initializing built-in extension MIT-SCREEN-SAVER
[   483.044] Initializing built-in extension DOUBLE-BUFFER
[   483.044] Initializing built-in extension RECORD
[   483.044] Initializing built-in extension DPMS
[   483.044] Initializing built-in extension X-Resource
[   483.044] Initializing built-in extension XVideo
[   483.045] Initializing built-in extension XVideo-MotionCompensation
[   483.045] Initializing built-in extension XFree86-VidModeExtension
[   483.045] Initializing built-in extension XFree86-DGA
[   483.045] Initializing built-in extension XFree86-DRI
[   483.045] Initializing built-in extension DRI2
[   483.045] (WW) "dri" will not be loaded unless you've specified it to be loaded elsewhere.
[   483.045] (WW) "dri2" will not be loaded unless you've specified it to be loaded elsewhere.
[   483.045] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[   483.045] (II) LoadModule: "record"
[   483.045] (II) Module "record" already built-in
[   483.045] (II) LoadModule: "extmod"
[   483.045] (II) Module "extmod" already built-in
[   483.045] (II) LoadModule: "dbe"
[   483.045] (II) Module "dbe" already built-in
[   483.045] (II) LoadModule: "glx"
[   483.045] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   483.073] (II) Module glx: vendor="NVIDIA Corporation"
[   483.073]    compiled for 4.0.2, module version = 1.0.0
[   483.073]    Module class: X.Org Server Extension
[   483.073] (II) NVIDIA GLX Module  304.88  Wed Mar 27 14:51:59 PDT 2013
[   483.073] Loading extension GLX
[   483.073] (II) LoadModule: "nvidia"
[   483.073] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   483.073] (II) Module nvidia: vendor="NVIDIA Corporation"
[   483.073]    compiled for 4.0.2, module version = 1.0.0
[   483.073]    Module class: X.Org Video Driver
[   483.073] (II) NVIDIA dlloader X Driver  304.88  Wed Mar 27 14:32:42 PDT 2013
[   483.073] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   483.074] (++) using VT number 8

[   483.076] (II) Loading sub module "fb"
[   483.076] (II) LoadModule: "fb"
[   483.076] (II) Loading /usr/lib/xorg/modules/libfb.so
[   483.076] (II) Module fb: vendor="X.Org Foundation"
[   483.076]    compiled for 1.13.4, module version = 1.0.0
[   483.076]    ABI class: X.Org ANSI C Emulation, version 0.4
[   483.076] (II) Loading sub module "wfb"
[   483.076] (II) LoadModule: "wfb"
[   483.076] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   483.076] (II) Module wfb: vendor="X.Org Foundation"
[   483.076]    compiled for 1.13.4, module version = 1.0.0
[   483.076]    ABI class: X.Org ANSI C Emulation, version 0.4
[   483.077] (II) Loading sub module "ramdac"
[   483.077] (II) LoadModule: "ramdac"
[   483.077] (II) Module "ramdac" already built-in
[   483.077] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[   483.077] (==) NVIDIA(0): RGB weight 888
[   483.077] (==) NVIDIA(0): Default visual is TrueColor
[   483.077] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   483.077] (**) NVIDIA(0): Option "UseEdidDpi" "FALSE"
[   483.077] (**) NVIDIA(0): Enabling 2D acceleration
[   483.482] (II) NVIDIA(GPU-0): Display (NEC AccuSync 120 (CRT-0)) does not support NVIDIA 3D
[   483.482] (II) NVIDIA(GPU-0):     Vision stereo.
[   483.483] (II) NVIDIA(0): NVIDIA GPU GeForce 7300 LE (G72) at PCI:1:0:0 (GPU-0)
[   483.483] (--) NVIDIA(0): Memory: 524288 kBytes
[   483.483] (--) NVIDIA(0): VideoBIOS: 05.72.22.43.01
[   483.483] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   483.483] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
[   483.483] (--) NVIDIA(0): Valid display device(s) on GeForce 7300 LE at PCI:1:0:0
[   483.483] (--) NVIDIA(0):     NEC AccuSync 120 (CRT-0) (connected)
[   483.483] (--) NVIDIA(0):     CRT-1
[   483.483] (--) NVIDIA(0):     TV-0
[   483.483] (--) NVIDIA(0):     DFP-0
[   483.483] (--) NVIDIA(0): NEC AccuSync 120 (CRT-0): 400.0 MHz maximum pixel clock
[   483.483] (--) NVIDIA(0): CRT-1: 400.0 MHz maximum pixel clock
[   483.483] (--) NVIDIA(0): TV-0: 400.0 MHz maximum pixel clock
[   483.484] (--) NVIDIA(0): TV encoder: Unknown
[   483.484] (--) NVIDIA(0): DFP-0: 165.0 MHz maximum pixel clock
[   483.484] (--) NVIDIA(0): DFP-0: Internal Single Link TMDS
[   483.484] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[   483.484] (**) NVIDIA(0):     device NEC AccuSync 120 (CRT-0) (Using EDID frequencies
[   483.484] (**) NVIDIA(0):     has been enabled on all display devices.)
[   483.484] (II) NVIDIA(0): Validated MetaModes:
[   483.484] (II) NVIDIA(0):     "CRT-0:1600x1200"
[   483.484] (II) NVIDIA(0): Virtual screen size determined to be 1600 x 1200
[   483.485] (WW) NVIDIA(0): Unable to support custom viewPortOut 1280 x 720 +0 +152
[   483.485] (**) NVIDIA(0): DPI set to (100, 99); computed from "DisplaySize" Monitor
[   483.485] (**) NVIDIA(0):     section option
[   483.485] (--) Depth 24 pixmap format is 32 bpp
[   483.492] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[   483.492] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[   483.492] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[   483.492] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[   483.492] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[   483.492] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[   483.492] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[   483.492] (II) NVIDIA(0):     Config Options in the README.
[   483.492] (II) NVIDIA(0): Setting mode "CRT-0:1600x1200"
[   483.579] Loading extension NV-GLX
[   483.596] (==) NVIDIA(0): Disabling shared memory pixmaps
[   483.596] (==) NVIDIA(0): Backing store disabled
[   483.597] (==) NVIDIA(0): Silken mouse enabled
[   483.597] (==) NVIDIA(0): DPMS enabled
[   483.597] Loading extension NV-CONTROL
[   483.597] Loading extension XINERAMA
[   483.597] (II) Loading sub module "dri2"
[   483.597] (II) LoadModule: "dri2"
[   483.597] (II) Module "dri2" already built-in
[   483.597] (II) NVIDIA(0): [DRI2] Setup complete
[   483.597] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   483.597] (--) RandR disabled
[   483.607] (II) Initializing extension GLX
[   483.742] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[   483.742] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   483.742] (II) LoadModule: "evdev"
[   483.742] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[   483.742] (II) Module evdev: vendor="X.Org Foundation"
[   483.742]    compiled for 1.13.4, module version = 2.7.3
[   483.742]    Module class: X.Org XInput Driver
[   483.742]    ABI class: X.Org XInput driver, version 18.0
[   483.742] (II) Using input driver 'evdev' for 'Power Button'
[   483.742] (**) Power Button: always reports core events
[   483.742] (**) evdev: Power Button: Device: "/dev/input/event1"
[   483.742] (--) evdev: Power Button: Vendor 0 Product 0x1
[   483.742] (--) evdev: Power Button: Found keys
[   483.743] (II) evdev: Power Button: Configuring as keyboard
[   483.743] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[   483.743] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   483.743] (**) Option "xkb_rules" "evdev"
[   483.743] (**) Option "xkb_model" "evdev"
[   483.743] (**) Option "xkb_layout" "us"
[   483.766] (II) config/udev: Adding input device Sleep Button (/dev/input/event0)
[   483.766] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[   483.766] (II) Using input driver 'evdev' for 'Sleep Button'
[   483.766] (**) Sleep Button: always reports core events
[   483.767] (**) evdev: Sleep Button: Device: "/dev/input/event0"
[   483.767] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[   483.767] (--) evdev: Sleep Button: Found keys
[   483.767] (II) evdev: Sleep Button: Configuring as keyboard
[   483.767] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0/event0"
[   483.767] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 7)
[   483.767] (**) Option "xkb_rules" "evdev"
[   483.767] (**) Option "xkb_model" "evdev"
[   483.767] (**) Option "xkb_layout" "us"
[   483.767] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event4)
[   483.767] (II) No input driver specified, ignoring this device.
[   483.767] (II) This device may have been added with another device file.
[   483.767] (II) config/udev: Adding input device HDA Intel Speaker Surround (/dev/input/event10)
[   483.767] (II) No input driver specified, ignoring this device.
[   483.767] (II) This device may have been added with another device file.
[   483.768] (II) config/udev: Adding input device HDA Intel Speaker Front (/dev/input/event11)
[   483.768] (II) No input driver specified, ignoring this device.
[   483.768] (II) This device may have been added with another device file.
[   483.768] (II) config/udev: Adding input device HDA Intel Line (/dev/input/event5)
[   483.768] (II) No input driver specified, ignoring this device.
[   483.768] (II) This device may have been added with another device file.
[   483.768] (II) config/udev: Adding input device HDA Intel Rear Mic (/dev/input/event6)
[   483.768] (II) No input driver specified, ignoring this device.
[   483.768] (II) This device may have been added with another device file.
[   483.768] (II) config/udev: Adding input device HDA Intel Front Mic (/dev/input/event7)
[   483.768] (II) No input driver specified, ignoring this device.
[   483.768] (II) This device may have been added with another device file.
[   483.769] (II) config/udev: Adding input device HDA Intel Front Headphone (/dev/input/event8)
[   483.769] (II) No input driver specified, ignoring this device.
[   483.769] (II) This device may have been added with another device file.
[   483.769] (II) config/udev: Adding input device HDA Intel Speaker CLFE (/dev/input/event9)
[   483.769] (II) No input driver specified, ignoring this device.
[   483.769] (II) This device may have been added with another device file.
[   483.769] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event2)
[   483.769] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[   483.769] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[   483.769] (**) AT Translated Set 2 keyboard: always reports core events
[   483.769] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event2"
[   483.769] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[   483.769] (--) evdev: AT Translated Set 2 keyboard: Found keys
[   483.769] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[   483.769] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input2/event2"
[   483.769] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 8)
[   483.769] (**) Option "xkb_rules" "evdev"
[   483.769] (**) Option "xkb_model" "evdev"
[   483.769] (**) Option "xkb_layout" "us"
[   483.770] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/event3)
[   483.770] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "evdev pointer catchall"
[   483.770] (II) Using input driver 'evdev' for 'ImPS/2 Generic Wheel Mouse'
[   483.770] (**) ImPS/2 Generic Wheel Mouse: always reports core events
[   483.770] (**) evdev: ImPS/2 Generic Wheel Mouse: Device: "/dev/input/event3"
[   483.770] (--) evdev: ImPS/2 Generic Wheel Mouse: Vendor 0x2 Product 0x5
[   483.770] (--) evdev: ImPS/2 Generic Wheel Mouse: Found 3 mouse buttons
[   483.770] (--) evdev: ImPS/2 Generic Wheel Mouse: Found scroll wheel(s)
[   483.770] (--) evdev: ImPS/2 Generic Wheel Mouse: Found relative axes
[   483.770] (--) evdev: ImPS/2 Generic Wheel Mouse: Found x and y relative axes
[   483.770] (II) evdev: ImPS/2 Generic Wheel Mouse: Configuring as mouse
[   483.770] (II) evdev: ImPS/2 Generic Wheel Mouse: Adding scrollwheel support
[   483.770] (**) evdev: ImPS/2 Generic Wheel Mouse: YAxisMapping: buttons 4 and 5
[   483.770] (**) evdev: ImPS/2 Generic Wheel Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[   483.770] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input3/event3"
[   483.770] (II) XINPUT: Adding extended input device "ImPS/2 Generic Wheel Mouse" (type: MOUSE, id 9)
[   483.770] (II) evdev: ImPS/2 Generic Wheel Mouse: initialized for relative axes.
[   483.770] (**) ImPS/2 Generic Wheel Mouse: (accel) keeping acceleration scheme 1
[   483.770] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration profile 0
[   483.770] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration factor: 2.000
[   483.770] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration threshold: 4
[   483.770] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/mouse0)
[   483.770] (II) No input driver specified, ignoring this device.
[   483.770] (II) This device may have been added with another device file.


X seems to be running fine, and I didn't find any errors in the Xorg.0.log worth paying attention to, but I attached it anyway for completeness.

Is this keychain error due an OpenSSH upgrade? How would I go about solving this?
Back to top
View user's profile Send private message
deniss
n00b
n00b


Joined: 06 Jan 2004
Posts: 17

PostPosted: Thu Jul 04, 2013 2:49 am    Post subject: Reply with quote

I was missing the net-misc/keychain package. It may have been pruned by accident when I was doing 'emerge --depclean' after the major update.

Is this a required package in order to make the GDM login shell work properly?
Back to top
View user's profile Send private message
deniss
n00b
n00b


Joined: 06 Jan 2004
Posts: 17

PostPosted: Fri Jul 05, 2013 12:23 am    Post subject: Reply with quote

I went round-and-round with this problem. Installed keychain, generated keys, made sure OpenSSH was configured ok, downgraded to the previously working version of nvidia-drivers, examined a bunch of X config files, and followed a bunch of different advices from other threads.

I eventually narrowed down that the error below (in .xsession-errors)
Code:

Error: Couldn't connect to XServer


came from

Code:

ssh-agent -- startfluxbox


in the init scrips. But, more specifically, when I ran

Code:
startfluxbox


by itself, I got exactly the same error as above.

So, I re-installed fluxbox, but that did not fix anything. As a final try of desperation, I went through the Gentoo Fluxbox HOWTO and decided to switch from GDM to SLIM display manager, as recommended in that writeup.

After switching to SLIM display manager and installing a few other packages (like xlockmore) recommended in the Gentoo Fluxbox HOWTO, the errors went away, and I was finally able to log in at the X console prompt via SLIM.

I miss GDM because I had the nice "gentoo emergence" theme at login, which I'm very fond of. But at the same time, it's nice to be fully disconnected from the GNOME desktop environment, since I don't run it anyway.

I wonder what made my GDM finally not work - it worked fine for me many years. Maybe some config file(s) got overwritten or deleted or something else. I spent enough time working this out that I'm just happy I finally got this resolved.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum