From owner-freebsd-questions Fri Nov 13 08:46:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA01020 for freebsd-questions-outgoing; Fri, 13 Nov 1998 08:46:19 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from stennis.ca.sandia.gov (stennis.ca.sandia.gov [146.246.243.44]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA01013 for ; Fri, 13 Nov 1998 08:46:18 -0800 (PST) (envelope-from bmah@stennis.ca.sandia.gov) Received: (from bmah@localhost) by stennis.ca.sandia.gov (8.9.1/8.9.1) id IAA27056; Fri, 13 Nov 1998 08:45:35 -0800 (PST) Message-Id: <199811131645.IAA27056@stennis.ca.sandia.gov> X-Mailer: exmh version 2.0.2 2/24/98 To: Thomas David Rivers , rdmurphy@vt.edu Cc: FreeBSD-questions@FreeBSD.ORG Subject: Re: vnc Fatal server error: could not open default cursor font 'cursor' In-Reply-To: Your message of "Wed, 11 Nov 1998 08:53:11 EST." <199811111353.IAA01045@lakes.dignus.com> From: bmah@CA.Sandia.GOV (Bruce A. Mah) Reply-To: bmah@CA.Sandia.GOV X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Url: http://www.ca.sandia.gov/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_-158271224P"; micalg=pgp-md5; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Fri, 13 Nov 1998 08:45:34 -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --==_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