LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 01-05-2013, 08:29 PM   #1
wmakowski
Member
 
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 18, 19, RHL 5.2
Posts: 546

Rep: Reputation: 43
vncserver Not Using Geometry Setting in Command


I've been using a VNC server for quite a few years and have run into a problem with setting screen geometry. The server and config were working great up until Fedora 16 and 17. I thought it might be something to do with systemd, but the same problem occurs when I launch vncserver from the command line. Here is what I use.

Code:
vncserver :2 -geometry 1366x768 -depth 24
When I connect, rather than getting 1366x768 it comes up 1920x1200. Now where in the world is it getting that from? I could understand if it were the default of 1024x768, but this value is coming from out of the blue.

My log file is below. There are a lot of warnings and a few other oddities. You can see the width and height settings where it starts talking about Xinerama. I also don't understand why Xinerama and DPMS are even coming into play. I'm guessing it might be something that Gnome is doing or maybe even X. Anyone else run into this or have an idea what could be causing the trouble?

Code:
Xvnc TigerVNC 1.1.0 - built Jul 23 2012 20:08:04
Copyright (C) 1999-2011 TigerVNC Team and many others (see README.txt)
See http://www.tigervnc.org for information on TigerVNC.
Underlying X server release 11202000, The X.Org Foundation


Sat Jan  5 19:23:07 2013
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on all interface(s), port 5902
 vncext:      created VNC server for screen 0

(imsettings-check:23472): GLib-WARNING **: (gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)

(imsettings-check:23477): GLib-WARNING **: (gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)

(imsettings-check:23487): GLib-WARNING **: (gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)

(imsettings-check:23508): GLib-WARNING **: (gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)

(imsettings-check:23513): GLib-WARNING **: (gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)

(imsettings-check:23521): GLib-WARNING **: (gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)
GNOME_KEYRING_CONTROL=/run/user/scoobydoo/keyring-Rsabf6
GPG_AGENT_INFO=/run/user/scoobydoo/keyring-Rsabf6/gpg:0:1
SSH_AUTH_SOCK=/run/user/scoobydoo/keyring-Rsabf6/ssh
GNOME_KEYRING_CONTROL=/run/user/scoobydoo/keyring-Rsabf6
GPG_AGENT_INFO=/run/user/scoobydoo/keyring-Rsabf6/gpg:0:1
SSH_AUTH_SOCK=/run/user/scoobydoo/keyring-Rsabf6/ssh
GNOME_KEYRING_CONTROL=/run/user/scoobydoo/keyring-Rsabf6
GPG_AGENT_INFO=/run/user/scoobydoo/keyring-Rsabf6/gpg:0:1
SSH_AUTH_SOCK=/run/user/scoobydoo/keyring-Rsabf6/ssh
GNOME_KEYRING_CONTROL=/run/user/scoobydoo/keyring-Rsabf6
GPG_AGENT_INFO=/run/user/scoobydoo/keyring-Rsabf6/gpg:0:1
SSH_AUTH_SOCK=/run/user/scoobydoo/keyring-Rsabf6/ssh
Xlib:  extension "DPMS" missing on display ":2".

(gnome-settings-daemon:23539): 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:23539): color-plugin-WARNING **: failed to get edid: unable to get EDID for output
Xlib:  extension "DPMS" missing on display ":2".

(gnome-panel:23581): Gtk-CRITICAL **: gtk_accelerator_parse_with_keycode: assertion `accelerator != NULL' failed

** (gnome-panel:23581): WARNING **: Unable to parse mouse modifier '(null)'

Initializing tracker-miner-fs...
Initializing tracker-store...
Tracker-Message: Setting up monitor for changes to config file:'/home/scoobydoo/.config/tracker/tracker-miner-fs.cfg'
Tracker-Message: Setting up monitor for changes to config file:'/home/scoobydoo/.config/tracker/tracker-store.cfg'
Starting log:
  File:'/home/scoobydoo/.local/share/tracker/tracker-miner-fs.log'
Tracker-Message: Setting up monitor for changes to config file:'/home/scoobydoo/.config/tracker/tracker-store.cfg'
Starting log:
  File:'/home/scoobydoo/.local/share/tracker/tracker-store.log'
Xlib:  extension "DPMS" missing on display ":2".

** (polkit-gnome-authentication-agent-1:23615): WARNING **: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists for the given subject
Cannot register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists for the given subject
Failed to play sound: File or data not found
** Message: applet now removed from the notification area
** Message: applet now embedded in the notification area
Xlib:  extension "DPMS" missing on display ":2".

(gnome-settings-daemon:23539): color-plugin-WARNING **: unable to get EDID for xrandr-default: unable to get EDID for output

(gnome-settings-daemon:23539): color-plugin-WARNING **: failed to reset xrandr-default gamma tables: gamma size is zero

(gnome-settings-daemon:23539): color-plugin-WARNING **: unable to get EDID for xrandr-default: unable to get EDID for output

(gnome-settings-daemon:23539): color-plugin-WARNING **: failed to reset xrandr-default gamma tables: gamma size is zero

(gnome-settings-daemon:23539): color-plugin-WARNING **: unable to get EDID for xrandr-default: unable to get EDID for output

(gnome-settings-daemon:23539): color-plugin-WARNING **: failed to reset xrandr-default gamma tables: gamma size is zero

** (gnome-panel:23581): WARNING **: Error getting property: Timeout was reached

** (gnome-panel:23581): WARNING **: Timeout was reached

** (gnome-panel:23581): WARNING **: Error getting property: Timeout was reached

** (gnome-panel:23581): WARNING **: Timeout was reached
 
Old 01-09-2013, 09:26 AM   #2
wmakowski
Member
 
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 18, 19, RHL 5.2
Posts: 546

Original Poster
Rep: Reputation: 43
I did not find out why vncserver was setting up the screen the way it did. However, I did find a workaround to get it to the size that was needed. I included the following command in the ~/.vnc/xstartup.
Code:
xrandr -s 1360x768
You can also use this command on the fly to set your resolution. So if a session does come up out of whack, just pull up an xterm and set the desired resolution using xrandr.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting frame buffer geometry to match monitor geometry Skaperen Linux - Desktop 0 03-13-2011 04:27 PM
setting up vncserver for different users Micro420 Linux - Software 1 08-29-2006 11:18 AM
Change vncserver geometry while running arobinson74 Linux - Software 0 02-28-2005 10:28 AM
Change default geometry for VNCserver? mijenks Linux - Networking 0 05-09-2004 11:44 PM
Xwindows setting for VNCserver? pmlabrier Linux - General 2 12-19-2000 01:25 PM


All times are GMT -5. The time now is 04:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration