LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-03-2009, 12:12 PM   #1
mjdb
LQ Newbie
 
Registered: Feb 2009
Posts: 5

Rep: Reputation: 0
Error Starting vncserver


Hello,

I just installed vncserver on my linux server, when I go to start it I receive the following error:

-----------------------------------------

vncserver :1
Couldn't start Xvnc; trying default font path.
Please set correct fontPath in the vncserver script.
Couldn't start Xvnc process.

Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
04/02/09 15:40:37 Xvnc version TightVNC-1.3.9
04/02/09 15:40:37 Copyright (C) 2000-2007 TightVNC Group
04/02/09 15:40:37 Copyright (C) 1999 AT&T Laboratories Cambridge
04/02/09 15:40:37 All Rights Reserved.
04/02/09 15:40:37 See http://www.tightvnc.com/ for information on TightVNC
04/02/09 15:40:37 Desktop name 'X' (20291-51117:1)
04/02/09 15:40:37 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
04/02/09 15:40:37 Listening for VNC connections on TCP port 5901
04/02/09 15:40:37 Listening for HTTP connections on TCP port 5801
04/02/09 15:40:37 URL http://20291-51117:5801
_FontTransSocketUNIXConnect: Can't connect: errno = 2
failed to set default font path 'unix/:7100'
Fatal server error:
could not open default font 'fixed'
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
04/02/09 15:40:38 Xvnc version TightVNC-1.3.9
04/02/09 15:40:38 Copyright (C) 2000-2007 TightVNC Group
04/02/09 15:40:38 Copyright (C) 1999 AT&T Laboratories Cambridge
04/02/09 15:40:38 All Rights Reserved.
04/02/09 15:40:38 See http://www.tightvnc.com/ for information on TightVNC
04/02/09 15:40:38 Desktop name 'X' (20291-51117:1)
04/02/09 15:40:38 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
04/02/09 15:40:38 Listening for VNC connections on TCP port 5901
04/02/09 15:40:38 Listening for HTTP connections on TCP port 5801
04/02/09 15:40:38 URL http://20291-51117: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'

---------------------------------------

I am new to this, can someone please help me with what steps I need to take to correct this.

Thank you
 
Old 02-03-2009, 12:29 PM   #2
amachina
LQ Newbie
 
Registered: Aug 2006
Location: VA
Distribution: Fedora, Red Hat
Posts: 9

Rep: Reputation: 1
Looks like your fonts might be installed in a non-standard place. You might try locating your font path, then modifying the startup script to point to the font path.

# which vncserver # to find where "vncserver" code lives
# vim <path_to_vncserver> # edit the file

Look for "fonts" and modify the paths as necessary (for example, in my file there is):

# $cmd .= " -fp /usr/lib/X11/fonts/misc/,usr/lib/X11/fonts/75dpi/";

Uncomment the above and set the paths to your fonts.
 
Old 02-03-2009, 01:46 PM   #3
mjdb
LQ Newbie
 
Registered: Feb 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you for getting back to me. This might sound crazy, but I cannot find a font folder anywhere on my server. I think I might need to install Xserver. Does this sound right? Would you know how to install this?

Thanks
 
Old 02-03-2009, 03:07 PM   #4
amachina
LQ Newbie
 
Registered: Aug 2006
Location: VA
Distribution: Fedora, Red Hat
Posts: 9

Rep: Reputation: 1
Strange. How can the system not have any fonts?

Can you start X manually?

Are you seeing a GUI on your console?

Which distribution are you running?

Did "vncserver" come pre-installed with your distribution or did you add it manually?

If manually, I'd suggest consulting the documentation that came with your vncserver installation docs. The problem may not be vncserver at all if you can't get a graphical interface to start.
 
Old 02-03-2009, 03:31 PM   #5
mjdb
LQ Newbie
 
Registered: Feb 2009
Posts: 5

Original Poster
Rep: Reputation: 0
I know, it must have fonts somewhere, but it just does not find the folder.

This is an off site dedicated server, right now the only access I have to it is SSH. I am trying to setup VNC so I can "remote" onto it.

I just finished installing GNOME on it, but that did not help my current situation.

I am running Fedora 6 Core. VNCServer did not come pre-installed. I manually installed it. I installed tightvnc and was looking at the documentation here http://www.tightvnc.com/Xvnc.1.html for the XVNC issue, but I could not figure out how to get it to run.

Do you know how to start X manually? What command would I write in SSH? Is there a command to install the GUI?
 
Old 02-04-2009, 12:05 AM   #6
mjdb
LQ Newbie
 
Registered: Feb 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Ok, I was able to install X11 and found the font path: /usr/share/fonts/default

Now, I go into the file: vi /usr/bin/vncserver #

This is the entire file:
#!/usr/bin/perl
#
# Copyright (C) 2002-2003 Constantin Kaplinsky. All Rights Reserved.
# Copyright (C) 1999 AT&T Laboratories Cambridge. All Rights Reserved.
#
# This is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This software is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this software; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
# USA.
#

#
# vncserver - wrapper script to start an X VNC server.
"/usr/bin/vncserver" [readonly] 623L, 15615C


Where should i add the path for the font?

Thanks
 
Old 02-04-2009, 09:33 PM   #7
amachina
LQ Newbie
 
Registered: Aug 2006
Location: VA
Distribution: Fedora, Red Hat
Posts: 9

Rep: Reputation: 1
Have you tried starting vncserver after you installed X11? It should just work.

Regarding the file you show in your post; that is only the first 20 odd lines of the file. The file has 623 lines. Try "cat /usr/bin/vncserver" and you will see the rest of them. But you will have to use "vi" to edit the file. (Try CTL-F to see the next page; "j" to get to the next line, etc).

To start X manually on Fedora, you would normally normally log on to the console and issue a "startx" command. Since you use ssh to login to the box, you would require an X server on your (remote) end; thus the reason for VNC, which is your best bet
 
  


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
Starting a second session using the VNCserver swamprat SUSE / openSUSE 4 04-12-2007 09:34 PM
Starting vncserver mickeyboa Fedora 3 08-08-2005 02:47 AM
Trouble starting vncserver maximyus Linux - Networking 3 04-02-2005 12:49 PM
vncserver problems starting Xris718 Linux - General 2 10-08-2004 11:53 PM
Problem starting vncserver bunghole Linux - Networking 2 10-29-2001 03:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:31 AM.

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