Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Mar 1998 13:55:25 -0800
From:      Mike Smith <mike@smith.net.au>
To:        Nate Williams <nate@mt.sri.com>
Cc:        Mike Smith <mike@smith.net.au>, java@FreeBSD.ORG
Subject:   Re: Java applet gets no keystrokes? 
Message-ID:  <199803032155.NAA18161@dingo.cdrom.com>
In-Reply-To: Your message of "Tue, 03 Mar 1998 14:47:23 MST." <199803032147.OAA02309@mt.sri.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > > 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



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