LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   4MLinux (https://www.linuxquestions.org/questions/4mlinux-115/)
-   -   Screen resolution (https://www.linuxquestions.org/questions/4mlinux-115/screen-resolution-4175661996/)

Kaloo 10-04-2019 07:53 AM

Screen resolution
 
Hi everyone :),
I've just created a VM with 4MLinux, which is a very great OS, but I have a question for you: can I set the screen resolution at 1440x900 or 1024x768 is the maximum supported one? I installed 4MLinux 30.0 on VirtualBox.
Thanks in advance,
Kaloo

Rickkkk 10-04-2019 09:07 AM

Quote:

Originally Posted by Kaloo (Post 6043747)
Hi everyone :),
I've just created a VM with 4MLinux, which is a very great OS, but I have a question for you: can I set the screen resolution at 1440x900 or 1024x768 is the maximum supported one? I installed 4MLinux 30.0 on VirtualBox.
Thanks in advance,
Kaloo

Hi Kaloo,

Sometimes you need to use a couple of Virtualbox settings commands on the host for the guest system to provide the proper screen resolution choices.

Try this as your vbox user on the linux host :

Code:

vboxmanage controlvm "name of your virtual machine guest" setvideomodehint 1440 900 32
... then go to your guest and see if the new resolution is now an option - sometimes a reboot of the guest is required.

Let us know how you make out.

Kaloo 10-05-2019 10:44 AM

Quote:

Originally Posted by Rickkkk (Post 6043772)
Hi Kaloo,

Sometimes you need to use a couple of Virtualbox settings commands on the host for the guest system to provide the proper screen resolution choices.

Try this as your vbox user on the linux host :

Code:

vboxmanage controlvm "name of your virtual machine guest" setvideomodehint 1440 900 32
... then go to your guest and see if the new resolution is now an option - sometimes a reboot of the guest is required.

Let us know how you make out.

Hi Rickkkk,
I tried several times your VBoxManage command with different graphic cards, but nothing happens. If I select VMSVGA, it doesn't show any option, but it skips to the notification "Restart X to apply changes" and if I select VBoxVGA or VBoxSVGA, it shows the options screen but I can only choose between Automatic (after the restart it selects 1024x768), 1024x768, 800x600 and 640x480. Oh, and I also tried with Guest Additions mounted in the virtual optical reader, but nothing.
What can I try now?

BW-userx 10-05-2019 10:59 AM

what version VirtualBox are you using? the last time I played with it version 6(?) it fixed it to where that was build in and all one needed to do was select it in the drop down menu.

Rickkkk 10-05-2019 12:22 PM

Quote:

Originally Posted by Kaloo (Post 6044128)
Hi Rickkkk,
I tried several times your VBoxManage command with different graphic cards, but nothing happens. If I select VMSVGA, it doesn't show any option, but it skips to the notification "Restart X to apply changes" and if I select VBoxVGA or VBoxSVGA, it shows the options screen but I can only choose between Automatic (after the restart it selects 1024x768), 1024x768, 800x600 and 640x480. Oh, and I also tried with Guest Additions mounted in the virtual optical reader, but nothing.
What can I try now?

Hi Kaloo,

The Virtualbox Guest Additions have to actually be installed in the guest, not just mounted. Without it, you will not be able to select your display resolution (the Guest Additions also provide other functionalities - these are well explained in the Virtualbox online manual).

After making sure the Guest Additions are installed, you have to run the command I mentioned on the host system, not in the guest.

Apologies in advance if this is what you have already done - I wasn't sure from your response above. If this is the case, just come back and we'll see what to try next.

Cheers.

zk1234 10-05-2019 02:37 PM

Quote:

Originally Posted by Rickkkk (Post 6043772)
Hi Kaloo,

Sometimes you need to use a couple of Virtualbox settings commands on the host for the guest system to provide the proper screen resolution choices.

Try this as your vbox user on the linux host :

Code:

