Go Back   Technology Questions > Software Questions > Operating System Questions > Linux

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 06-12-2008, 07:50 AM
bl8n8r
Tablet PC Guest
 
Posts: n/a
RealVNC 4.1.2 does not start under Centos 5

Just in case anyone else runs into it -- xorg on Centos 5 and RealVNC
4.1.2 have conflicting font paths configured. The solution when
running across the error below is to symlink /usr/share/X11 to /usr/
X11R6/lib so RealVNC server (specifically Xvnc) can find fonts under
the correct directory.

# strings /usr/bin/Xvnc | grep X11R6
/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/
X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/
lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/
/usr/X11R6/lib/X11/rgb
/usr/X11R6/lib/X11/xserver/SecurityPolicy
/usr/X11R6/lib/X11/xkb
/usr/X11R6/lib/X11/fonts/encodings/encodings.dir


-----------

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 http://www.realvnc.com for information on VNC.
Underlying X server release 40201000, The XFree86 Project, Inc


Thu Jun 12 10:26:36 2008
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'
xrdb: Connection refused
xrdb: Can't open display 'corp-as1.localdomain:1'
xsetroot: unable to open display 'corp-as1.localdomain:1'

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 06-12-2008, 07:50 AM
Xploder HD Movie Player for PS3. Manage, convert and transfer media files between the PC and PS3.
  #2 (permalink)  
Old 06-12-2008, 05:40 PM
George Peter Staplin
Tablet PC Guest
 
Posts: n/a
Re: RealVNC 4.1.2 does not start under Centos 5

bl8n8r wrote:
> Just in case anyone else runs into it -- xorg on Centos 5 and RealVNC
> 4.1.2 have conflicting font paths configured. The solution when
> running across the error below is to symlink /usr/share/X11 to /usr/
> X11R6/lib so RealVNC server (specifically Xvnc) can find fonts under
> the correct directory.
>
> # strings /usr/bin/Xvnc | grep X11R6
> /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/
> X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/
> lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/
> /usr/X11R6/lib/X11/rgb
> /usr/X11R6/lib/X11/xserver/SecurityPolicy
> /usr/X11R6/lib/X11/xkb
> /usr/X11R6/lib/X11/fonts/encodings/encodings.dir



There's an alternative I think for most VNC X servers (if not all). You
can pass a , separated list to -fp.

Like so:
../Xvnc :1 -fp /usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/misc


My full script for XF4VNC looks like this:
../Xvnc :1 -fp /usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/misc \
-httpd /usr/local/vnc/classes -httpport $httpport \
-alwaysshared -desktop "Magic Desktop" \
-rfbauth /path/to/vnc/passwd \
-rfbport $rfbport -rfbwait 120000 -geometry 800x600 -depth 24


George
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ReiserFS on CentOS 5.1? Ivan Marsh Linux 13 10-20-2008 01:55 PM
CentOS 5 ipw2200 yum install? Ivan Marsh Linux 0 05-19-2008 04:20 PM
RealVNC/Vista Luke Chalmers Windows Vista 1 07-17-2007 09:40 AM
Centos on pws500A capt spiff Linux 1 05-05-2007 11:23 PM
What is RealVNC Carl G Windows Vista 6 02-07-2007 12:31 AM


All times are GMT -8. The time now is 01:30 PM.


2003 - 2008 All Rights Reserved. Technology Questions

SEO by vBSEO 3.1.0