Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147129 - Keystrokes not accepted in entrance-0.9.0.007
Summary: Keystrokes not accepted in entrance-0.9.0.007
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-10 23:06 UTC by Chad Martin
Modified: 2007-01-29 07:39 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 Chad Martin 2006-09-10 23:06:03 UTC
If I start entranced using xdm, it no longer accepts any keystrokes so I cannot log in.  This started occurring after the modular X.org changeover.

My emerge --info:
Portage 2.1-r2 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-suspend2-r5 x86_64)
=================================================================
System uname: 2.6.16-suspend2-r5 x86_64 AMD Turion(tm) 64 Mobile Technology MT-34
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -msse3 -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -fforce-addr"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe -msse3 -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distfiles.gentoo.org/ ftp://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.tds.net/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://mirrors.acm.cs.rpi.edu/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo ftp://mirror.datapipe.net/gentoo "
LINGUAS="en en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acpi aim alsa audiofile avi bash-completion berkdb bitmap-fonts blas bzip2 cairo calendar cddb cdinstall cdparanoia cdr cjk cli crypt cscope cups curl dga dio dlloader doc dri dts dv dvd dvdr eds emboss encode esd examples exif ffmpeg flac flash fontconfig foomaticdb fortran ftp gcj gd gdbm gif gimpprint ginac glep glitz glut gphoto2 gstreamer gtk gtk2 guile hdf5 icq idn ieee1394 imagemagick imlib innodb iodbc ipv6 isdnlog java javascript jikes jpeg jpeg2k junit lcms libwww lirc lm_sensors lzw lzw-tiff mad mcal mikmod mime ming mmap mng motif mozcalendar mozdevelop mp3 mpeg mudflap mysql mysqli ncurses nls no-old-linux nocd nptl nptlonly nsplugin oci8 odbc offensive ogg openal opengl oracle oracle7 oscar pam pcmcia pcre pda pdf pdflib perl plotutils png portaudio posix ppds pppd python qt qt3 qt4 quicktime readline reflection rle ruby samba sasl scanner sdl seamonkey session sharedmem simplexml slp sndfile snmp soap sockets sox speex spell spl ssl svg szip tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts ucs2 unicode usb vcd videos vorbis wifi wmf wxwindows xine xml xml2 xmlrpc xmms xorg xosd xpm xprint xv xvid xvmc zlib elibc_glibc input_devices_keyboard input_devices_synaptics input_devices_mouse kernel_linux linguas_en linguas_en_US userland_GNU video_cards_sis"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Onkobu 2006-09-22 03:33:30 UTC
I could work around this problem with non-graphic runlevel after boot and manual switch to a graphic runlevel as root. I'd say this is a configuration problem. After re-emerging all entrance relevant packages (switch to gcc 4.1.1) it just disappeared.

Nevertheless after X server's screen blank (idle function) entrance does not echo the characters but changes state of GUI-elements (Enter->focus password field, 2nd enter login), only on x86, amd64 works fine.

Maybe it's that edb-switch from /etc/entrance_config.cfg to /etc/entrance_config.db. First one shouldn't be used anymore
Comment 2 Chad Martin 2006-09-23 19:00:50 UTC
I did an emerge -e world after the upgrade to gcc-4.4.1, and I still have the problem.  I am running without xdm in my runlevels.  I just startx after logging in.

Is there something I should try regarding the switch from a .cfg to a .db file?
Comment 3 Michael Hellwig 2006-10-24 06:20:38 UTC
had this problem as well (on a pentium3, i.e. normal x86) after switching to modular X.

Solution that worked for me:
in /etc/conf.d/xdm, put
XSTATICVT="no"
which makes X wait untill all vts that have text-logins are actually up and running. Apparently this is needed. At least it is what changes the behaviour from "doesn't work" to "works" on my system.
Comment 4 Graham King 2006-10-25 01:33:02 UTC
I too had this problem after an upgrade to modular X.  Setting XSTATICVT="no" fixed it for me, as Michael suggests.
Comment 5 SpanKY gentoo-dev 2007-01-17 01:18:46 UTC
upstream issue
Comment 6 Onkobu 2007-01-29 07:39:41 UTC
(In reply to comment #5)
> upstream issue
> 

I have another one: When running a NVIDIA-card and by using Option DPMS true in xconfig you MUST repeat this Option for the NVIDIA-configuration. Write «Option DPMS true» under the monitor's section as well as the NVIDIA-card-section. Has something to do with screen blanking and driver-reinit. If you don't do so, entrance does accept keystrokes, but does not echo them in the login dialog (username/password).

See also:
http://gentoo-wiki.com/HOWTO_Automatically_turn_off_your_monitor#Configure_XOrg_to_use_DPMS