clean install from the new 20090826 iso tried x11-terms/terminal and x11-themes/gtk-chtheme included in the bootstrapped system, and also emerged x11-terms/aterm. non works, all reporting cannot open display. X apps provided by interix (/usr/X11/bin/x{term,clock,etc}) works. Xming 6.9 used. Reproducible: Always Steps to Reproduce: 1.run Xming in windows 2.run "posix /u /c /opt/gentoo/bin/bash -li" from windows command prompt 3.run "Terminal" from the bash prompt Actual Results: (Terminal:1091): Gtk-WARNING **: cannot open display: localhost:0.0 Expected Results: new terminal window opened the line of error (i suppose? the number 1091 in the above example) changes from time to time. also for emerged x11-terms/aterm, error msg is: aterm: can't open display localhost:0.0 emerge --info: Portage 2.2.00.14160-prefix (prefix/windows/interix/6.0/x86, gcc-4.2.4, unavailable, 6.1 x86) ================================================================= System uname: Interix-6.1-x86-32bit Timestamp of tree: Wed, 26 Aug 2009 12:19:20 +0000 app-shells/bash: 4.0_p28-r00.1 dev-lang/python: 2.6.2-r01.1 sys-devel/autoconf: 2.63-r01.1 sys-devel/automake: 1.9.6-r2, 1.10.2-r00.1, 1.11 sys-devel/binutils: 2.18-r4 sys-devel/gcc-config: 1.4.1-r00.2 sys-devel/libtool: 2.2.6a-r00.1 ACCEPT_KEYWORDS="~x86-interix" CBUILD="i586-pc-interix6.0" CFLAGS="" CHOST="i586-pc-interix6.0" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/terminfo" CXXFLAGS="" DISTDIR="/opt/gentoo/usr/portage/distfiles" FEATURES="assume-digests collision-protect distlocks fixpackages nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="" PKGDIR="/opt/gentoo/usr/portage/packages" PORTAGE_CONFIGROOT="/opt/gentoo/" 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="/opt/gentoo/var/tmp" PORTDIR="/opt/gentoo/usr/portage" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="7zip X bash-completion bzip2 cairo cracklib cscope curl esd exif fontconfig gtk i6fork jpeg mad mng mp3 ncurses netpbm pdf png prefix python readline ssl svg threads truetype vorbis x86-interix xpm zlib" 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="Interix" INPUT_DEVICES="keyboard mouse" KERNEL="Interix" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
FWIW, same problem with a clean install from the same iso on windows xp
feels like somehow the window server isn't running properly. does netstat /a show a listening on port 5000?
(In reply to comment #2) > feels like somehow the window server isn't running properly. does netstat /a > show a listening on port 5000? > there's no listening on 5000, but there are three entries on tcp 6000 I kind of doubt it's the window server though. I also tried ssh'ing into the windows box from my gentoo desktop, but still can't have Terminal show up on my desktop. same error message
hm. i'm investigating this right now. seems to be on the client side, since i cannot see any connection attempts from my windows boxes to the outside (linux x server). at first i suspected that libX11 is the problem, since i recently activated the xcb USE flag, but re-merging it without it didn't help. i'm starting my search from GTK+ down the chain :) this may take a while ... ;/
ok - it _is_ xcb. emerging libX11 with USE=-xcb fixes the problem. i will mask the USE flag for now, so for you: syncing in about half an hour to hour and then doing emerge -avuDN world should make the problem go away...
ok, appart from the first bug (which i introduced myself of course), poll() was used in libxcb, which doesn't work on interix. i fixed the ebuild, revbumped and unmasked the xcb use flag again. emerge --sync && emerge -avuDN world should do the trick (in half an hour from now on...) (should re-merge libxcb and libX11 at least) :)