Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Nov 1998 08:45:34 -0800
From:      bmah@CA.Sandia.GOV (Bruce A. Mah)
To:        Thomas David Rivers <rivers@dignus.com>, rdmurphy@vt.edu
Cc:        FreeBSD-questions@FreeBSD.ORG
Subject:   Re: vnc Fatal server error: could not open default cursor font  'cursor'
Message-ID:  <199811131645.IAA27056@stennis.ca.sandia.gov>
In-Reply-To: Your message of "Wed, 11 Nov 1998 08:53:11 EST." <199811111353.IAA01045@lakes.dignus.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
--==_Exmh_-158271224P
Content-Type: text/plain; charset=us-ascii

Hi--

Let me throw in my two bits worth...for what it's worth I'm currently the port 
maintainer for vnc.

> > 10/11/98 15:40:01 Xvnc version 3.3.2r2
> > 10/11/98 15:40:01 Copyright (C) 1997-8 Olivetti & Oracle Research Laborator
> y
> > 10/11/98 15:40:01 See http://www.orl.co.uk/vnc for information about VNC
> > 10/11/98 15:40:01 Desktop name 'X' (neale.econ.vt.edu:1)
> > 10/11/98 15:40:01 Protocol version supported 3.3
> > 10/11/98 15:40:01 Listening for VNC connections on TCP port 5901
> > 10/11/98 15:40:01 Listening for HTTP connections on TCP port 5801
> > 10/11/98 15:40:01   URL http://neale.econ.vt.edu:5801
> > 
> > Fatal server error:
> > could not open default cursor font 'cursor'

vncserver is really a perl script.  When you run it, it executes an instance 
of Xvnc, which is a modified X server.  In this case, it's being run on the 
display neale.econ.vt.edu:1.  For some reason, Xvnc can't find the cursor font 
file and dies here.

> > _X11TransSocketINETConnect: Can't connect: errno = 61
> > _X11TransSocketINETConnect: Can't connect: errno = 61
> > _X11TransSocketINETConnect: Can't connect: errno = 61
> > _X11TransSocketINETConnect: Can't connect: errno = 61
> > _X11TransSocketINETConnect: Can't connect: errno = 61
> > _X11TransSocketINETConnect: Can't connect: errno = 61
> > xrdb: Interrupted system call
> > xrdb: Can't open display 'neale.econ.vt.edu:1'

[snip]

These (and following) error messages are produced when vncserver tries to 
start up a set of X window clients for you (similar to xinit after it starts 
up a X server).  They all run with $DISPLAY set to neale.econ.vt.edu:1, so 
that they will connect to the Xvnc server, rather than any "normal" X Windows 
server that might be running on the machine.  Unfortunately, since Xvnc died 
above, all of these clients fail too (hence "errno = 61").

Russel D. Murphy wrote:

> > My interpretation of this is that vncserver is trying to find "cursor
> > font 'cursor'", and not finding it, dies.  Therefore, the connection
> > refused errno is simply a symptom of the server which doesn't start
> > (properly). In /usr/X11R6/lib/X11/fonts/misc, there is a file
> > cursor.pcf.gz.  This directory is in the font path specified by the
> > vncserver script.

Since you have a /usr/X11R6/lib/X11/fonts/misc/cursor.pcf.gz, the problem 
might be that /usr/X11R6/lib/X11/fonts/misc/fonts.dir is missing or corrupted. 
 You might want to see if this latter file exists (and is readable, etc.) and 
that it contains a line that looks like this:

cursor.pcf.gz cursor

Just for the record, Thomas David Rivers wrote:

>  I think it's because you don't have a :1 X server running, just
> a :0 one... that is, you have an X server listing on port 6000, just
> don't have one listening on port 6001.

This is right, except that the X server that was supposed to be listening on 
port 6001 (a.k.a. display :1) was really the Xvnc server.

Bruce.





--==_Exmh_-158271224P
Content-Type: application/pgp-signature

-----BEGIN PGP MESSAGE-----
Version: 2.6.2

iQCVAwUBNkxiLqjOOi0j7CY9AQHK7QP/d+OcplA0VZ5Zftw6yh8wv+lmBZsDRNU3
7awWb0aoSAFtuRl6t1tETCDK7U8P5zTZFA88ADZWiKN4eZrFFpSn7OVwpc31fP7Y
cifN2MFXFHequQ1z9LqcyTOm0Fe3SHVfOmx8eYahdkjV+PxFIftT+cjWVwKEhpYs
qYroed1tTr4=
=CAB7
-----END PGP MESSAGE-----

--==_Exmh_-158271224P--

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



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