Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gdm greeter crashes
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
lyonsd
Apprentice
Apprentice


Joined: 02 Mar 2005
Posts: 153
Location: Flowery Branch, GA

PostPosted: Mon Jul 25, 2005 11:09 pm    Post subject: gdm greeter crashes Reply with quote

I've been getting the gdm greeter crashing errors a few kernel upgrades ago. I seached the forums and found where some other people experienced the problem and fixed it by reemerging and building a new kernel. That didn't work for me. How do I troubleshoot this? Thanks.
_________________
Dave
Back to top
View user's profile Send private message
lyonsd
Apprentice
Apprentice


Joined: 02 Mar 2005
Posts: 153
Location: Flowery Branch, GA

PostPosted: Mon Jul 25, 2005 11:14 pm    Post subject: More info Reply with quote

Code:

# grep gdm messages
Jul 25 13:32:48 lyons00g gdm[11671]: PAM unable to dlopen(/lib/security/pam_cons
ole.so)
Jul 25 13:32:48 lyons00g gdm[11671]: PAM [dlerror: /lib/security/pam_console.so:
 cannot open shared object file: No such file or directory]
Jul 25 13:32:48 lyons00g gdm[11671]: PAM adding faulty module: /lib/security/pam
_console.so
Jul 25 13:33:00 lyons00g gdm[11931]: failsafe dialog failed (inhibitions: 0 0)
Jul 25 13:33:00 lyons00g gdm[11931]: failsafe dialog failed (inhibitions: 0 1)
Jul 25 13:33:05 lyons00g gdm[11862]: PAM unable to dlopen(/lib/security/pam_cons
ole.so)
Jul 25 13:33:05 lyons00g gdm[11862]: PAM [dlerror: /lib/security/pam_console.so:
 cannot open shared object file: No such file or directory]
Jul 25 13:33:05 lyons00g gdm[11862]: PAM adding faulty module: /lib/security/pam
_console.so
Jul 25 13:33:13 lyons00g gdm(pam_unix)[11862]: session opened for user david by
(uid=0)
Jul 25 18:57:20 lyons00g gdm(pam_unix)[11862]: session closed for user david
Jul 25 18:57:20 lyons00g gdm[11693]: GDM restarting ...
Jul 25 18:57:21 lyons00g gdm[11693]: gdm_config_parse: Greeter not found or can'
t be executed by the gdm user
Jul 25 18:57:21 lyons00g gdm[11693]: gdm_config_parse: Remote greeter not found
or can't be executed by the gdm user
Jul 25 18:57:21 lyons00g gdm[11693]: PAM unable to dlopen(/lib/security/pam_cons
ole.so)
Jul 25 18:57:21 lyons00g gdm[11693]: PAM [dlerror: /lib/security/pam_console.so:
 cannot open shared object file: No such file or directory]
Jul 25 18:57:21 lyons00g gdm[11693]: PAM adding faulty module: /lib/security/pam
_console.so
Jul 25 18:57:27 lyons00g gdm[22927]: gdm_slave_greeter: Cannot start greeter wit
h gtk modules: gail:atk-bridge:/usr/lib/gtk-2.0/modules/libkeymouselistener:/usr
/lib/gtk-2.0/modules/libdwellmouselistener. Trying without modules
Jul 25 18:57:27 lyons00g gdm[22927]: gdm_slave_greeter: Cannot start greeter try
ing default: /usr/libexec/gdmlogin
Jul 25 18:57:29 lyons00g gdm[22865]: PAM unable to dlopen(/lib/security/pam_cons
ole.so)
Jul 25 18:57:29 lyons00g gdm[22865]: PAM [dlerror: /lib/security/pam_console.so:
 cannot open shared object file: No such file or directory]
