4MLinuxThis forum is for the discussion of 4MLinux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,363
Rep:
Quote:
Originally Posted by Kaloo
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.
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?
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.
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,363
Rep:
Quote:
Originally Posted by Kaloo
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.
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
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
Last edited by Kaloo; 10-05-2019 at 05:33 PM.
Reason: Added a space
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,363
Rep:
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.