Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147128 - xorg-x11-7.1 - starting a second X session and exiting from it results in a locked up keyboard/mouse/display
Summary: xorg-x11-7.1 - starting a second X session and exiting from it results in a l...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-10 22:48 UTC by Dima Ryazanov
Modified: 2006-09-24 10:21 UTC (History)
0 users

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 Dima Ryazanov 2006-09-10 22:48:51 UTC
I am using xorg-x11-7.1, with xf86-video-ati-6.6.2.

I start a second X server, e.g. using "xinit /usr/bin/startfluxbox -- :1 -nolisten tcp", and then exit from it (e.g., exit from fluxbox). I get a blank screen, and keyboard and mouse don't work anymore. I can't switch to another terminal using Ctrl-Alt-F#, etc.

If I login from another computer, I can see that everything is running fine, and the second X server is gone. If I run "chvt 1", it freezes while calling "ioctl(fd, VT_WAITACTIVE, num)".

When I ran "DISPLAY=:0 kdeinit_shutdown" (I'm using KDE), X unfroze almost immediately - everything came back, and I could see applications closing.

I run into the problem with broken VT switching pretty often. Even a program that takes over the whole screen can easily cause that (e.g., a Windows game running in Wine) - not just playing with multiple X servers.
Comment 1 Dima Ryazanov 2006-09-10 22:49:33 UTC
emerge --info:

Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-suspend2-r4 i686)
=================================================================
System uname: 2.6.17-suspend2-r4 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.12.4
Last Sync: Sun, 10 Sep 2006 17:00:01 +0000
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-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-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/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.noved.org/"
LC_ALL="en_US.UTF-8"
LINGUAS="en uk ru"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow aac aalib acl acpi aim alsa apache2 asf audiofile avi bcmath bitmap-fonts browserplugin bzip2 cairo cdparanoia cli crypt css cups curl dbus dga directfb divx4linux dlloader dri dvd dvdr elibc_glibc emboss encode fam fbcon fbsplash ffmpeg flash foomaticdb gdbm gif glitz glut gpm gstreamer gtk gtk2 hal icq idn imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog javascript jikes jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kernel_linux lcms lesstif libg++ libwww linguas_en linguas_ru linguas_uk live lm_sensors logitech-mouse mad mikmod mmx mng mp3 mpeg mplayer msn musicbrainz ncurses nls nptl nptlonly nsplugin offensive ogg openexr opengl oscar pam pcre pdf pdflib pic png povray ppds pppd qt3 qt4 quicktime rdesktop readline reflection rtc samba scanner sdl session sftplogging slp snmp speex spell spl sse ssl startup-notification subversion svg tcpd tetex theora tiff timidity truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_ati video_cards_radeon vorbis wifi win32codecs xcomposite xine xinerama xml xorg xscreensaver xv xvid yahoo zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Joshua Baergen (RETIRED) gentoo-dev 2006-09-12 15:19:47 UTC
What video card do you have?  Also, do you have AIGLX enabled?

Some of these issues sound like things that may be fixed in the masked version of xorg-server.  We're waiting on Mesa's 6.5.1 release to make it available.
Comment 3 Dima Ryazanov 2006-09-14 14:00:41 UTC
I have Radeon 7000. I don't think I have AIGLX - at least, I didn't enable anything like that. I do use EXA, though.

I'll try the masked xorg...
Comment 4 Joshua Baergen (RETIRED) gentoo-dev 2006-09-24 10:21:31 UTC
xorg-server-1.1.1-r1 is out of hard mask now.  Give that a try.  Try disabling EXA as well and seeing if that helps.

Re-open the bug when you've done so.