Jul 25 18:57:29 lyons00g gdm[22865]: PAM adding faulty module: /lib/security/pam
_console.so
Jul 25 18:57:44 lyons00g gdm[23008]: gdm_slave_greeter: Cannot start greeter wit
h gtk modules: gail:atk-bridge:/usr/lib/gtk-2.0/modules/libkeymouselistener:/usr
/lib/gtk-2.0/modules/libdwellmouselistener. Trying without modules
Jul 25 18:57:44 lyons00g gdm[23008]: gdm_slave_greeter: Cannot start greeter try
ing default: /usr/libexec/gdmlogin
Jul 25 18:57:44 lyons00g gdm[22940]: PAM unable to dlopen(/lib/security/pam_cons
ole.so)
Jul 25 18:57:44 lyons00g gdm[22940]: PAM [dlerror: /lib/security/pam_console.so:
 cannot open shared object file: No such file or directory]
Jul 25 18:57:44 lyons00g gdm[22940]: PAM adding faulty module: /lib/security/pam
_console.so
Jul 25 18:58:03 lyons00g gdm(pam_unix)[22940]: session opened for user david by
(uid=0)
Jul 25 19:02:08 lyons00g gdm(pam_unix)[22940]: session closed for user david
Jul 25 19:02:13 lyons00g gdmgreeter[23245]: keymouselistener loaded.
Jul 25 19:02:13 lyons00g gdmgreeter[23245]: gesture parsed for mouse button 1
Jul 25 19:02:13 lyons00g gdmgreeter[23245]: gesture parsed for mouse button 3
Jul 25 19:02:13 lyons00g gdmgreeter[23245]: gesture parsed for switch button 1
Jul 25 19:02:13 lyons00g gdmgreeter[23245]: gesture parsed for key button 115
Jul 25 19:02:13 lyons00g gdmgreeter[23245]: gesture parsed for key button 109
Jul 25 19:02:13 lyons00g gdmgreeter[23245]: gesture parsed for key button 103
Jul 25 19:02:13 lyons00g gdmgreeter[23245]: checking 3 input devices...
Jul 25 19:02:17 lyons00g gdm[23327]: keymouselistener loaded.
Jul 25 19:02:17 lyons00g gdm[23327]: gesture parsed for mouse button 1
Jul 25 19:02:17 lyons00g gdm[23327]: gesture parsed for mouse button 3
Jul 25 19:02:17 lyons00g gdm[23327]: gesture parsed for switch button 1
Jul 25 19:02:17 lyons00g gdm[23327]: gesture parsed for key button 115
Jul 25 19:02:17 lyons00g gdm[23327]: gesture parsed for key button 109
Jul 25 19:02:17 lyons00g gdm[23327]: gesture parsed for key button 103
Jul 25 19:02:17 lyons00g gdm[23327]: checking 3 input devices...
Jul 25 19:02:17 lyons00g gdm[23326]: failsafe dialog failed (inhibitions: 0 0)
Jul 25 19:02:17 lyons00g gdm[23328]: keymouselistener loaded.
Jul 25 19:02:17 lyons00g gdm[23328]: gesture parsed for mouse button 1
Jul 25 19:02:17 lyons00g gdm[23328]: gesture parsed for mouse button 3
Jul 25 19:02:17 lyons00g gdm[23328]: gesture parsed for switch button 1
Jul 25 19:02:17 lyons00g gdm[23328]: gesture parsed for key button 115
Jul 25 19:02:17 lyons00g gdm[23328]: gesture parsed for key button 109
Jul 25 19:02:17 lyons00g gdm[23328]: gesture parsed for key button 103
Jul 25 19:02:17 lyons00g gdm[23328]: checking 3 input devices...
Jul 25 19:02:17 lyons00g gdm[23326]: failsafe dialog failed (inhibitions: 0 1)
Jul 25 19:02:19 lyons00g gdm[23260]: PAM unable to dlopen(/lib/security/pam_cons
ole.so)
Jul 25 19:02:19 lyons00g gdm[23260]: PAM [dlerror: /lib/security/pam_console.so:
 cannot open shared object file: No such file or directory]