vboxmanage controlvm "name of your virtual machine guest" setvideomodehint 1440 900 32
... then go to your guest and see if the new resolution is now an option - sometimes a reboot of the guest is required.

Let us know how you make out.

I guess he must add /opt/virtualbox to /etc/profile

.

zk1234 10-05-2019 02:39 PM

Quote:

Originally Posted by BW-userx (Post 6044132)
what version VirtualBox are you using? the last time I played with it version 6(?) it fixed it to where that was build in and all one needed to do was select it in the drop down menu.

The version 6 for 32-bit systems does not exists.

PS.
4MLinux will become a 64-bit system at the beginning of 2020

.

Kaloo 10-05-2019 05:29 PM

Quote:

Originally Posted by Rickkkk (Post 6044164)
Hi Kaloo,

The Virtualbox Guest Additions have to actually be installed in the guest, not just mounted. Without it, you will not be able to select your display resolution (the Guest Additions also provide other functionalities - these are well explained in the Virtualbox online manual).

After making sure the Guest Additions are installed, you have to run the command I mentioned on the host system, not in the guest.

Apologies in advance if this is what you have already done - I wasn't sure from your response above. If this is the case, just come back and we'll see what to try next.

Cheers.

Hi Rickkkk,

yes, I've installed them before mount, sorry for the misunderstanding. I ran your command on the Command Prompt through C:\Program Files\Oracle\VirtualBox\VBoxManage.exe (I'm using Windows 10 as host system).

Regards

Kaloo 10-05-2019 05:31 PM

Quote:

Originally Posted by zk1234 (Post 6044196)
The version 6 for 32-bit systems does not exists.

PS.
4MLinux will become a 64-bit system at the beginning of 2020

.

Hi zk1234,

I'm using VirtualBox 6.0 on Win 10 64 bit as host system, 4MLinux is the VM operative system.

Sorry for the misunderstanding.

zk1234 10-05-2019 05:36 PM

Quote:

Originally Posted by Kaloo (Post 6044229)
Hi zk1234,

I'm using VirtualBox 6.0 on Win 10 64 bit as host system, 4MLinux is the VM operative system.

Sorry for the misunderstanding.

OK
:-)

Rickkkk 10-06-2019 09:10 AM

Hi Kaloo,

No worries - thanks for the clarification. I will assume that you have not set up your 4M Linux guest to boot in EFI mode, so you should also run this command from the Windows 10 host while your 4M Linux guest is completely turned off :

Code:

vboxmanage setextradata "name of your 4MLinux guest" CustomVideoMode1 1440x900x32
After that, start the 4M Linux guest again and see if the required resolution has been added to the available options. If still not there, you may have to run the previous command again while the 4M Linux guest is running.

These display resolution issues are common, by the way. I've run across them very often in my experience with Virtualbox, and have always (no exception) been able to solve them.

Cheers - let us know how it goes.

Kaloo 10-16-2019 01:32 PM

Quote:

Originally Posted by Rickkkk (Post 6044325)
Hi Kaloo,

No worries - thanks for the clarification. I will assume that you have not set up your 4M Linux guest to boot in EFI mode, so you should also run this command from the Windows 10 host while your 4M Linux guest is completely turned off :

Code:

vboxmanage setextradata "name of your 4MLinux guest" CustomVideoMode1 1440x900x32
After that, start the 4M Linux guest again and see if the required resolution has been added to the available options. If still not there, you may have to run the previous command again while the 4M Linux guest is running.

These display resolution issues are common, by the way. I've run across them very often in my experience with Virtualbox, and have always (no exception) been able to solve them.

Cheers - let us know how it goes.

Hi Rickkk,

Sorry if I didn't write until now, but I'm pretty busy in this period. Anyway, I tried to run the command with both turned off and running VM, but nothing: always the same options as before. I've not set up it to boot in EFI mode. I'm wondering if the guest OS, in its actual condition, can't show another options and I have to do some steps into it.

Greetings - I'm pretty curious about what makes it show the correct resolution :)


All times are GMT -5. The time now is 02:37 PM.