Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2002 10:04:18 -0600
From:      Bruce Burden <brucegb@realtime.net>
To:        freebsd-java@freebsd.org
Subject:   Re: plugin fails to execute!
Message-ID:  <20020213100418.E20348@tigerfish2.my.domain>
In-Reply-To: <20020213111201.A99561@nietzsche.intra.bowtie.nl>; from marc@bowtie.nl on Wed, Feb 13, 2002 at 11:12:01AM %2B0100
References:  <20020213111201.A99561@nietzsche.intra.bowtie.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 13, 2002 at 11:12:01AM +0100, Marc van Kempen wrote:
> 
> When running it as user marc the browser just hangs when trying
> to load an applet, when running it as root I get the following error:
> 
> Turning tracing on....
> INTERNAL ERROR on Browser End: Exec of "java_vm" failed: 2
> <
> System error?:: No such file or directory
> Gdk-ERROR **: Fatal IO error 9 (Bad file descriptor) on X server :0.0.
> INTERNAL ERROR on Browser End: Could not read ack from browser
> System error?:: Resource temporarily unavailable
> 
> 
	I get the above behavior if I am running as a user, and go
   to the Sun Java site:

bash-2.05a$ mozilla
INTERNAL ERROR on Browser End: Exec of "java_vm" failed: 2
<
System error?:: No such file or directory
Gdk-ERROR **: Fatal IO error 9 (Bad file descriptor) on X server :0.0.
INTERNAL ERROR on Browser End: Could not read ack from browser
System error?:: Resource temporarily unavailable
bash-2.05a$

    Since I am running under xdm, starting mozilla from "root" gives
  me:

su-2.05a# mozilla
Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server

Gtk-WARNING **: cannot open display: :0.0

	I built/installed Java w/patch 6 via the ports, with the
   "NO_CHECKSUM=yes" and 6 specified in the Makefile as the patch
   level. I changed the LIBG_HDRS and GTK_HDRS to point to 
   /usr/local/include/glib12 and /usr/X11R6/include/gtk12/,
   respectively. I build the plugin via the instructiion in the
   BUILD file (which, btw, has 600 for its permissions).

	As with Marc, Mozilla seems happy with the plugin.

FreeBSD 4.5-RELEASE
XFree86-4.1.0_12,1
fvwm-2.4.4 (no Gnome, currently)
mozilla-0.9.7_2,1
jdk-1.3.1p6
gtk-1.2.10_3
glib-1.2.10_5

								Bruce
-- 
------------------------------------------------------------------------
  "I like bad!"                         Bruce Burden    Austin, TX.
        - Thuganlitha
        The Power and the Prophet
        Robert Don Hughes


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020213100418.E20348>