Change monitor resolution in Fedora 13 64 bit VirtualBox virtual machine
Linux - NewbieThis 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
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.
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?
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).
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:
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.
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.
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?
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.