How do you adjust the "resolution" of a machine with no monitor attached?

PleegWat pleegwat at
Sun Aug 26 08:31:00 UTC 2012

Hash: SHA1

On 08/26/2012 09:58 AM, Colin Law wrote:
> On 26 August 2012 08:25, Hermann J. Beckers
> <hjb-news at> wrote:
>> Am Sunday, 26. August 2012 schrieb Ben Coleman:
>>> I just threw together a Mythbuntu 12.04 box to play with.  I
>>> don't have a spare monitor (not space to put it) to put on it,
>>> but I figured I should still be able to configure it via VNC,
>>> since the install is nice enough to provide the ability to
>>> enable it.  Problem is, with no monitor attached, video comes
>>> up with a max resolution of 640x480, and when I VNC in, that's
>>> what I get.  I'd rather VNC in and get at least 1024x768, or
>>> maybe 1280xu768.  Is there an easy way to get the system to
>>> come up in a higher resolution without plugging in a monitor?
>>> Ben
>> How do you start your vncserver? vncserver has an option
>> "-geometry " that you could use.
> I assumed that set the window size on the client.  I think the OP 
> wants to set the screen resolution that the server is using.
> I too am hoping for a solution to this problem.
> Colin

I'm pretty sure -geometry is indeed the option to use; specify
"vncserver -geometry=1024x768". This is the resolution of the virtual
desktop vncserver creates; a VNC client will size its window so the
entire desktop fits unless the client machine's monitor is smaller.

I'm not sure where the 640x480 resolution comes from though - the
vncserver manpage states the default resolution is 1024x768. How are
you starting vncserver?


Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla -


More information about the ubuntu-users mailing list