Jul 25 19:02:19 lyons00g gdm[23260]: PAM adding faulty module: /lib/security/pam
_console.so
Jul 25 19:02:37 lyons00g gdm[23260]: PAM unable to dlopen(/lib/security/pam_cons
ole.so)
Jul 25 19:02:37 lyons00g gdm[23260]: PAM [dlerror: /lib/security/pam_console.so:
 cannot open shared object file: No such file or directory]
Jul 25 19:02:37 lyons00g gdm[23260]: PAM adding faulty module: /lib/security/pam
_console.so
Jul 25 19:02:42 lyons00g gdm(pam_unix)[23260]: session opened for user root by (
uid=0)
Jul 25 19:03:47 lyons00g gdm(pam_unix)[23260]: session closed for user root
Jul 25 19:03:47 lyons00g gdm[23260]: PAM unable to dlopen(/lib/security/pam_cons
ole.so)
Jul 25 19:03:47 lyons00g gdm[23260]: PAM [dlerror: /lib/security/pam_console.so:
 cannot open shared object file: No such file or directory]
Jul 25 19:03:47 lyons00g gdm[23260]: PAM adding faulty module: /lib/security/pam
_console.so
Jul 25 19:04:20 lyons00g gdm(pam_unix)[23260]: session opened for user david by
(uid=0)


What's all that "pam_console.so" stuff?
_________________
Dave
Back to top
View user's profile Send private message
lyonsd
Apprentice
Apprentice


Joined: 02 Mar 2005
Posts: 153
Location: Flowery Branch, GA

PostPosted: Thu Jul 28, 2005 2:58 pm    Post subject: Reply with quote

Well, I re-emerge pam and pam-login and my greeter is still crashing. Anybody know of a solution for this?
_________________
Dave
Back to top
View user's profile Send private message
Arno Nymous
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2005
Posts: 87
Location: N 51� 30' 58" E 7� 28' 6"

PostPosted: Thu Jul 28, 2005 4:14 pm    Post subject: Reply with quote

Code:

Jul 25 19:03:47 lyons00g gdm[23260]: PAM [dlerror: /lib/security/pam_console.so:
 cannot open shared object file: No such file or directory]
Jul 25 19:03:47 lyons00g gdm[23260]: PAM adding faulty module: /lib/security/pam
_console.so


You should also re-emerge && etc-update the "shadow" package because the files in "/etc/pam.d/" comes from this package.I had this pam-errors like you but no crashes in consequence.

Code:

Jul 25 18:57:21 lyons00g gdm[11693]: gdm_config_parse: Greeter not found or can'
t be executed by the gdm user

This seems to be the main problem. The rest seems to be fallback and default behaviour of gdm.

Check your "/etc/X11/gdm/gdm.conf" file and the permission of "/usr/bin/gdmlogin"
Code:

# The greeter for local (non-xdmcp) logins.  Change gdmlogin to gdmgreeter to
# get the new graphical greeter.
Greeter=/usr/bin/gdmlogin


Which use-flags are in use when you emerge gdm?
Back to top
View user's profile Send private message
lyonsd
Apprentice
Apprentice


Joined: 02 Mar 2005
Posts: 153
Location: Flowery Branch, GA

PostPosted: Thu Jul 28, 2005 4:30 pm    Post subject: Reply with quote

Arno Nymous wrote:

Check your "/etc/X11/gdm/gdm.conf" file and the permission of "/usr/bin/gdmlogin"

Which use-flags are in use when you emerge gdm?


Code:

$ grep -v ^# /etc/X11/gdm/gdm.conf


[daemon]
AutomaticLoginEnable=false
AutomaticLogin=

TimedLoginEnable=false
TimedLogin=
TimedLoginDelay=30



Greeter=/usr/libexec/gdmgreeter

RemoteGreeter=/usr/libexec/gdmgreeter

