Hi, all.
I have a problem.
I use Linux(CentOS) that is in the real partitions with Virtual Box + guest-additions.
But when it starts form the real partition without using VirtualBox, xorg.conf is changed automatically,
and the driver that is not "vboxvideo" but the driver used for my real machine is specified in xorg.conf.
After that, x server cannot detect Virtual Box graphics card("vboxvideo") when it starts in Virtual Box again.
(x error message: "no devices detected")
I don't want to configure xorg.conf manually each time to start it form VirtualBox after booted without it.
How should I do to make xorg detect it automatically?
Impossible to detect Virtual Box graphics card
-
Technologov
- Volunteer
- Posts: 3342
- Joined: 10. May 2007, 16:59
- Location: Israel
Re: Impossible to detect Virtual Box graphics card
You'r setup is very specific one.
Don't know how to help in this case, but in general, isn't it easier to keep two separate "/" root partitions, with shared "/home" partition?
This could solve your problem.
Don't know how to help in this case, but in general, isn't it easier to keep two separate "/" root partitions, with shared "/home" partition?
This could solve your problem.
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: Impossible to detect Virtual Box graphics card
Another option is to make an init script that checks what hardware you have (check for the VB video adapter) and let it run before X starts. Then in the script itself you let it copy one of the two xorg.conf files, one with your bare metal configuration and one with your VM configuration, to xorg.conf and let X start properly that way.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.