vnc4server uses wrong font path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vnc4 (Ubuntu) |
Fix Released
|
Medium
|
Kees Cook | ||
Breezy |
Invalid
|
Low
|
Unassigned | ||
Dapper |
Fix Released
|
Medium
|
Kees Cook | ||
Edgy |
Won't Fix
|
Medium
|
Unassigned | ||
Feisty |
Fix Released
|
Medium
|
Kees Cook |
Bug Description
Xvnc4 (package vnc4server) appears to have a problem finding the default "fixed" font in Breezy.
<pre>
intangible@
Xvnc version 4.0 - built Apr 19 2005 04:26:49
Underlying X server release 40200000, The XFree86 Project, Inc
Wed Oct 26 07:20:59 2005
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5901
vncext: created VNC server for screen 0
Could not init font path element /usr/X11R6/
Could not init font path element /usr/X11R6/
Fatal server error:
could not open default font 'fixed'
</pre>
xorg.conf contains the updated font paths.
There is a work-around, you must launch Xvnc4 with the -fp option to point at the new font path in breezy: Xvnc4 :1 -fp /usr/share/
Changed in vnc4: | |
assignee: | nobody → motu |
Changed in vnc4: | |
status: | Unconfirmed → Confirmed |
Changed in vnc4: | |
importance: | Medium → Low |
assignee: | motu → keescook |
status: | Confirmed → Fix Released |
assignee: | nobody → keescook |
status: | Unconfirmed → Fix Released |
status: | Confirmed → Fix Committed |
importance: | Undecided → Medium |
I am pretty sure this is the same problem I am having. I always use the /usr/bin/vnc4server wrapper to start the VNC server, which is usually linked to by /usr/bin/vncserver, depending alternatives configuration.
I'm not sure if these are the most elegant, but I found that this bug can be fixed in one of the following two ways:
1. Uncommenting and editing the following definition in /etc/vnc.conf -- xorg.conf" ;
$XFConfigPath = "/etc/X11/
2. Editing the script /usr/bin/vnc4server and making the following change to add three lines -- XF86Config- 4") {
$XFConfigPath = "/etc/X11/ XF86Config- 4"; XF86Config" ) {
$XFConfigPath = "/etc/X11/ XF86Config" ; xorg.conf" ) { xorg.conf" ;
if (!$XFConfigPath) {
if (-e "/etc/X11/
}
elsif (-e "/etc/X11/
}
+ elsif (-e "/etc/X11/
+ $XFConfigPath = "/etc/X11/
+ }
}