AddGtkModules=true
GtkModulesList=gail:atk-bridge:/usr/lib/gtk-2.0/modules/libkeymouselistener:/usr/lib/gtk-2.0/modules/libdwellmouselistener



User=gdm
Group=gdm
LogDir=/var/log/gdm
PidFile=/var/run/gdm.pid
PostLoginScriptDir=/etc/X11/gdm/PostLogin/
PreSessionScriptDir=/etc/X11/gdm/PreSession/
PostSessionScriptDir=/etc/X11/gdm/PostSession/
DisplayInitDir=/etc/X11/gdm/Init
XKeepsCrashing=/etc/X11/gdm/XKeepsCrashing
ServAuthDir=/var/gdm
BaseXsession=/etc/X11/gdm/Xsession
UserAuthDir=
UserAuthFBDir=/tmp
UserAuthFile=.Xauthority
StandardXServer=/usr/X11R6/bin/X
Xnest=/usr/X11R6/bin/Xnest -audit 0 -name Xnest




[security]
AllowRoot=true
AllowRemoteRoot=true
AllowRemoteAutoLogin=false
RelaxPermissions=0
CheckDirOwner=true

[xdmcp]
Enable=true

[gui]



[greeter]
Browser=false
Use24Clock=true
GraphicalTheme=gentoo-emergence
GraphicalThemeDir=/usr/share/gdm/themes/
IncludeAll=true
SoundOnLoginSuccess=true
SoundOnLoginFailure=true

[chooser]
HostImageDir=/usr/share/hosts/
Hosts=
Broadcast=true
Multicast=false

[debug]
Enable=false

[servers]
0=Standard


[server-Standard]
name=Standard server
command=/usr/X11R6/bin/X -audit 0
flexible=true

[server-Terminal]
name=Terminal server
command=/usr/X11R6/bin/X -audit 0 -terminate
flexible=false
handled=false

[server-Chooser]
name=Chooser server
command=/usr/X11R6/bin/X -audit 0
flexible=false
chooser=true


Well, this would explain it....

Code:

$ ll /usr/bin/gdm*
lrwxrwxrwx  1 root root    20 Jul 25 17:58 /usr/bin/gdm -> /usr/sbin/gdm-binary*
lrwxrwxrwx  1 root root    12 Jun 30 14:38 /usr/bin/gdm-binary -> /usr/bin/gdm*
lrwxrwxrwx  1 root root    15 Jul 25 17:58 /usr/bin/gdmXnest -> gdmXnestchooser*
-rwxr-xr-x  1 root root 61472 Jul 25 17:58 /usr/bin/gdmXnestchooser*
-rwxr-xr-x  1 root root 38432 Jul 25 17:58 /usr/bin/gdmdynamic*
-rwxr-xr-x  1 root root 48700 Jul 25 17:58 /usr/bin/gdmflexiserver*
-rwxr-xr-x  1 root root 37764 Jul 25 17:58 /usr/bin/gdmphotosetup*
-rwxr-xr-x  1 root root  1939 Jul 25 17:58 /usr/bin/gdmthemetester*


No gdmlogin. Where the funk did it go?

Code:

$ grep USE /etc/make.conf
# The USE variable is used to enable optional build-time functionality. For
# very extensive set of USE variables described in our USE variable HOWTO at
USE="3dfx X arts acpi aim alsa apache2 apm avi bash-completion bzip2 calendar cdr cups divx4linux dv dvd dvdr emul-linux-x86 ethereal fbcon ftp gcj gif gnome gphoto2 gtk2 java javascript jpeg icc ieee1394 imap kde kdeenablefinal maildir mbox mozilla mp3 mpeg mssql mysql nls nvidia objc offensive opengl pcmcia perl php qt readline scanner session softmmu samba ssl svga threads usb vcd udev xmms "

_________________
Dave
Back to top
View user's profile Send private message
lyonsd
Apprentice
Apprentice


Joined: 02 Mar 2005
Posts: 153
Location: Flowery Branch, GA

