From owner-freebsd-java Tue Mar 3 13:58:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA19154 for freebsd-java-outgoing; Tue, 3 Mar 1998 13:58:34 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA19147 for ; Tue, 3 Mar 1998 13:58:30 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id NAA18161; Tue, 3 Mar 1998 13:55:26 -0800 (PST) Message-Id: <199803032155.NAA18161@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Nate Williams cc: Mike Smith , java@FreeBSD.ORG Subject: Re: Java applet gets no keystrokes? In-reply-to: Your message of "Tue, 03 Mar 1998 14:47:23 MST." <199803032147.OAA02309@mt.sri.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 03 Mar 1998 13:55:25 -0800 From: Mike Smith Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > It's got permissions, but it can't create it. If I run it as root, it > > > just spits out error messages about not being able to find fonts. > > > > Huh? vncserver is a perl script. You don't default to an emasculated > > perl do you? You must have X on the system, or you wouldn't be able to > > build the server in the first place; is your X in the canonical > > location? > > I have X installed, and it's a standard install. OK. You don't show any errors creating the logfile now; what changed? > > > > > I'm trying to help, but I can't even get anything to work, let alone the > > > > > java stuff. > > > > > > Are you sure vncserver is even working, since it's not on my box. > > > > Well, no, actually, I just threw everything into a port and didn't even > > bother building it here at all. > > > > What sort of question is that? Of course it works; how else would I > > have gotten to the point where I couldn't get keystrokes into it? 8) > > Because it's not working. Smile, goddamit! 8) > > What happens if you just run (as yourself): > > > > Xvnc :1 > > > I turn vncserver as root (as specified in your email), and I get the > following errors in ~/.vnc/X.log: > rfbInitSockets: listening on TCP port 5901 > httpInitSockets: listening on TCP port 5801 > failed to set default font path '/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X > 11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/ > ,/usr/X11R6/lib/X11/fonts/100dpi/' > Fatal server error: > could not open default font 'fixed' The vnc server is just a hacked up X server; this is it complaining about your fonts. Are you using compressed or gzipped fonts? I "fixed" it to do gzipped ones, perhaps I broke it for compressed fonts? > Are you saying that I don't need to run vncserver? As I said, vncserver is a perl script that starts Xvnc and a couple of clients. Running Xvnc by itself is like running just a bare X server; not useful beyond testing, but it removes a lot of the logmessage annoyance. You need the server running so that you can run the client. I definitely erred in saying that 'vncserver' should be run as root; it should be run as yourself. Sorry about that. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message