LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 09-07-2006, 02:45 AM   #1
tommywds
LQ Newbie
 
Registered: Sep 2006
Posts: 1

Rep: Reputation: 0
VNC Problems could not open default font 'fixed'


Hi Guys

I'm quite new to Linux and I'm currently running FC5. So far it has been great, but after running a yum update the other day I'm no longer able to start a VNC Server, which is annoying as the machine is elsewhere in my building...

I get the following info from the log for RealVNC, can anyone point me in the right direction to fixing this?

Thanks in advance, Tom.

Code:
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'

Xvnc Free Edition 4.1.2 - built May 12 2006 17:42:24
Copyright (C) 2002-2005 RealVNC Ltd.
See RealVNC for information on VNC.
Underlying X server release 40201000, The XFree86 Project, Inc


Thu Sep  7 08:28:59 2006
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on port 5901
 vncext:      Listening for HTTP connections on port 5801
 vncext:      created VNC server for screen 0
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list!

Fatal server error:
could not open default font 'fixed'
xsetroot:  unable to open display 'fedora.server:1'
vncconfig: unable to open display "fedora.server:1"
Warning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm Xt error: Can't open display: %s
twm:  unable to open display "fedora.server:1"
 
Old 09-08-2006, 03:10 AM   #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
this is, i think, due to an incorrect font path in tht vncserver wrapper script. xorg-x11 has generally moved fonts from the missing paths above into somewhere like /usr/share/fonts. edit that script and try changin the location of the fonts (obviosuly check you know where the fonts actuall are first...)
 
Old 09-15-2006, 05:12 PM   #3
zaaz112az
LQ Newbie
 
Registered: May 2006
Distribution: Fedora
Posts: 2

Rep: Reputation: 0
I`m ranning FC5 to. for me font dir located in /usr/share/X11 and I add simlink to /usr/X11R6/lib/X11

use command locate 100dpi or locate Type1 to find your font dir and create link

su -
{password}
cp -s /usr/share/X11 /usr/X11R6/lib/X11
I think this help
---------------------------------------
[is@localhost ~]$ ls -l /usr/share/X11
total 124
drwxr-xr-x 2 root root 4096 Jul 1 18:17 app-defaults
drwxr-xr-x 9 root root 4096 Mar 4 2006 fonts
drwxr-xr-x 2 root root 4096 Jul 1 16:02 lbxproxy
drwxr-xr-x 59 root root 4096 Jul 1 16:34 locale
-rw-r--r-- 1 root root 17371 Feb 12 2006 rgb.txt
drwxr-xr-x 2 root root 4096 Jul 1 16:36 x11perfcomp
-rw-r--r-- 1 root root 37893 Jun 27 04:44 XErrorDB
drwxr-xr-x 10 root root 4096 Jul 1 16:03 xkb
-rw-r--r-- 1 root root 8298 Jun 27 04:44 XKeysymDB
[is@localhost ~]$ ls -l /usr/X11R6/lib/X11
lrwxrwxrwx 1 root root 14 Aug 3 12:27 /usr/X11R6/lib/X11 -> /usr/share/X11
----------------------------------------

sorry for me english
 
Old 06-19-2008, 08:26 AM   #4
gcclinux
Member
 
Registered: Oct 2004
Location: London, UK
Distribution: Suse 12.1
Posts: 79

Rep: Reputation: 15
Followed the recommendation and it also worked on Mandriva.

[ricardo@localhost]$ cat /etc/version
2008.0.0 5 Tycho

[ricardo@localhost]$ sudo ln -s /usr/share/fonts /usr/lib/X11/fonts


And after that is was all working:

19/06/08 14:16:20 Xvnc version TightVNC-1.3.9
19/06/08 14:16:20 Copyright (C) 2000-2007 TightVNC Group
19/06/08 14:16:20 Copyright (C) 1999 AT&T Laboratories Cambridge
19/06/08 14:16:20 All Rights Reserved.
19/06/08 14:16:20 See http://www.tightvnc.com/ for information on TightVNC
19/06/08 14:16:20 Desktop name 'X' (localhost:2)
19/06/08 14:16:20 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
19/06/08 14:16:20 Listening for VNC connections on TCP port 5902
19/06/08 14:16:20 Listening for HTTP connections on TCP port 5802
19/06/08 14:16:20 URL http://localhost:5802
 
Old 03-04-2010, 09:17 AM   #5
hunter3740
LQ Newbie
 
Registered: Mar 2010
Location: Pittsburgh
Distribution: Debian 6
Posts: 28

Rep: Reputation: 17
Could not init font path element /usr/X11R6/lib/X11/fonts/

This won't help you, but in case anyone else is looking at this forum; for Debian 5 (a.k.a. Lenny), I ran the following commands (assuming you already "apt-get install sudo" and your username is in the /etc/sudoers file):

sudo mkdir /usr/X11R6/lib
sudo mkdir /usr/X11R6/lib/X11
sudo ln -s /usr/share/fonts/X11 /usr/X11R6/lib/X11/fonts

You'll still get the error for the Speedo font, but I believe that's now deprecated (i.e. you don't need it).
 
  


Reply



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
could not open default font 'fixed' gtzpower Linux - General 5 06-01-2016 11:55 AM
Xfree86 Problems : could not open default font 'fixed' dj_relentless Linux - General 17 04-13-2009 12:50 PM
Could not open default font 'fixed'?? danbaerg Linux - Newbie 1 05-31-2004 11:21 AM
cound not open default font 'fixed'...HELP! andym Linux - Newbie 4 05-26-2003 05:13 PM
(fse) could not open default font 'fixed' Will Linux - General 0 09-02-2001 10:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 03:47 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