Bug 58990 - vncserver uses -fp unix/:7100 and Xvnc coredumps when it's not available.
Summary: vncserver uses -fp unix/:7100 and Xvnc coredumps when it's not available.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: vnc
Version: 7.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: David Lawrence
URL:
Whiteboard:
: 60347 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-01-28 23:16 UTC by Aleksey Nogin
Modified: 2007-04-18 16:39 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-01-29 17:13:14 UTC
Embargoed:


Attachments (Terms of Use)
vnc-fp.patch (878 bytes, patch)
2002-01-29 17:11 UTC, Tim Waugh
no flags Details | Diff

Description Aleksey Nogin 2002-01-28 23:16:58 UTC
Reproducible: always
To reproduce:
1) Stop xfs
2) Try running vncserver (the one in /usr/bin)

Expected: something reasonable.
Actual: Xvnc dies (sometimes with a coredump).

I see at least two issues here:
- vncserver always uses -fp unix/:7100 and there is no way to override that in a
config file (I can edit the /usr/bin/vncserver directly, but that is not a
config file).
- Xvnc dies without a meaningful error message when -fp points to a non-existing
server.

P.S. In general, a setup with a central font server and no local ones breaks
many RH scripts... Would it make sense to have an extra configuration file in
sysconfig that everybody (vncserver, Xconfigurator, etc) could use?

Comment 1 Tim Waugh 2002-01-29 08:23:48 UTC
With the 7.2 package there was a core dump problem to do with xfs when
_exiting_ Xvnc: could it be that you are seeing?  It's been fixed since then..

You can override the font path on the command line using -fp FONTPATH; does that
help?



Comment 2 Aleksey Nogin 2002-01-29 16:26:13 UTC
> With the 7.2 package there was a core dump problem to do with xfs when
> _exiting_ Xvnc: could it be that you are seeing?

No, definitely not - this started happening when I disabled the local server and
went away when I changed the vncviewer script to use the remote server instead.
And it definitely was during startup

> You can override the font path on the command line using -fp FONTPATH; does that
> help?

Not really, there are several users besides me who use vncserver and I need a
default that works. Would it be better to extract the default from XF86Config
(or -4) if that config is present? Or should we have a separate configuration
file (that Xconfigurator could consult too)?



Comment 3 Tim Waugh 2002-01-29 17:10:20 UTC
For the time being, in lieu of a real configuration file to look at in an easy way,
I used this replacement vnc-fp.patch:


Comment 4 Tim Waugh 2002-01-29 17:11:03 UTC
Created attachment 43936 [details]
vnc-fp.patch

Comment 5 Tim Waugh 2002-01-30 14:19:25 UTC
Patched in vnc-3.3.3r2-26.


Comment 6 Tim Waugh 2002-02-26 12:01:52 UTC
*** Bug 60347 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.