Bug 200395 - net/vnc: vncserver won't start after recent font relocation
Summary: net/vnc: vncserver won't start after recent font relocation
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Cy Schubert
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-22 17:28 UTC by ben
Modified: 2016-11-14 19:13 UTC (History)
5 users (show)

See Also:
bugzilla: maintainer-feedback? (cy)


Attachments
patchfile to be added to net/vnc/files/ (349 bytes, patch)
2016-07-04 18:05 UTC, alexander.haderer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ben 2015-05-22 17:28:58 UTC
if I start vncserver after a complete ports rebuild today (updated today), then it fails with this error:

Fatal server error:
could not open default font 'fixed'

Adding "-fp /usr/local/share/fonts/misc" to the command line fixes it. At least enough to start.
Comment 1 Cy Schubert freebsd_committer freebsd_triage 2015-07-05 17:22:26 UTC
Unable to reproduce.

How did you build vnc?
Comment 2 alexander.haderer 2016-07-04 18:02:24 UTC
I have got the same problem (FreeBSD 10.3, amd64, portsnap from a few days before). I have already seen this on previous versions for FreeBSD 10

How to reproduce:

* either install package net/vnc as precompiled package: pkg install net/vnc
  (seen with FreeBSD 10.1 / 2 and vnc-4.1.3_10)
* portsnap, build package via portmaster -g net/vnc (and then install)
* build from ports via make, make install

Let Xvnc be the only X-Server installed on the system.

Assumption 1: there is an unknown dependency to another port using
some "native" X related software. For example: if another port silently creates
a symlink /usr/local/lib/X11/fonts --> /usr/local/share/fonts then vncserver
will work.

Assumption 2: Xvnc is the only X-Server installalled, /etc/X11 is empty, probably
this is the problem

As a solution for vncserver please find attached an additional patchfile to 
be added to port's patches dir .../ports/net/vnc/files/
Comment 3 alexander.haderer 2016-07-04 18:05:12 UTC
Created attachment 172112 [details]
patchfile to be added to net/vnc/files/

Patches missing font-path in vncserver script.
To be added below net/vnc/files/
Comment 4 howard0su 2016-07-28 23:47:16 UTC
I can repo the exact same issue in a newly installed FreeBSD-10.3 box with VNCServer. I worked around by add a symbolic link to the new font path.
Comment 5 Rene Ladan freebsd_committer freebsd_triage 2016-11-14 19:13:06 UTC
Expired port removed.