LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > 4MLinux
User Name
Password
4MLinux This forum is for the discussion of 4MLinux.

Notices


Reply
  Search this Thread
Old 10-04-2019, 07:53 AM   #1
Kaloo
LQ Newbie
 
Registered: Oct 2019
Location: Italy
Posts: 6

Rep: Reputation: Disabled
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
 
Old 10-04-2019, 09:07 AM   #2
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec, CANADA
Distribution: Arch
Posts: 1,113

Rep: Reputation: 421Reputation: 421Reputation: 421Reputation: 421Reputation: 421
Quote:
Originally Posted by Kaloo View Post
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.
 
Old 10-05-2019, 10:44 AM   #3
Kaloo
LQ Newbie
 
Registered: Oct 2019
Location: Italy
Posts: 6

Original Poster
Rep: Reputation: Disabled
Question

Quote:
Originally Posted by Rickkkk View Post
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?
 
Old 10-05-2019, 10:59 AM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ArcoLinux
Posts: 9,153

Rep: Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950
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.
 
Old 10-05-2019, 12:22 PM   #5
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec, CANADA
Distribution: Arch
Posts: 1,113

Rep: Reputation: 421Reputation: 421Reputation: 421Reputation: 421Reputation: 421
Quote:
Originally Posted by Kaloo View Post
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.
 
1 members found this post helpful.
Old 10-05-2019, 02:37 PM   #6
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 969

Rep: Reputation: 187Reputation: 187
Quote:
Originally Posted by Rickkkk View Post
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

.
 
Old 10-05-2019, 02:39 PM   #7
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 969

Rep: Reputation: 187Reputation: 187
Quote:
Originally Posted by BW-userx View Post
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

.
 
Old 10-05-2019, 05:29 PM   #8
Kaloo
LQ Newbie
 
Registered: Oct 2019
Location: Italy
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Rickkkk View Post
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

Last edited by Kaloo; 10-05-2019 at 05:33 PM. Reason: Added a space
 
Old 10-05-2019, 05:31 PM   #9
Kaloo
LQ Newbie
 
Registered: Oct 2019
Location: Italy
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by zk1234 View Post
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.
 
Old 10-05-2019, 05:36 PM   #10
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 969

Rep: Reputation: 187Reputation: 187
Quote:
Originally Posted by Kaloo View Post
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
:-)
 
Old 10-06-2019, 09:10 AM   #11
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec, CANADA
Distribution: Arch
Posts: 1,113

Rep: Reputation: 421Reputation: 421Reputation: 421Reputation: 421Reputation: 421
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.
 
Old 10-16-2019, 01:32 PM   #12
Kaloo
LQ Newbie
 
Registered: Oct 2019
Location: Italy
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Rickkkk View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I messed with the screen resolution and now Redhat will boot into a black screen! Mr. Hill Linux - Newbie 29 05-04-2009 11:52 AM
default screen resolution smaller than max. resolution ?? Thoddy Linux - General 2 11-10-2005 01:33 AM
Screen lock changes screen resolution ohzo Linux - Laptop and Netbook 0 06-23-2004 11:13 AM
Unable to configure screen resolution for 15.2" LCD screen in Fedore Core 1 schu Linux - Newbie 3 01-02-2004 05:39 PM
screen freezes after making changes to the screen resolution with Xconfigurator sharathkv Linux - Newbie 1 08-01-2003 05:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > 4MLinux

All times are GMT -5. The time now is 04:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration