LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-06-2010, 08:53 AM   #1
garyl
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Rep: Reputation: 0
Change monitor resolution in Fedora 13 64 bit VirtualBox virtual machine


I have installed a Fedora 13 64 bit virtual machine using VirtualBox software. Host platform is a Dell XPS 64 bit machine. The default screen resolutoin is 800x600. The Dell monitor is one of the wide screen models driven by Nvidia. The host OS is Windows 7 64 bit.

I need to set the resolution to 1366x768. I have made edits to the xorg.conf file and grub. After reboot, the screen initially enlarges to 1366x768, but then returns to the 800x600 resolution when the OS boot up page appears. I've had the same problem with Ubuntu 10.04. I was able to correct the problem in a Windows XP guest VM by resetting the Windows XP screen resolution in the usual way.

Is this a VirtualBox problem, a virtual machine problem in general, a problem with Nvidia driving wide screen monitors, or a Linux problem? Sun Microsystems does not recommend using the Nvidia drivers (after all else failed, I tried this anyway and the result was that the Linux OS failed to boot, so I deleted the VM and started over). Anyone have a solution?
 
Old 07-07-2010, 07:38 PM   #2
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
VirtualBox virtualizes its own video card, so Fedora doesn't see the physical GPU. Did you install the virtualbox guest additions? I believe that will get your guest OS to use whatever resolution you have the virtualbox window set to (and give you a fullscreen option).

Adam
 
Old 07-12-2010, 07:39 AM   #3
garyl
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Installing the "guest additions" packages to the Fedora 13 virtual machine I created using VirtualBox resolved the monitor resolution issue. For my laptop, I edited the file /etc/X11/xorg.conf by adding the following:

Modes "1440x900"
to the Section "Screen" as follows:

Section "Screen"
SubSection "Display"
Depth 24
Modes "144x900"
EndSubSection

Also, the full screen option works as expected, taking up the monitor screen.

Considering that most would consider having full screen monitor resolution to be an essential feature, it is unexpected that it is not provided by the VirtualBox installation software. Until receiving the question asking if I had installed the "guest additions", I did not realize that I had more reading to do in the VirtualBox installation quide. I assumed that something called "guest additions" was there to add optional functions rather than essential ones. Now that I'm on the VirtualBox forum, I'll include it as a suggestion to the developers that in a future release, they combine "guest additions" into the installation wizard application.

Thanks for the assistance!
 
Old 07-12-2010, 07:56 AM   #4
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
And how do you know that "most" would consider that an essential feature?

By the way, there's also an "Install Guest Additions" option in the Devices menu.

Adam
 
Old 07-12-2010, 08:05 AM   #5
hedron
Member
 
Registered: Jul 2009
Location: NYC
Distribution: Slackware, Bluewhite
Posts: 232

Rep: Reputation: 23
My understanding is that the guest additions can't be included in the main package because they include drivers that the client OS needs to install. You can't install a driver into the virtual box program itself. That doesn't even make sense. Though, maybe I am missing something.
 
Old 07-12-2010, 08:08 AM   #6
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
I think the OP means that the VirtualBox should prompt you to install the driver after you've setup the guest OS.

Adam
 
Old 01-04-2011, 02:45 PM   #7
Abhishek1986
LQ Newbie
 
Registered: May 2010
Posts: 3

Rep: Reputation: 0
I have installed Guest Additions and have also enabled 3D Hardware Acceleration from Virtual Box VM settings. Still I am getting only one screen resolution option (800X600) and also, am not able to change Color Schemes, as I am getting an error "3D Hardware Acceleration is not available". Anyone has a solution? Why the Fedora system is not able to detect 3D Hardware acceleration?
 
Old 01-04-2011, 03:14 PM   #8
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
What's the output of 'glxinfo'?

Adam
 
Old 01-05-2011, 12:32 AM   #9
Abhishek1986
LQ Newbie
 
Registered: May 2010
Posts: 3

Rep: Reputation: 0
My bad! I didn't install Guest Addition properly, so was getting that error. It's working fine now after a re-install. Thanks.
 
Old 02-05-2016, 10:18 AM   #10
mike95376
LQ Newbie
 
Registered: Oct 2015
Location: CA
Distribution: I run over a dozen OSes
Posts: 1

