Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 28th June 2012, 05:32 PM
mikealec Offline
Registered User
 
Join Date: Jun 2012
Location: United States
Posts: 2
linuxfirefox
vncserver geometry overriden

Hi,

I am having an odd problem with vncserver since upgrading (preupgrade, which worked flawlessly, as far as I can tell) from FC16 to FC17. Let me start by saying that I am using Gnome in fallback mode. Under FC16, I could run:

vncserver :2 -geometry 1680x1050 -localhost -nolisten tcp

and then

vncviewer 127.0.0.1:2

which resulted in a 1680x1050 window with no scrollbars, and a functional Gnome desktop.

With FC17, however, when I run those same commands, I wind up with a desktop space that is 1920x1200 in size with scrollbars and the right and bottom edges of the vncviewer window despite seeing a /usr/bin/Xvnc process with the appropriately defined -geometry parameter. This seems somehow linked to the gnome-settings-daemon. If I chmod -x /usr/libexec/gnome-settings-daemon and then start the vncserver and vncviewer, it results in the desired 1680x1050 Gnome desktop.

The whole Gnome vs Xfce debate aside, when I switch to Xfce as a desktop and modify my ~/.vnc/xstartup file to run Xfce instead of Gnome, I get the desired 1680x1050 desktop.

What is gnome-settings-daemon doing that it is overriding the requested resolution, and is there a way to prevent it or make it do the right thing? Why is it arbitrarily picking 1920x1200 as the resolution it wishes to run at? The native X display on that host is 2560x1600, so it isn't getting it from there.

Brief excerpt from the ~/.vnc/host:2.log:

Code:
Xlib:  extension "DPMS" missing on display ":2".

(gnome-settings-daemon:4382): power-plugin-WARNING **: Failed set DPMS mode: Display is not DPMS capable
Xlib:  extension "DPMS" missing on display ":2".
=== xinerama setup Configuration ===
  Clone: false
  Output: Unknown attached to default
     status: on
     width: 1920
     height: 1200
     rate: 60
     primary: false
     position: 0 0
=== auto-configure - xinerama mode Configuration ===
  Clone: false
  Output: Unknown attached to default
     status: on
     width: 1920
     height: 1200
     rate: 60
     primary: false
     position: 0 0
=== Applying Configuration Configuration ===
  Clone: false
  Output: Unknown attached to default
     status: on
     width: 1920
     height: 1200
     rate: 60
     primary: true
     position: 0 0
Xlib:  extension "DPMS" missing on display ":2".
Xlib:  extension "DPMS" missing on display ":2".

(gnome-settings-daemon:4382): color-plugin-WARNING **: failed to get edid: unable to get EDID for output
Xlib:  extension "DPMS" missing on display ":2".
Thanks for any insight.
Reply With Quote
  #2  
Old 16th July 2012, 01:59 AM
reynolad Offline
Registered User
 
Join Date: Jul 2012
Location: Cleveland
Posts: 1
windows_7chrome
Re: vncserver geometry overriden

I am seeing the same problem. Has anyone else see this or have a fix for it?

Thanks
Reply With Quote
  #3  
Old 24th July 2012, 04:28 AM
mikealec Offline
Registered User
 
Join Date: Jun 2012
Location: United States
Posts: 2
linuxfirefox
Re: vncserver geometry overriden

I've sort of given up on this for the time being as I have switched off of Gnome and onto Xfce which doesn't have this problem.

If you're still chasing it, this appears to be an issue with the following 3 components (I'm not sure which component to point at definitively):

1. gnome-settings-daemon
2. xrandr
3. Xvnc

So gnome-settings-daemon is invoking xrandr, which is returning the current size of 1680x1050, along with the maximum size of 1920x1200. gnome-settings-daemon is (incorrectly?) choosing 1920x1200 as the desktop sized based upon the maximum size returned by xrandr, rather than the current size of 1680x1050. I am not sure why xrandr returns a maximum of 1920x1200 when Xvnc has been invokved with "-geometry 1680x1050".

So is this the fault of gnome-settings-daemon for choosing the maximum resolution rather than the current resolution, or is this the fault of Xvnc for offering 1920x1200 when a smaller "-geometry" was defined? This problem started with FC17. Unfortunately, I don't have the time to set up another instance of FC16 to see what xrandr returns there for the Xvnc server.

Code:
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 1680 x 1050, maximum 1920 x 1200
default connected 1680x1050+0+0 0mm x 0mm
   1920x1200      60.0  
   1920x1080      60.0  
   1600x1200      60.0  
   1680x1050      60.0* 
   1400x1050      60.0  
   1360x768       60.0  
   1280x1024      60.0  
   1280x960       60.0  
   1280x800       60.0  
   1280x720       60.0  
   1024x768       60.0  
   800x600        60.0  
   640x480        60.0

Last edited by mikealec; 24th July 2012 at 04:31 AM.
Reply With Quote
  #4  
Old 1st March 2013, 02:26 PM
cmonkey Offline
Registered User
 
Join Date: Mar 2013
Location: PA
Posts: 1
windows_7ie
Re: vncserver geometry overriden

was having the same issue.. my vnc session was defaulting to 1920x1200 but i changed the resolution of the remote box to match my local resolution (1920x1080) using gnome's interface and everything appears to be working fine. its not a perfect solution but it's much better than running out of an autoscaled window or with too high of a resolution. I was previously using centos 5 with no problems. this started for me when moving to fedora 17.
Reply With Quote
  #5  
Old 6th May 2013, 09:03 PM
gossamer Offline
Registered User
 
Join Date: Oct 2011
Posts: 49
linuxfirefox
Re: vncserver geometry overriden

Quote:
Originally Posted by cmonkey View Post
was having the same issue.. my vnc session was defaulting to 1920x1200 but i changed the resolution of the remote box to match my local resolution (1920x1080) using gnome's interface and everything appears to be working fine. its not a perfect solution but it's much better than running out of an autoscaled window or with too high of a resolution. I was previously using centos 5 with no problems. this started for me when moving to fedora 17.
I'm having the same problem. Is it worth filing a bug report for fc17 at this point?

Also, perhaps I should post a separate message, but when I open chrome from the Applications menu, it opens on my desktop, not the vnc desktop. How do I control where the display is directed?

The $DISPLAY variable in an gnome-terminal is the vnc desktop, but it appears chrome doesn't get that from the environment?

Thanks,
Alex
Reply With Quote
Reply

Tags
geometry, overriden, vncserver

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
QA overriden by the three stooges SlowJet Fedora Focus 2 24th January 2009 12:23 AM
selinux: hand tweaking policieand yum selinux-policy updates: overriden or perserved? mbiggerstaff Security and Privacy 1 19th December 2007 12:02 PM
About geometry on USB pendrive satimis Hardware & Laptops 0 6th March 2006 04:33 AM
FC4 Drive Geometry mercury8 EOL (End Of Life) Versions 3 14th June 2005 04:46 PM
hda geometry? Stingus Installation and Live Media 8 15th September 2004 07:26 PM


Current GMT-time: 06:35 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat