Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 58990

Summary: vncserver uses -fp unix/:7100 and Xvnc coredumps when it's not available.
Product: [Retired] Red Hat Linux Reporter: Aleksey Nogin <aleksey>
Component: vncAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-01-29 17:13:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
vnc-fp.patch none

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. ***