Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76180 - jxplorer can't connect to display
Summary: jxplorer can't connect to display
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-30 15:29 UTC by Jan Van Uytven
Modified: 2005-01-23 06:11 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 Jan Van Uytven 2004-12-30 15:29:01 UTC
Right after emerging jxplorer on my local machine, I tried starting it and got this error:

wyvern@enigma ~ $ jxplorer 
starting JXplorer...

Use "jxstart.sh console" if you want logging to the console
/opt/bin/jxplorer: line 63:  8358 Aborted                 $JAVAV -cp .:jars/help.jar:jars/jxplorer.jar:jars/jhall.jar:jars/junit.jar:jars/ldapsec.jar:jars/log4j.jar:jars/dsml/activation.jar:jars/dsml/commons-logging.jar:jars/dsml/dom4j.jar:jars/dsml/jxext.jar:jars/dsml/mail.jar:jars/dsml/providerutil.jar:jars/dsml/saaj-api.jar:jars/dsml/saaj-ri.jar com.ca.directory.jxplorer.JXplorer >/dev/null 2>&1

=========================
JXplorer failed to start
=========================
Please ensure that you have appropriate "xhost" access to the machine you are
running this from. Make sure the DISPLAY environment variable is set correctly.
Otherwise, ask your Unix Systems Administrator for more information on running
X Windows applications.

If you require more information run "/opt/bin/jxplorer console" and check the
error produced.
wyvern@enigma ~ $

Following the error's advice, I ran 'jxplorer console' and this is what I got:

wyvern@enigma ~ $ jxplorer console
starting JXplorer...

main start
TIME: Thu Dec 30 15:25:55 PST 2004  (156)

Thu Dec 30 15:25:55 PST 2004: running JXplorer version JXplorer (build JXv3.1b1
2003-12-12 15:49 EST)
Thu Dec 30 15:25:55 PST 2004: running java from: /opt/blackdown-jdk-1.4.2.01/jre
Thu Dec 30 15:25:55 PST 2004: running java version 1.4.2-01
java: ../../../src/share/native/sun/awt/font/fontmanager/fontobjects/fontObject.cpp:419: virtual const void* fileFontObject::ReadChunk(long unsigned int, long unsigned int, void*): Assertion `offset < fFileSize' failed.
/opt/bin/jxplorer: line 63:  8411 Aborted                 $JAVAV -cp .:jars/help.jar:jars/jxplorer.jar:jars/jhall.jar:jars/junit.jar:jars/ldapsec.jar:jars/log4j.jar:jars/dsml/activation.jar:jars/dsml/commons-logging.jar:jars/dsml/dom4j.jar:jars/dsml/jxext.jar:jars/dsml/mail.jar:jars/dsml/providerutil.jar:jars/dsml/saaj-api.jar:jars/dsml/saaj-ri.jar com.ca.directory.jxplorer.JXplorer

=========================
JXplorer failed to start
=========================
Please ensure that you have appropriate "xhost" access to the machine you are
running this from. Make sure the DISPLAY environment variable is set correctly.
Otherwise, ask your Unix Systems Administrator for more information on running
X Windows applications.

If you require more information run "/opt/bin/jxplorer console" and check the
error produced.
wyvern@enigma ~ $

I don't have problems starting any other X app. If I disable access control with 'xhost +' I still have the same issue. Same if I try and start it as root.

Reproducible: Always
Steps to Reproduce:
1.emerge jxplorer
2.start jxplorer
3.

Actual Results:  
jxplorer failed to start, citing a problem connecting to the display.

Expected Results:  
Started jxplorer.

wyvern@enigma ~ $ sudo emerge info 
Portage 2.0.51-r8 (default-linux/x86/2004.2, gcc-3.3.4, glibc-2.3.4.20041102-r0,
2.6.8-gentoo-r7 i686)
=================================================================
System uname: 2.6.8-gentoo-r7 i686 Mobile AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.6
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct  9 2004, 16:28:22)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.4.22
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/fax /usr/lib/mozilla/defaults/pref /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/ /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acl acpi alsa apache2 apm arts audiofile avi berkdb bidi
bitmap-fonts bonobo bzlib calendar canna cdr cjk crypt cscope cups curl
curlwrappers dba dbm dga dio directfb divx4linux dvd dvdr encode esd ethereal
evo exif fam fbcon fdftk flac flash flatfile foomaticdb fortran freetds freewnn
ftp gb gd gdbm gif gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml
imagemagick imap imlib inifile innodb ipv6 jabber jack java jikes jpeg junit kde
lcms ldap lesstif libwww mad maildir mailwrapper mcal mhash mikmod mime ming
mmap motif mozilla mpeg msn mysql mysqli ncurses nls odbc offensive oggvorbis
openal opengl oscar oss pam pcmcia pcntl pcre pda pdflib perl plotutils png pnp
posix postgres python qt quicktime readline samba sasl scanner sdl simplexml
slang snmp soap sockets spell ssl svg svga tcltk tcpd tetex tiff truetype
unicode usb vhosts wmf wxwindows x86 xine xml xml2 xmlrpc xmms xpm xv xvid zlib
Comment 1 Jan Brinkmann (RETIRED) gentoo-dev 2005-01-02 09:00:19 UTC
i can't reproduce your error and i think it seems to me that this isn't a problem of the ebuild itself but i'm not sure. however, maybe you want to test the new ebuild which makes it possible to save connections and options, see #63243. make sure that you also have a copy of every listed dependency ebuild in a local portage overlay directory because not all of them are in the portage tree yet.
Comment 2 Jan Brinkmann (RETIRED) gentoo-dev 2005-01-22 07:37:55 UTC
there is a new version in the portage tree. please do 'emerge sync' in a few hours and try if that problem still exists.
Comment 3 Jan Brinkmann (RETIRED) gentoo-dev 2005-01-23 06:11:27 UTC
if you're still experiencing problems with the new jxplorer version feel free to reopen this bug.