Bug 60176
Summary: | Can't specify geometry for VNC server | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux Beta | Reporter: | Bernd Bartmann <bernd.bartmann> |
Component: | vnc | Assignee: | Tim Waugh <twaugh> |
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | beta1 | CC: | behdad, chris, david_j_morse, ian, jbarwick, mitr, p.van.egdom, summer, tao |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 4.0-1.beta4.11 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-04-14 16:17:17 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: |
Description
Bernd Bartmann
2002-02-21 11:33:49 UTC
Do you have a suggestion for how this should work? Is one global setting enough, or does it need to be per-user? I see two options how to do this: 1. Add the geometry size for VNC server after the display and username in /etc/sysconfig/vncservers like this: VNCSERVER="1:bart:1400x1050 2:admin:1280x1024" 2. Don't use the VNCSERVERS variable. Instead specify all options for a VNC server on a different line in the config file like this: 1:bart:-geometry 1400x1050 -depth 16 2:admin:-geometry 1280x1050 -depth 32 Another thing I noticed while setting up my VNC servers is that there is no good error message if there is no .vnc/passwd file. It also would be good if vncpasswd could create the .vnc directory if it doesn't exists. Otherwise you can't setup a passwd entry so on has to create the .vnc directory by hand. I think the first solution is the best. I'll look at this in the next development cycle. Two comments on this issue, which I've also had to work round. First, I would appreciate a solution where the settings can be made on a "per- user" basis: my application involves connecting from clients with different screen geometries and having multiple "users" in VNCSERVERS, with different geometries, would make this easier for me. Secondly, I would appreciate a solution in which more than the geometry can be specified. Ideally, any VNC server option should be specifiable but in particular you need to be able to specify both the geometry and the colour depth, as otherwise the default 8-bit depth is a bit "blah" on a local network where you have the bandwidth to do 24-bit instead. My current (trivial, unsophisticated) workround involves adding a VNCOPTIONS setting in the configuration file along with the VNCSERVERS one, and just substituting this into the vncserver command. This acts as a global option and works for me just now, but doesn't address the multiple servers issue. You could extend this idea by having VNCOPTIONS for global settings and VNCOPTIONS1, VNCOPTIONS2 etc for the different servers. I'd be happy to lose the global VNCOPTIONS if that made things too complicated. *** Bug 68971 has been marked as a duplicate of this bug. *** *** Bug 86391 has been marked as a duplicate of this bug. *** *** Bug 97879 has been marked as a duplicate of this bug. *** Any news here? There still seems be no fix in Severn Beta1 *** Bug 120511 has been marked as a duplicate of this bug. *** Bug #120511 has a patch which looks like a good approach. Patch applied in 4.0-1.beta4.11. |