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

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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/26/2012 09:58 AM, Colin Law wrote:
> On 26 August 2012 08:25, Hermann J. Beckers
> <hjb-news at onlinehome.de> 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?

PleegWat

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQOd6/AAoJEAM6sLJjDJaMw1UH/R56lzcr0tZ+xnejqy7fqBTL
71tMgYgGpERba6QIRolQQ53iWTUtNEZ1CR4r9f5wS4ICIaTnLidEEQRa4w80JOAA
/OvAWNaWWj0so0ZIHAsjlL7/m8Dob5Oht5QixdeBWGoePUAT98Z9EXWPI+9ZlzqD
KW09V7S7oJhCZAVz3tFnr4EkoDm2z7mnYYkP/OtIXoDXFJV+m+Vtb6mgQomIBT4e
67Lj6txRrUwVyQj/FtHlJnyyt7S7PomwxFJ18GjfIgrcurA+rWUvtMiz78vYkMrA
YGr9TgwfMJVjmYLF5qGFKRpYNfLu1EnC5QAe7pbFYnHrF8zqZCAxTRNEGhsRKr8=
=r2an
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list