Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290034 - x11-misc/wdm: second login not possible
Summary: x11-misc/wdm: second login not possible
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Desktop Misc. Team
URL: http://www.mail-archive.com/debian-bu...
Whiteboard:
Keywords:
: 291585 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-21 17:20 UTC by seraph@xs4all.nl
Modified: 2010-06-06 14:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description seraph@xs4all.nl 2009-10-21 17:20:58 UTC
I use wdm in combination with windowmaker. While the first login works normally, if end my session and then try to log in again, wdm refuses to display the password entry field (neither enter nor tab works, both should normally switch to the password entry field), making a second login impossible without restarting xdm/wdm.

On my main desktop (x86), this happens since the update of xorg-server to 1.6 a little while ago. I also have exactly the same issue on my powerbook (ppc), which was newly installed with xorg-server 1.6 a few days ago.

The same issue was also reported by someone as a Debian bug, see the attached URL.

Reproducible: Always

Steps to Reproduce:
1. log in to windowmaker from wdm
2. end your session without restarting xdm/wdm
3. try to log in again
Actual Results:  
The password entry field won't display, making logins impossible.

Expected Results:  
Logins should work normally.

Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r7-i686-Intel-R-_Core-TM-2_Quad_CPU_Q6700_@_2.66GHz-with-gentoo-1.12.11.1
Timestamp of tree: Wed, 21 Oct 2009 00:45:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:     4.0_p28
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  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.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=core2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/linux/gentoo http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US"
MAKEOPTS="-j5"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.pearlgates.net/gentoo-portage"
USE="X a52 aac acpi alsa ao berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups dbus dri dts dvd dvdr eds emboss encode evo fam firefox flac fortran gdbm gif gtk hal iconv isdnlog jpeg libnotify mad mikmod mmx modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session smp spell spl sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis win32codecs x264 x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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="evdev joystick wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" SANE_BACKENDS="epson" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 junkmailnotread 2009-10-26 19:50:38 UTC
I have the same problem with my x86_64 boot: on the second login I can proceed no further than entering my login name.

I have a different - but possibly related - problem with my x86 boot: on the second login wdm crashes as soon as I enter the first character of my login name. X and/or wdm then restarts and I can login as normal. The following fault is logged in /var/log/messages:

wdmLogin[4705]: segfault at b9 ip b7f5f203 sp bfc8d054 error 4 in libX11.so.6.2.0[b7ecf000+11d000]
Comment 2 seraph@xs4all.nl 2009-10-28 13:42:46 UTC
My other laptop, a Sony Vaio (x86), also shows the behaviour described in the previous comment; after a session has ended, attempting to start a new session immediately crashes wdm with a segfault:

Oct 28 14:29:37 sphinx wdmLogin[5342]: segfault at b9 ip b7fd976e sp bf82c5a4 error 4 in libX11.so.6.2.0[b7f53000+111000]


Also, on all affected systems I notice this error message repeatedly in /var/log/xdm-errors.log:

XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"^M
      after 1790 requests (1790 known processed) with 0 events remaining.^M
Comment 3 Dereck 2009-11-03 00:05:53 UTC
(In reply to comment #0)

I can confirm this on the following:
* x86_64
* x11-base/xorg-server-1.6.3.901-r2
* x11-misc/wdm-1.28-r1

I also do not have have the ability to enter a password for shutdown or halt.  They cease to work and I'm left with console shutdown and power button press.
Comment 4 Dereck 2009-11-03 00:07:36 UTC
(In reply to comment #3)
> (In reply to comment #0)
> 
> I can confirm this on the following:
> * x86_64
> * x11-base/xorg-server-1.6.3.901-r2
> * x11-misc/wdm-1.28-r1
> 
> I also do not have have the ability to enter a password for shutdown or halt. 
> They cease to work and I'm left with console shutdown and power button press.
> 

On a second note, I was using WDM on openSuSE 11.1 and it did not exhibit these issues.  I am not sure what version of WDM it was running.
Comment 5 junkmailnotread 2010-02-02 14:22:22 UTC
A fix for this bug has been posted at Debian:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=472703#65

Specifically by setting the terminateServer resource in the wdm configuration file:

--- wdm-config.orig     2009-10-07 19:00:10.050101124 +0100
+++ wdm-config  2010-02-02 14:07:41.468049250 +0000
@@ -21,6 +21,7 @@
 DisplayManager*session:         /etc/X11/wdm/Xsession
 DisplayManager*authComplain:    false
 DisplayManager*wdmLogin:        /usr/bin/wdmLogin
+DisplayManager*terminateServer: true
 !
 ! display screen background--if not set or set to none, then the
 !                            background is not set by wdm.

This has fixed both my x86_64 and x86 boots.
Comment 6 seraph@xs4all.nl 2010-02-02 19:36:33 UTC
The fix in the previous comment works on my ppc installation as well.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2010-06-06 14:01:53 UTC
(In reply to comment #5)
> A fix for this bug has been posted at Debian:
> 
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=472703#65
> 
> Specifically by setting the terminateServer resource in the wdm configuration
> file:
> 
> --- wdm-config.orig     2009-10-07 19:00:10.050101124 +0100
> +++ wdm-config  2010-02-02 14:07:41.468049250 +0000
> @@ -21,6 +21,7 @@
>  DisplayManager*session:         /etc/X11/wdm/Xsession
>  DisplayManager*authComplain:    false
>  DisplayManager*wdmLogin:        /usr/bin/wdmLogin
> +DisplayManager*terminateServer: true
>  !
>  ! display screen background--if not set or set to none, then the
>  !                            background is not set by wdm.
> 
> This has fixed both my x86_64 and x86 boots.
> 

applied to wdm-1.28-r3
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2010-06-06 14:02:44 UTC
*** Bug 291585 has been marked as a duplicate of this bug. ***