LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-22-2005, 02:35 PM   #1
jnev
Member
 
Registered: Apr 2005
Posts: 158

Rep: Reputation: 30
problem with vnc


i'm trying to get vnc working on my pc. i got everything installed just fine, but when i try to execute vncserver i get this error:

Code:
jnev@jnevubuntu:~$ vncserver
Found /usr/share/tightvnc-java for http connections.
Couldn't start Xtightvnc; trying default font path.
Please set correct fontPath in the vncserver script.
Couldn't start Xtightvnc process.

22/11/05 12:33:49 Xvnc version 3.3.tight1.2.9
22/11/05 12:33:49 Copyright (C) 1999 AT&T Laboratories Cambridge.
22/11/05 12:33:49 Copyright (C) 2000-2002 Constantin Kaplinsky.
22/11/05 12:33:49 All Rights Reserved.
22/11/05 12:33:49 See http://www.uk.research.att.com/vnc for information on VNC
22/11/05 12:33:49 See http://www.tightvnc.com for TightVNC-specific information
22/11/05 12:33:49 Desktop name 'X' (jnevubuntu:1)
22/11/05 12:33:49 Protocol version supported 3.3
22/11/05 12:33:49 Listening for VNC connections on TCP port 5901
22/11/05 12:33:49 Listening for HTTP connections on TCP port 5801
22/11/05 12:33:49   URL http://jnevubuntu:5801
Font directory '/usr/X11R6/lib/X11/fonts/Type1/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/Speedo/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/misc/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/75dpi/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/100dpi/' not found - ignoring

Fatal server error:
could not open default font 'fixed'
22/11/05 12:33:50 Xvnc version 3.3.tight1.2.9
22/11/05 12:33:50 Copyright (C) 1999 AT&T Laboratories Cambridge.
22/11/05 12:33:50 Copyright (C) 2000-2002 Constantin Kaplinsky.
22/11/05 12:33:50 All Rights Reserved.
22/11/05 12:33:50 See http://www.uk.research.att.com/vnc for information on VNC
22/11/05 12:33:50 See http://www.tightvnc.com for TightVNC-specific information
22/11/05 12:33:50 Desktop name 'X' (jnevubuntu:1)
22/11/05 12:33:50 Protocol version supported 3.3
22/11/05 12:33:50 Listening for VNC connections on TCP port 5901
22/11/05 12:33:50 Listening for HTTP connections on TCP port 5801
22/11/05 12:33:50   URL http://jnevubuntu:5801
Font directory '/usr/X11R6/lib/X11/fonts/misc/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/Speedo/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/Type1/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/75dpi/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/100dpi/' not found - ignoring

Fatal server error:
could not open default font 'fixed'
there's a tutorial on this site for vnc that i'm trying to follow, but i can't because it's giving me these error messages. my xorg.conf is fine, i put in all the stuff i needed for vnc to run. i installed vnc from realvnc and all the packages with vnc in the name from synaptic.

any help would rock.
thanks
 
Old 11-22-2005, 03:20 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i *think* this is down to you running the xorg-x11 server with vnc there expecting to find fonts in the older xfree86 server location. i'm afraid i don't know of a "nice" way to get around this, other than using a possibly newer version, but essentially if you open up the vncserver script, and search for "font" you'll find a line that lists the font path. newer fonts are now placed in /usr/share/fonts i believe, so you can place that path there. you may also be able to speficy the -fp option on the vncserver command line, but i've not looked through the vncserver script enough to know if that option would get passed through or not.

Last edited by acid_kewpie; 11-22-2005 at 03:23 PM.
 
Old 11-23-2005, 09:05 AM   #3
spitfire5c
LQ Newbie
 
Registered: Nov 2005
Distribution: Ubuntu, SuSE + Others
Posts: 23

Rep: Reputation: 15
Hi
Just a minor correction to the last post:
The fonts path used by Xorg is /usr/share/X11/fonts
You could also get around this problem by creating a symlink from /usr/X11R6/lib/X11/fonts to /usr/share/X11/fonts

Ian
 
Old 11-23-2005, 07:38 PM   #4
number9
Member
 
Registered: Dec 2003
Location: Fresno
Distribution: Gentoo Ricer
Posts: 85

Rep: Reputation: 15
I remember seeing the solution to this in the FAQ.

The 'fixed' font is needed for the server to start - if it can't find it, you need to specify the correct font path for your machine in the 'vncserver' script. If you're not sure what the path should be, type 'xset q' from within a normal X session. One of the things reported is the font path used by your current X server, which is generally the right thing to use for Xvnc. On some platforms you may need to use a colon as a separator in the font path instead of a comma.

The VNC server can also get upset if you have directories on your font path which don't actually exist on your system. Make sure you remove those. Also note that older versions of the Xvnc server, by default, act as if they had a resolution of 100dpi. Some RedHat installations, for example, only install 75dpi fonts, so you may need to install the missing font RPMs from your distribution or use the -dpi option to Xvnc, or update to the latest version.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VNC problem gauge73 Linux - Networking 13 01-27-2009 12:34 AM
VNC Problem RySk8er30 Mandriva 2 09-05-2005 05:57 PM
little vnc problem -- please help ruwach Linux - Software 3 12-06-2004 10:47 PM
VNC Problem Wolf-67 Linux - Newbie 1 10-01-2004 06:19 PM
VNC problem Fulkan Linux - Software 1 10-01-2004 06:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 09:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration