Bug 68971

Summary: VNCOPTIONS to vncserver init script
Product: [Retired] Red Hat Raw Hide Reporter: Rex Dieter <rdieter>
Component: vncAssignee: Tim Waugh <twaugh>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-07-16 16:48:34 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
patch to vncservers.init to implement use of VNCOPTIONS none

Description Rex Dieter 2002-07-16 16:46:21 UTC
I found the need/desire to use Xvnc options differing from the default for 
some vnc sessions I wanted to setup on some machines of mine.  I found it 
pretty easy to implement. 
 
I added a line to /etc/sysconfig/vncservers, using some sample options (for 
illustration): 
VNCOPTIONS="-depth 16 -geometry 800x600 -alwaysshared" 
 
and then modified the vncserver.init script, in particular, the line launching 
the vncserver process from: 
...] && vncserver :${display%%:*}\"" 
to 
...] && vncserver :${display%%:*} $VNCOPTIONS \"" 
 
I suppose this idea could also be extended to include display-specific 
options, say, I want -depth 16 to apply only to to the vnc server on display 
:1.  
 
I'll include a patch detailing the modifications to the init script.

Comment 1 Rex Dieter 2002-07-16 16:48:30 UTC
Created attachment 65547 [details]
patch to vncservers.init to implement use of VNCOPTIONS

Comment 2 Tim Waugh 2002-07-17 09:35:31 UTC
Thanks.  I'm marking this as a duplicate of a previous request for the same thing.

*** This bug has been marked as a duplicate of 60176 ***