After I upgraded to Qingy 0.9.8 today. Xfce4 starts fine with everything and I can use the mouse, stop start applications. If I hit any key, X stops and I end up in Qingy to put in my username and password again. I can login to console in framebuffer using Qingy as normal, only happens in X I have agetty on tty6 which lets me login to write this bugreport :) Reproducible: Always Steps to Reproduce: 1.use login on tty1 using Qingy and choose Xsession or Xfce4 2.wait until X is started 3.hit any key Actual Results: ends session and logs the user off Expected Results: do input via keyboard /var/log/messages: Apr 27 22:16:21 disi-desktop su[10029]: pam_unix(su:session): session closed for user root Apr 27 22:16:22 disi-desktop qingy: pam_unix(qingy:session): session closed for user disi Apr 27 22:16:22 disi-desktop qingy: pam_unix(qingy:session): session closed for user disi Apr 27 22:16:22 disi-desktop qingy: pam_mail(qingy:session): pam_putenv: delete non-existent entry; MAIL Apr 27 22:16:31 disi-desktop qingy: pam_unix(qingy:session): session opened for user disi by (uid=0) Apr 27 22:16:31 disi-desktop qingy: pam_unix(qingy:session): session opened for user disi by (uid=0) Apr 27 22:16:31 disi-desktop IRQ 16/nvidia: IRQF_DISABLED is not guaranteed on shared IRQs Apr 27 22:16:32 disi-desktop IRQ 16/nvidia: IRQF_DISABLED is not guaranteed on shared IRQs Apr 27 22:16:48 disi-desktop qingy: pam_unix(qingy:session): session closed for user disi Apr 27 22:16:48 disi-desktop qingy: pam_unix(qingy:session): session closed for user disi disi-desktop ~ # emerge --info Portage 2.1.6.11 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.29-gentoo-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4600+-with-gentoo-2.0.0 Timestamp of tree: Mon, 27 Apr 2009 18:00:01 +0000 app-shells/bash: 4.0_p17-r1 dev-java/java-config: 2.1.7 dev-lang/python: 2.6.2 dev-util/cmake: 2.6.3-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://mirror.netcologne.de/gentoo/ http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://mirror.bytemark.co.uk/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://gentoo.virginmedia.com/ " LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en_GB" MAKEOPTS="-j3" 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/layman/oss-overlay /usr/local/portage" SYNC="rsync://192.168.1.253/gentoo-portage" USE="3dnow X a52 aac acl amd64 ao atm audiofile bash-completion berkdb branding bzip2 cdr clamav cracklib crypt css curl cvs cxx dbus dga directfb dri dts dv dvb dvd dvdr encode exif expat fam fbcon ffmpeg firefox flac ftp gd gdbm ggi gif gmp gpm gtk hal iconv imagemagick imlib jack java javascript jpeg jpeg2k libnotify lzo mad mikmod mime mmap mmx mng mp3 mpeg mpi multilib musepack musicbrainz ncurses nls nptl nsplugin offensive ogg openal openexr opengl openmp osc oss pam pcre pdf perl png posix profile python quicktime readline rss sdl smp sndfile snmp speex spell sse sse2 ssl startup-notification subversion svg syslog szip tcpd theora threads tiff truetype unicode usb vcd vorbis wavpack wmf wxwindows x264 xcb xcomposite xine xinetd xml xpm xscreensaver 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 keyboard mouse ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Even if I login to console and startx from there via Qingy X crashes. Here are the USE flags, Qingy is with X and DirectFB without: [ebuild R ] dev-libs/DirectFB-1.2.7 USE="fbcon fusion gif jpeg mmx png sdl sse sysfs truetype zlib -X -debug -v4l -v4l2" 2,707 kB [ebuild R ] sys-apps/qingy-0.9.8 USE="X crypt directfb gpm pam -emacs -opensslcrypt -static" 0 kB
here is the end of Xorg.1.log: (II) config/hal: Adding input device Microsoft Comfort Optical Mouse 1000 (II) LoadModule: "evdev" (II) Loading /usr/lib64/xorg/modules/input//evdev_drv.so (II) Module evdev: vendor="X.Org Foundation" compiled for 1.5.3, module version = 2.2.1 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 2.1 (**) Microsoft Comfort Optical Mouse 1000: always reports core events (**) Microsoft Comfort Optical Mouse 1000: Device: "/dev/input/event3" (II) Microsoft Comfort Optical Mouse 1000: Found 3 mouse buttons (II) Microsoft Comfort Optical Mouse 1000: Found x and y relative axes (II) Microsoft Comfort Optical Mouse 1000: Found scroll wheel(s) (II) Microsoft Comfort Optical Mouse 1000: Configuring as mouse (**) Microsoft Comfort Optical Mouse 1000: YAxisMapping: buttons 4 and 5 (**) Microsoft Comfort Optical Mouse 1000: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200 (II) XINPUT: Adding extended input device "Microsoft Comfort Optical Mouse 1000" (type: MOUSE) (II) config/hal: Adding input device AT Translated Set 2 keyboard (**) AT Translated Set 2 keyboard: always reports core events (**) AT Translated Set 2 keyboard: Device: "/dev/input/event2" (II) AT Translated Set 2 keyboard: Found keys (II) AT Translated Set 2 keyboard: Configuring as keyboard (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD) (**) Option "xkb_rules" "evdev" (**) Option "xkb_model" "evdev" (**) Option "xkb_layout" "us" (II) Microsoft Comfort Optical Mouse 1000: Close (II) UnloadModule: "evdev" (II) AT Translated Set 2 keyboard: Close (II) UnloadModule: "evdev"
It did work if I logged on to console via Qingy and ran startx now I downgraded to DirectFB-1.2.6 and Qingy 0.9.7 and no problems anymore
Could you maybe elaborate if this is either a problem with qingy or DirectFB? How about only downgrading one package at a time and test again?
Created attachment 189775 [details] qingy.log I am back on Qingy 0.9.8 with DirectFB-1.2.6 and the same happens again so this is a problem with Qingy I attched the debug log
Unfortunately here in those 20sec it happens: Apr 28 23:24:22, qingy-DirectFB on tty1, [DEBUG] stderr logger process shutting down... Apr 28 23:24:43, qingy on tty1, [DEBUG] You chose a screen saver timeout of 5 minutes. and there seems to be no log in qingy nor messages nor Xorg.log :(
no problems Qingy 0.9.7 and DirectFB-1.2.7
Qingy 0.9.8 DirectFB 1.2.7 created a fresh test user and same thing happens (i use different keys like a,d,b,i,o,e): Apr 29 00:06:26 disi-desktop qingy: pam_unix(qingy:session): session opened for user pimpf by (uid=0) Apr 29 00:06:26 disi-desktop qingy: pam_unix(qingy:session): session opened for user pimpf by (uid=0) Apr 29 00:06:28 disi-desktop IRQ 16/nvidia: IRQF_DISABLED is not guaranteed on shared IRQs Apr 29 00:06:29 disi-desktop IRQ 16/nvidia: IRQF_DISABLED is not guaranteed on shared IRQs Apr 29 00:06:32 disi-desktop JBD: barrier-based sync failed on dm-0:8 - disabling barriers Apr 29 00:06:46 disi-desktop qingy: pam_unix(qingy:session): session closed for user pimpf Apr 29 00:06:46 disi-desktop qingy: pam_unix(qingy:session): session closed for user pimpf
recompiled x11-base/xorg-server-1.5.3-r5 without hal USE flag same problem...
can anybody run Qingy 0.9.8 to login to X? There is probably a get function or something that waits for input while it goes on to start X. As soon as it gets something from the keyboard, it continous in the Qingy script and kills X in the meantime? I am no C expert and currently try to follow the session.c if there are any brackets missing or something...
(In reply to comment #10) > can anybody run Qingy 0.9.8 to login to X? Actually, I can, and I cannot reproduce your issues. But I'm investigating...
more testing: removed xorg-x11 installed openbox for testing, works fine installed windowmaker for testing, works fine
Uhm... I might install xfce4 and see if qingy issues are somehow related with it...
I'm not using xfce but I'm having a related bug with Qingy 0.9.8. The DBus session instance started by /etc/X11/xinit/xinitrc.d/30-dbus dies on keyboard input. Xfce is maybe dying along with the dbus daemon. This is due to a change in session.c which messes up the standard I/O. The attached patch reverts this change and restores the std IO streams.
Created attachment 190684 [details, diff] revert change in session.c
Created attachment 190721 [details] ebuild with patch works perfect now here with xfce4, thanks a lot :)
(In reply to comment #16) > Created an attachment (id=190721) [edit] > ebuild with patch It works for me! Before that patch I have to login to console then launch Xfce via startx, if I login to my Xsession directly d-bus doesn't starts correctly and gconf-enabled sowftwares (firefox, gedit...) shows me errors and annoying issues. Thanks!
Just added version 0.9.9 to Portage, which adds the patch proposed here. Thanks, Florent!