Fixing a guest screen resolution in VirtualBox
I was required to develop a Windows app UI for a fixed resolution - it doesn't matter if it makes sense or not, the customer requires it. I'm using a Windows Server 2003 VirtualBox VM as the development environment; my host machine has much higher resolution.
Is there any way to select and fix the OS resolution and stop VirtualBox changing it by any kind of scaling? I can't see the requested resolution when I open Display Properties on the guest OS.
virtualbox resolution
add a comment |
I was required to develop a Windows app UI for a fixed resolution - it doesn't matter if it makes sense or not, the customer requires it. I'm using a Windows Server 2003 VirtualBox VM as the development environment; my host machine has much higher resolution.
Is there any way to select and fix the OS resolution and stop VirtualBox changing it by any kind of scaling? I can't see the requested resolution when I open Display Properties on the guest OS.
virtualbox resolution
add a comment |
I was required to develop a Windows app UI for a fixed resolution - it doesn't matter if it makes sense or not, the customer requires it. I'm using a Windows Server 2003 VirtualBox VM as the development environment; my host machine has much higher resolution.
Is there any way to select and fix the OS resolution and stop VirtualBox changing it by any kind of scaling? I can't see the requested resolution when I open Display Properties on the guest OS.
virtualbox resolution
I was required to develop a Windows app UI for a fixed resolution - it doesn't matter if it makes sense or not, the customer requires it. I'm using a Windows Server 2003 VirtualBox VM as the development environment; my host machine has much higher resolution.
Is there any way to select and fix the OS resolution and stop VirtualBox changing it by any kind of scaling? I can't see the requested resolution when I open Display Properties on the guest OS.
virtualbox resolution
virtualbox resolution
edited Jul 5 '16 at 13:22
Hennes
59.3k793143
59.3k793143
asked Jun 24 '11 at 2:33
RandomRandom
205148
205148
add a comment |
add a comment |
6 Answers
6
active
oldest
votes
So I tried this, and might work for you. Under the Machine menu, there is an option to auto-resize the guest OS's resolution to fit the monitor you are using. I got the resolution you did by enabling this option, manually resizing the window to get the resolution I wanted, then DISABLING auto-resize. Then, it's "stuck" there and I can resize the window, move it around, resolution doesn't change. Only problem was the taskbar. While you are doing the resize, might help to minimize it to get the exact resolution
add a comment |
Try installing Guest Additions. It provides lots more features to the guest OS. From there, you can leverage the resolution you want and lock the screen in that position.
I have Guest Additions. Problem is the resolution I need is never allowed as in the resolution selection slider in guest OS.
– Random
Jun 24 '11 at 2:40
2
What is the resolution, exactly?
– CamronBute
Jun 24 '11 at 12:56
You may need to install the guest additions when running in safe mode. I have seen several instances where the video driver did not completely install when not in safe mode - particularly for 3D acceleration.
– Goyuix
Jun 24 '11 at 19:03
Requested resolution is 1440x900 (HP LE1901w native) host resolution is 1920x1080
– Random
Jun 25 '11 at 10:19
3
So I tried this, and might work for you. Under the Machine menu, there is an option to auto-resize the guest OS's resolution to fit the monitor you are using. I got the resolution you did by enabling this option, manually resizing the window to get the resolution I wanted, then DISABLING auto-resize. Then, it's "stuck" there and I can resize the window, move it around, resolution doesn't change. Only problem was the taskbar. While you are doing the resize, might help to minimize it to get the exact resolution
– CamronBute
Jun 25 '11 at 15:57
add a comment |
I was having the same problem as described above nothing was working even the manual setting of screen resolution, I solved my problem with checking some things:
- In VirtualBox Manager GUI checked my OS version: I have chosen Windows 8.1 64 bit, but guest OS was 32 bit which, was the main problem
- Solution: new machine with win 8.1 32 bit OS and linked to an old virtual hard drive
Setting machine custom resolution with VBoxManage command line
VBoxManage.exe setextradata "[Virtual Machine Name]" CustomVideoMode1 1366x768x32
add a comment |
Even with Guest Additions installed, my remote Windows is not able to give me my
wished 1920x1080 so I used this solution
vboxmanage startvm "mymachine";vboxmanage controlvm "mymachine" setvideomodehint 1920 1080 32
add a comment |
For my setup, neither CustomVideoMode1
nor setvideomodehint
nor MaxGuestResolution
worked. So, I looked up
vboxmanage getextradata $YOUR_VM_NAME enumerate
and changed
Key: GUI/LastGuestSizeHint, Value: 800,600
to
Key: GUI/LastGuestSizeHint, Value: 1920,1080
with
vboxmanage setextradata $YOUR_VM_NAME GUI/LastGuestSizeHint 1920,1080
add a comment |
While the VM is running, define your custom resolution using this command:
vboxmanage setextradata "[VM NAME]" CustomVideoMode1 1600x900x32
While the VM is running, execute the following command to switch to your new resolution:
vboxmanage controlvm "[VM NAME]" setvideomodehint 1600 900 32
It should switch to the new resolution immediately.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f301464%2ffixing-a-guest-screen-resolution-in-virtualbox%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
6 Answers
6
active
oldest
votes
6 Answers
6
active
oldest
votes
active
oldest
votes
active
oldest
votes
So I tried this, and might work for you. Under the Machine menu, there is an option to auto-resize the guest OS's resolution to fit the monitor you are using. I got the resolution you did by enabling this option, manually resizing the window to get the resolution I wanted, then DISABLING auto-resize. Then, it's "stuck" there and I can resize the window, move it around, resolution doesn't change. Only problem was the taskbar. While you are doing the resize, might help to minimize it to get the exact resolution
add a comment |
So I tried this, and might work for you. Under the Machine menu, there is an option to auto-resize the guest OS's resolution to fit the monitor you are using. I got the resolution you did by enabling this option, manually resizing the window to get the resolution I wanted, then DISABLING auto-resize. Then, it's "stuck" there and I can resize the window, move it around, resolution doesn't change. Only problem was the taskbar. While you are doing the resize, might help to minimize it to get the exact resolution
add a comment |
So I tried this, and might work for you. Under the Machine menu, there is an option to auto-resize the guest OS's resolution to fit the monitor you are using. I got the resolution you did by enabling this option, manually resizing the window to get the resolution I wanted, then DISABLING auto-resize. Then, it's "stuck" there and I can resize the window, move it around, resolution doesn't change. Only problem was the taskbar. While you are doing the resize, might help to minimize it to get the exact resolution
So I tried this, and might work for you. Under the Machine menu, there is an option to auto-resize the guest OS's resolution to fit the monitor you are using. I got the resolution you did by enabling this option, manually resizing the window to get the resolution I wanted, then DISABLING auto-resize. Then, it's "stuck" there and I can resize the window, move it around, resolution doesn't change. Only problem was the taskbar. While you are doing the resize, might help to minimize it to get the exact resolution
answered Jun 27 '11 at 18:39
CamronButeCamronBute
675615
675615
add a comment |
add a comment |
Try installing Guest Additions. It provides lots more features to the guest OS. From there, you can leverage the resolution you want and lock the screen in that position.
I have Guest Additions. Problem is the resolution I need is never allowed as in the resolution selection slider in guest OS.
– Random
Jun 24 '11 at 2:40
2
What is the resolution, exactly?
– CamronBute
Jun 24 '11 at 12:56
You may need to install the guest additions when running in safe mode. I have seen several instances where the video driver did not completely install when not in safe mode - particularly for 3D acceleration.
– Goyuix
Jun 24 '11 at 19:03
Requested resolution is 1440x900 (HP LE1901w native) host resolution is 1920x1080
– Random
Jun 25 '11 at 10:19
3
So I tried this, and might work for you. Under the Machine menu, there is an option to auto-resize the guest OS's resolution to fit the monitor you are using. I got the resolution you did by enabling this option, manually resizing the window to get the resolution I wanted, then DISABLING auto-resize. Then, it's "stuck" there and I can resize the window, move it around, resolution doesn't change. Only problem was the taskbar. While you are doing the resize, might help to minimize it to get the exact resolution
– CamronBute
Jun 25 '11 at 15:57
add a comment |
Try installing Guest Additions. It provides lots more features to the guest OS. From there, you can leverage the resolution you want and lock the screen in that position.
I have Guest Additions. Problem is the resolution I need is never allowed as in the resolution selection slider in guest OS.
– Random
Jun 24 '11 at 2:40
2
What is the resolution, exactly?
– CamronBute
Jun 24 '11 at 12:56
You may need to install the guest additions when running in safe mode. I have seen several instances where the video driver did not completely install when not in safe mode - particularly for 3D acceleration.
– Goyuix
Jun 24 '11 at 19:03
Requested resolution is 1440x900 (HP LE1901w native) host resolution is 1920x1080
– Random
Jun 25 '11 at 10:19
3
So I tried this, and might work for you. Under the Machine menu, there is an option to auto-resize the guest OS's resolution to fit the monitor you are using. I got the resolution you did by enabling this option, manually resizing the window to get the resolution I wanted, then DISABLING auto-resize. Then, it's "stuck" there and I can resize the window, move it around, resolution doesn't change. Only problem was the taskbar. While you are doing the resize, might help to minimize it to get the exact resolution
– CamronBute
Jun 25 '11 at 15:57
add a comment |
Try installing Guest Additions. It provides lots more features to the guest OS. From there, you can leverage the resolution you want and lock the screen in that position.
Try installing Guest Additions. It provides lots more features to the guest OS. From there, you can leverage the resolution you want and lock the screen in that position.
edited Jun 27 '11 at 18:38
answered Jun 24 '11 at 2:37
CamronButeCamronBute
675615
675615
I have Guest Additions. Problem is the resolution I need is never allowed as in the resolution selection slider in guest OS.
– Random
Jun 24 '11 at 2:40
2
What is the resolution, exactly?
– CamronBute
Jun 24 '11 at 12:56
You may need to install the guest additions when running in safe mode. I have seen several instances where the video driver did not completely install when not in safe mode - particularly for 3D acceleration.
– Goyuix
Jun 24 '11 at 19:03
Requested resolution is 1440x900 (HP LE1901w native) host resolution is 1920x1080
– Random
Jun 25 '11 at 10:19
3
So I tried this, and might work for you. Under the Machine menu, there is an option to auto-resize the guest OS's resolution to fit the monitor you are using. I got the resolution you did by enabling this option, manually resizing the window to get the resolution I wanted, then DISABLING auto-resize. Then, it's "stuck" there and I can resize the window, move it around, resolution doesn't change. Only problem was the taskbar. While you are doing the resize, might help to minimize it to get the exact resolution
– CamronBute
Jun 25 '11 at 15:57
add a comment |
I have Guest Additions. Problem is the resolution I need is never allowed as in the resolution selection slider in guest OS.
– Random
Jun 24 '11 at 2:40
2
What is the resolution, exactly?
– CamronBute
Jun 24 '11 at 12:56
You may need to install the guest additions when running in safe mode. I have seen several instances where the video driver did not completely install when not in safe mode - particularly for 3D acceleration.
– Goyuix
Jun 24 '11 at 19:03
Requested resolution is 1440x900 (HP LE1901w native) host resolution is 1920x1080
– Random
Jun 25 '11 at 10:19
3
So I tried this, and might work for you. Under the Machine menu, there is an option to auto-resize the guest OS's resolution to fit the monitor you are using. I got the resolution you did by enabling this option, manually resizing the window to get the resolution I wanted, then DISABLING auto-resize. Then, it's "stuck" there and I can resize the window, move it around, resolution doesn't change. Only problem was the taskbar. While you are doing the resize, might help to minimize it to get the exact resolution
– CamronBute
Jun 25 '11 at 15:57
I have Guest Additions. Problem is the resolution I need is never allowed as in the resolution selection slider in guest OS.
– Random
Jun 24 '11 at 2:40
I have Guest Additions. Problem is the resolution I need is never allowed as in the resolution selection slider in guest OS.
– Random
Jun 24 '11 at 2:40
2
2
What is the resolution, exactly?
– CamronBute
Jun 24 '11 at 12:56
What is the resolution, exactly?
– CamronBute
Jun 24 '11 at 12:56
You may need to install the guest additions when running in safe mode. I have seen several instances where the video driver did not completely install when not in safe mode - particularly for 3D acceleration.
– Goyuix
Jun 24 '11 at 19:03
You may need to install the guest additions when running in safe mode. I have seen several instances where the video driver did not completely install when not in safe mode - particularly for 3D acceleration.
– Goyuix
Jun 24 '11 at 19:03
Requested resolution is 1440x900 (HP LE1901w native) host resolution is 1920x1080
– Random
Jun 25 '11 at 10:19
Requested resolution is 1440x900 (HP LE1901w native) host resolution is 1920x1080
– Random
Jun 25 '11 at 10:19
3
3
So I tried this, and might work for you. Under the Machine menu, there is an option to auto-resize the guest OS's resolution to fit the monitor you are using. I got the resolution you did by enabling this option, manually resizing the window to get the resolution I wanted, then DISABLING auto-resize. Then, it's "stuck" there and I can resize the window, move it around, resolution doesn't change. Only problem was the taskbar. While you are doing the resize, might help to minimize it to get the exact resolution
– CamronBute
Jun 25 '11 at 15:57
So I tried this, and might work for you. Under the Machine menu, there is an option to auto-resize the guest OS's resolution to fit the monitor you are using. I got the resolution you did by enabling this option, manually resizing the window to get the resolution I wanted, then DISABLING auto-resize. Then, it's "stuck" there and I can resize the window, move it around, resolution doesn't change. Only problem was the taskbar. While you are doing the resize, might help to minimize it to get the exact resolution
– CamronBute
Jun 25 '11 at 15:57
add a comment |
I was having the same problem as described above nothing was working even the manual setting of screen resolution, I solved my problem with checking some things:
- In VirtualBox Manager GUI checked my OS version: I have chosen Windows 8.1 64 bit, but guest OS was 32 bit which, was the main problem
- Solution: new machine with win 8.1 32 bit OS and linked to an old virtual hard drive
Setting machine custom resolution with VBoxManage command line
VBoxManage.exe setextradata "[Virtual Machine Name]" CustomVideoMode1 1366x768x32
add a comment |
I was having the same problem as described above nothing was working even the manual setting of screen resolution, I solved my problem with checking some things:
- In VirtualBox Manager GUI checked my OS version: I have chosen Windows 8.1 64 bit, but guest OS was 32 bit which, was the main problem
- Solution: new machine with win 8.1 32 bit OS and linked to an old virtual hard drive
Setting machine custom resolution with VBoxManage command line
VBoxManage.exe setextradata "[Virtual Machine Name]" CustomVideoMode1 1366x768x32
add a comment |
I was having the same problem as described above nothing was working even the manual setting of screen resolution, I solved my problem with checking some things:
- In VirtualBox Manager GUI checked my OS version: I have chosen Windows 8.1 64 bit, but guest OS was 32 bit which, was the main problem
- Solution: new machine with win 8.1 32 bit OS and linked to an old virtual hard drive
Setting machine custom resolution with VBoxManage command line
VBoxManage.exe setextradata "[Virtual Machine Name]" CustomVideoMode1 1366x768x32
I was having the same problem as described above nothing was working even the manual setting of screen resolution, I solved my problem with checking some things:
- In VirtualBox Manager GUI checked my OS version: I have chosen Windows 8.1 64 bit, but guest OS was 32 bit which, was the main problem
- Solution: new machine with win 8.1 32 bit OS and linked to an old virtual hard drive
Setting machine custom resolution with VBoxManage command line
VBoxManage.exe setextradata "[Virtual Machine Name]" CustomVideoMode1 1366x768x32
edited Aug 12 '14 at 9:27
Jens Erat
12.8k114660
12.8k114660
answered Aug 12 '14 at 9:01
BastianBastian
311
311
add a comment |
add a comment |
Even with Guest Additions installed, my remote Windows is not able to give me my
wished 1920x1080 so I used this solution
vboxmanage startvm "mymachine";vboxmanage controlvm "mymachine" setvideomodehint 1920 1080 32
add a comment |
Even with Guest Additions installed, my remote Windows is not able to give me my
wished 1920x1080 so I used this solution
vboxmanage startvm "mymachine";vboxmanage controlvm "mymachine" setvideomodehint 1920 1080 32
add a comment |
Even with Guest Additions installed, my remote Windows is not able to give me my
wished 1920x1080 so I used this solution
vboxmanage startvm "mymachine";vboxmanage controlvm "mymachine" setvideomodehint 1920 1080 32
Even with Guest Additions installed, my remote Windows is not able to give me my
wished 1920x1080 so I used this solution
vboxmanage startvm "mymachine";vboxmanage controlvm "mymachine" setvideomodehint 1920 1080 32
edited Nov 5 '14 at 12:42
Mokubai♦
58k16139157
58k16139157
answered Nov 5 '14 at 12:36
krisofekrisofe
311
311
add a comment |
add a comment |
For my setup, neither CustomVideoMode1
nor setvideomodehint
nor MaxGuestResolution
worked. So, I looked up
vboxmanage getextradata $YOUR_VM_NAME enumerate
and changed
Key: GUI/LastGuestSizeHint, Value: 800,600
to
Key: GUI/LastGuestSizeHint, Value: 1920,1080
with
vboxmanage setextradata $YOUR_VM_NAME GUI/LastGuestSizeHint 1920,1080
add a comment |
For my setup, neither CustomVideoMode1
nor setvideomodehint
nor MaxGuestResolution
worked. So, I looked up
vboxmanage getextradata $YOUR_VM_NAME enumerate
and changed
Key: GUI/LastGuestSizeHint, Value: 800,600
to
Key: GUI/LastGuestSizeHint, Value: 1920,1080
with
vboxmanage setextradata $YOUR_VM_NAME GUI/LastGuestSizeHint 1920,1080
add a comment |
For my setup, neither CustomVideoMode1
nor setvideomodehint
nor MaxGuestResolution
worked. So, I looked up
vboxmanage getextradata $YOUR_VM_NAME enumerate
and changed
Key: GUI/LastGuestSizeHint, Value: 800,600
to
Key: GUI/LastGuestSizeHint, Value: 1920,1080
with
vboxmanage setextradata $YOUR_VM_NAME GUI/LastGuestSizeHint 1920,1080
For my setup, neither CustomVideoMode1
nor setvideomodehint
nor MaxGuestResolution
worked. So, I looked up
vboxmanage getextradata $YOUR_VM_NAME enumerate
and changed
Key: GUI/LastGuestSizeHint, Value: 800,600
to
Key: GUI/LastGuestSizeHint, Value: 1920,1080
with
vboxmanage setextradata $YOUR_VM_NAME GUI/LastGuestSizeHint 1920,1080
edited Feb 19 at 11:02
answered Aug 18 '16 at 15:22
ArchieTArchieT
366
366
add a comment |
add a comment |
While the VM is running, define your custom resolution using this command:
vboxmanage setextradata "[VM NAME]" CustomVideoMode1 1600x900x32
While the VM is running, execute the following command to switch to your new resolution:
vboxmanage controlvm "[VM NAME]" setvideomodehint 1600 900 32
It should switch to the new resolution immediately.
add a comment |
While the VM is running, define your custom resolution using this command:
vboxmanage setextradata "[VM NAME]" CustomVideoMode1 1600x900x32
While the VM is running, execute the following command to switch to your new resolution:
vboxmanage controlvm "[VM NAME]" setvideomodehint 1600 900 32
It should switch to the new resolution immediately.
add a comment |
While the VM is running, define your custom resolution using this command:
vboxmanage setextradata "[VM NAME]" CustomVideoMode1 1600x900x32
While the VM is running, execute the following command to switch to your new resolution:
vboxmanage controlvm "[VM NAME]" setvideomodehint 1600 900 32
It should switch to the new resolution immediately.
While the VM is running, define your custom resolution using this command:
vboxmanage setextradata "[VM NAME]" CustomVideoMode1 1600x900x32
While the VM is running, execute the following command to switch to your new resolution:
vboxmanage controlvm "[VM NAME]" setvideomodehint 1600 900 32
It should switch to the new resolution immediately.
answered Aug 6 '18 at 16:20
Igor LevickiIgor Levicki
1625
1625
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f301464%2ffixing-a-guest-screen-resolution-in-virtualbox%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown