View previous topic :: View next topic |
Author |
Message |
andip Tux's lil' helper
Joined: 18 Jun 2002 Posts: 116 Location: .no
|
Posted: Fri Jun 05, 2009 1:13 pm Post subject: kdm/xdm and pam. vty+startx works, *dm doesn't. (Updated) |
|
|
Hi guys,
I got a somewhat strange problem that i don't know how to handle. Tried searching these forums and googled a bit, but to no avail.
My problem is as topic says. I can log in using console and then startx, but using kdm or xdm only results in a restart of given service (xdm or kdm), with this in the logs :
Code: | Jun 5 14:46:56 localhost kdm: :0[6464]: pam_open_session() for andip failed: Cannot make/remove an entry for the specified session
Jun 5 14:46:56 localhost kdm: :0[6464]: Client start failed
Jun 5 14:46:56 localhost kdm: :0[6464]: pam_close_session() failed: Cannot make/remove an entry for the specified session
|
Now, this macihne worked perfectly for quite a while before this happened. It happened in correlation with some updates, though i'm not sure which ones. I ran etc-update, and i usually choose to manually merge the "important" ones, that i know i use non-defaults. i must've missed something during this update though.
I use : Quote: |
* sys-auth/pambase
Latest version available: 20081028
Latest version installed: 20081028
* sys-libs/pam
Latest version available: 1.0.4
Latest version installed: 1.0.4
* kde-base/kde
Latest version available: 3.5.9
Latest version installed: 3.5.9
* kde-base/kdebase-pam
Latest version available: 7
Latest version installed: 7
|
If any more info is needed let me know.
It's not a huge problem, but annoying that i can't figure it out.
Last edited by andip on Mon Dec 14, 2009 9:57 am; edited 1 time in total |
|
Back to top |
|
|
g.e.n.t.u.x. Guru
Joined: 21 Aug 2006 Posts: 410 Location: Berlin
|
Posted: Sat Jun 13, 2009 8:57 pm Post subject: |
|
|
hi andy.
please post maybe u dont use pam anymore.
whats happend after evdep-rebuild and an emerge -UNDepv world? |
|
Back to top |
|
|
Spiros Apprentice
Joined: 11 Mar 2008 Posts: 189 Location: Zurich
|
Posted: Sat Jun 13, 2009 10:15 pm Post subject: |
|
|
I have exactly the same problem (but I use kde4). I must log in in a vt and then startx.
revdep-rebuild don't rebuild anything and the emerge you suggest don't do anythink useful. I have the useflag 'pam' enabled. _________________ Spiros |
|
Back to top |
|
|
g.e.n.t.u.x. Guru
Joined: 21 Aug 2006 Posts: 410 Location: Berlin
|
Posted: Sun Jun 14, 2009 7:16 am Post subject: |
|
|
what tells u /etc/conf.d/xdm |
|
Back to top |
|
|
Spiros Apprentice
Joined: 11 Mar 2008 Posts: 189 Location: Zurich
|
Posted: Sun Jun 14, 2009 10:14 am Post subject: |
|
|
My /etc/conf.d/xdm:
Code: |
# We always try and start X on a static VT. The various DMs normally default
# to using VT7. If you wish to use the xdm init script, then you should ensure
# that the VT checked is the same VT your DM wants to use. We do this check to
# ensure that you have't accidently configured something to run on the VT
# in your /etc/inittab file so that you don't get a dead keyboard.
CHECKVT=7
# What display manager do you use ? [ xdm | gdm | kdm | kdm-3.5 | kdm-4.0 | gpe | entrance ]
# NOTE: If this is set in /etc/rc.conf, that setting will override this one.
# KDE-specific note: kdm-3.5 and kdm-4.0 are just examples. You will find all
# possible versions by looking at the directories in /usr/kde/.
DISPLAYMANAGER="kdm"
|
_________________ Spiros
Last edited by Spiros on Tue Jun 16, 2009 6:20 am; edited 1 time in total |
|
Back to top |
|
|
andip Tux's lil' helper
Joined: 18 Jun 2002 Posts: 116 Location: .no
|
Posted: Sun Jun 14, 2009 12:04 pm Post subject: |
|
|
i am, and have been, using the pam useflag. i also use kdm in /etc/conf.d/xdm.
i've emerged kdm via the "kde" meta-package, so emerge -pv kdm output is a mess, but it'lljust show you i use the pam useflag so i guess it's no big deal.
seems kde is being updated now, so i'll check if the problem still persists after this update
edit: strike that, the update is not installed due to blocking, so i guess i'll have to wait for devs to fix that problem first.
(individual packages seem to have an update, but not the meta-package or something). |
|
Back to top |
|
|
Spiros Apprentice
Joined: 11 Mar 2008 Posts: 189 Location: Zurich
|
Posted: Mon Jun 15, 2009 10:53 pm Post subject: |
|
|
I solved:
Code: |
sudo chmod +x /usr/libexec/dbus-daemon-launch-helper
|
Now kdm works. _________________ Spiros |
|
Back to top |
|
|
g.e.n.t.u.x. Guru
Joined: 21 Aug 2006 Posts: 410 Location: Berlin
|
Posted: Tue Jun 16, 2009 5:43 am Post subject: |
|
|
congratulations. the launching helper.
dont forgot to change the title prefix to solved fixed or something simular |
|
Back to top |
|
|
andip Tux's lil' helper
Joined: 18 Jun 2002 Posts: 116 Location: .no
|
Posted: Wed Jun 17, 2009 7:05 am Post subject: |
|
|
g.e.n.t.u.x. wrote: | congratulations. ;) the launching helper.
dont forgot to change the title prefix to solved fixed or something simular ;) |
i will, once my problem is solved. right now i cannot confirm if this fix works or not, as i'm currently without kde due to meta-package hell, and the fact that kdelibs-3.5.10 just won't install.
Last edited by andip on Wed Jun 17, 2009 7:18 am; edited 1 time in total |
|
Back to top |
|
|
g.e.n.t.u.x. Guru
Joined: 21 Aug 2006 Posts: 410 Location: Berlin
|
Posted: Wed Jun 17, 2009 7:14 am Post subject: |
|
|
whats next? |
|
Back to top |
|
|
andip Tux's lil' helper
Joined: 18 Jun 2002 Posts: 116 Location: .no
|
Posted: Sat Jul 04, 2009 10:20 pm Post subject: |
|
|
finally got kde up and running again, and tried the chmod +x thing, but no go. i still get the same pam-error.
anyone got suggestions? |
|
Back to top |
|
|
andip Tux's lil' helper
Joined: 18 Jun 2002 Posts: 116 Location: .no
|
Posted: Tue Jul 07, 2009 8:21 am Post subject: |
|
|
is there a moderator here that can move this post to a more relevant forum-section if this is not the right place for this kind of problems? |
|
Back to top |
|
|
andip Tux's lil' helper
Joined: 18 Jun 2002 Posts: 116 Location: .no
|
Posted: Sun Dec 13, 2009 2:45 pm Post subject: |
|
|
Hello,
This problem still persists, and it's getting quite annoying.
Iæll post some more info about my system :
Quote: | Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-i686-AMD_Athlon-tm-_64_Processor_3700+-with-gentoo-1.12.13
Timestamp of tree: Sat, 12 Dec 2009 16:15:02 +0000
app-shells/bash: 4.0_p35
dev-java/java-config: 1.3.7-r1, 2.1.9-r1
dev-lang/python: 2.4.4-r13, 2.5.4-r3, 2.6.4
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake: 2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.5, 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: 2.2.6b
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /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=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US en_GB nn"
MAKEOPTS="-j2"
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.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa berkdb branding bzip2 cairo cddb cdparanoia cdr cli consolekit cracklib crypt cxx dbus directfb divx doc dri dts dv dvb dvd dvdr dvdread eds emboss encode evo fam fbcon ffmpeg firefox flac fortran ftp gdbm gif gphoto2 gpm gstreamer hal iconv jpeg kde ldap libnotify mad mikmod mmx mmxext modules mp3 mp4 mpeg mplayer mudflap mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime radio rar readline reflection rtc samba sdl session spell spl sql sse sse2 ssl startup-notification svg svga sysfs syslog tcpd thunar tiff truetype unicode usb v4l v4l2 vcd vdpau vorbis win32codecs wxwindows x264 x86 xcomposite xinerama xml xorg xulrunner xv xvid 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" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US en_GB nn" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
|
Quote: | * sys-auth/pambase
Latest version available: 20090620.1-r1
Latest version installed: 20090620.1-r1
* sys-libs/pam
Latest version available: 1.1.0
Latest version installed: 1.1.0
* kde-base/kdm
Latest version available: 4.3.3
Latest version installed: 4.3.3
|
anyone got any ideas about tihs at all? any packages i might try to install/reinstall?
cheers |
|
Back to top |
|
|
|