PostPosted: Thu Jul 28, 2005 4:34 pm    Post subject: Reply with quote

Hmmm...

Greeter=/usr/libexec/gdmgreeter

Code:

$ ll /usr/libexec/gdmgreeter
-rwxr-xr-x  1 root root 150800 Jul 25 17:58 /usr/libexec/gdmgreeter*

_________________
Dave
Back to top
View user's profile Send private message
Arno Nymous
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2005
Posts: 87
Location: N 51� 30' 58" E 7� 28' 6"

PostPosted: Thu Jul 28, 2005 5:11 pm    Post subject: Reply with quote

Did you check the "sys-apps/shadow" because it has gdm related files?
I emerged "gdm" with use-flag "pam" so I didn't get the pam errors any more. But I doubt this has something to do with your problem and the use of "pam_console" is not gentoos default way of user authentification.

This is the my gdm version in use
Code:

*  gnome-base/gdm
      Latest version installed: 2.6.0.9-r2

I don't use the graphical greeter so it's "gdmlogin" for me.
Code:

# The greeter for local (non-xdmcp) logins.  Change gdmlogin to gdmgreeter to
# get the new graphical greeter.
Greeter=/usr/bin/gdmlogin

# The greeter for xdmcp logins, usually you want a less graphically intensive
# greeter here so it's better to leave this with gdmlogin
#RemoteGreeter=/usr/bin/gdmlogin

# Launch the greeter with an additional list of colon seperated gtk
# modules. This is useful for enabling additional feature support
# e.g. gnome accessibility framework. Only "trusted" modules should
# be allowed to minimise security holes
#AddGtkModules=false
# By default these are the accessibility modules
#GtkModulesList=gail:atk-bridge:/usr/lib/gtk-2.0/modules/libdwellmouselistener:/usr/lib/gtk-2.0/modules/libkeymouselistener


Maybe you could "gdmsetup", switch to the default(standard) greeter and check again.
Sorry, not much of a help.
Back to top
View user's profile Send private message
baldeante
Guru
Guru


Joined: 17 Jan 2004
Posts: 498
Location: Caldas da Rainha, Portugal

PostPosted: Fri Aug 19, 2005 3:36 pm    Post subject: Reply with quote

I solved my problem with this links a while ago

https://forums.gentoo.org/viewtopic-t-368951-highlight-pam.html
https://forums.gentoo.org/viewtopic-t-369008-highlight-pam.html
https://forums.gentoo.org/viewtopic-t-367160-highlight-pam.html

Also in some cases is you can coment out the line that referes [pam_cons
ole.so] in the files gdm gdm-autoconfig kde kde-np xdm xserver in /etc/pam.d/ dir .

I found this solution on some other topic o don't have on my favorites.

Good luck
_________________
Never Quit, Never Get Mad, Get Even
Back to top
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Wed Sep 07, 2005 10:12 pm    Post subject: Reply with quote

I get this errors.

Code:
Sep  7 21:42:38 jupiter gdm[10395]: gdm_config_parse: Greeter not found or can't be executed by the gdm user

Code:
Sep  7 21:49:09 jupiter gdm[10865]: gdm_slave_greeter: Cannot start greeter trying default: /usr/libexec/gdmlogin


I get the normal greeter, not the grapical one.

Gdm complains about error in config. But that seems not to be the case.
Back to top
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Wed Sep 07, 2005 10:25 pm    Post subject: Reply with quote

I was able to fix this. I did swich to GTK Greeter, rebooted gdm then i did swich back to grapical greeter and it did work.
Back to top
View user's profile Send private message
mariourk
l33t
l33t


Joined: 11 Jul 2003
Posts: 807
Location: Urk, Netherlands

PostPosted: Thu Jun 01, 2006 7:40 am    Post subject: Reply with quote

That fixed my problem too. Thanks! :D
_________________
If there is one thing to learn from history, it's that we usualy don't learn anything from it, at all.
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