Bug 68971
| Summary: | VNCOPTIONS to vncserver init script | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Raw Hide | Reporter: | Rex Dieter <rdieter> | ||||
| Component: | vnc | Assignee: | Tim Waugh <twaugh> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | David Lawrence <dkl> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 1.0 | Keywords: | 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: |
|
||||||
Created attachment 65547 [details]
patch to vncservers.init to implement use of VNCOPTIONS
|
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.