Rep: Reputation: Disabled
Actually I ran into this problem after a fresh install of Fedora.
I installed the Guest Box Additions but it did not help.
The key was to run 'dnf update' after the OS install.
It needed newer Xorg rpms.
You also need to install gcc to be able to build anything.
dnf install gcc
Then reinstall the Guest Box Additions.
As root
cd /run/media/{username}/VBOXADDITIONS...
sh VBoxLinuxAdditions.run

Read your output carefully.
 
Old 02-05-2016, 07:22 PM   #11
BW-userx
Senior Member
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Void Linux
Posts: 1,363

Rep: Reputation: Disabled
Quote:
Originally Posted by garyl View Post
I need to set the resolution to 1366x768. I have made edits to the xorg.conf file and grub. After reboot, the screen initially enlarges to 1366x768, but then returns to the 800x600 resolution when the OS boot up page appears. I've had the same problem with Ubuntu 10.04. I was able to correct the problem in a Windows XP guest VM by resetting the Windows XP screen resolution in the usual way.
ON HOST:
I've use these two commands, the first one allows one to select any rez-O-lution on the fly.

Code:
VBoxManage setextradata global GUI/MaxGuestResolution any
 
VBoxManage setextradata "Ubuntu64" "GraphicsMode" "1366x768x32"
Remember to use the exact name you gave your VBSession. I usally just go into the directory with all of my sessions then copy paste them so I get them right.

IN CLIENT:

UNDER devices last selection
insert Guest Addtions CD...
select that, if you do not have it mine prompted me to download it. put it in my home dir /home/userx/.config/VirtualBox

then when it mounts it, I open up a term cd to it

Code:
/home/userx/.config/VirtualBox
copy the .run program to my root /
because it is on a "CD" iso actually.
then change permissions
chmod +x Guestaddtions.run
then run it... it takes care of itself
reboot the session.
you now have access to USB and outside folders
ON HOST:
Now to get your USB to work open up a term, on the host, then plug in what ever it is you want to use in VBox session off your USB, then type in this command lsusb you'll see something like this
Code:
                         [RIGHT HERE]
                     first set:second set
Bus 002 Device 003: ID 1058:0827 Western Digital Technologies, Inc.
the bold numbers are what you need. open up your settings for your session then under USB.

IN CLIENT:
the little usb plug with a dot on it, click it. "new Filter 1" now click on the second one with a dot on it. now you need to get your numbers.

the first set go into the Vender ID, the second set go into the Product ID. the rest is user information you can add whatever, or just leave it blank.

save it then start up your session .

ON HOST:
plug in your device. open up filemanager (In Client) you should see it, I do.

need not to worry about your mouse VBox takes care of that by another means.

Last edited by BW-userx; 02-05-2016 at 08:21 PM.
 
Old 02-06-2016, 01:20 AM   #12
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,677

Rep: Reputation: 2388Reputation: 2388Reputation: 2388Reputation: 2388Reputation: 2388Reputation: 2388Reputation: 2388Reputation: 2388Reputation: 2388Reputation: 2388Reputation: 2388
you are aware that this is a 6 year necro post ? right ?

and for the now LONG dead and unsupported Fedora 13
 
Old 02-06-2016, 07:18 AM   #13
BW-userx
Senior Member
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Void Linux
Posts: 1,363

Rep: Reputation: Disabled
Look how long it took you to tell the masses.... thanks 4 the fyi...
but still a lot of good information was added to it.. so it not all bad.
 
  


Reply

Tags
installation, machine, virtual


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtualbox winxp virtual machine just can't access serial port xmrkite Linux - Virtualization and Cloud 5 11-11-2009 10:52 PM
VirtualBox 2.1 on Fedora 64-bit won't install Windows 7 Beta 64-bit linuxroks88 Linux - Software 18 01-27-2009 10:37 AM
KVM Virtual Machine CD CHANGE ashishverma1984 Fedora 2 12-12-2008 02:51 AM
Virtualbox USB device not available to virtual machine - FC7 speedsrfr Linux - Software 2 09-22-2007 12:02 PM
Change monitor refresh/bit depth/ resolution... 3saul Linux - Software 1 06-01-2006 10:47 PM


All times are GMT -5. The time now is 03:41 PM.

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