Fedora 12 Guest

Discussions about using Linux guests in VirtualBox.
aseitz
Posts: 6
Joined: 18. Nov 2009, 18:47
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Fedora, WinXP

Fedora 12 Guest

Post by aseitz »

Hey I have a Windows 7 64-Bit Host and I am running Fedora 12 as a guest VM - SunBox OSE 3.0.12. I am unable to get the tools to properly configure the x session, I noticed that there is no xorg.conf file in /etc/x11/. Other than the X stuff, the rest seems to work fine, the installation generates no errors as far as I can tell.

Anyone already got this working?
aseitz
Posts: 6
Joined: 18. Nov 2009, 18:47
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Fedora, WinXP

Re: Fedora 12 Guest

Post by aseitz »

Here are the steps I have tried so far to get this (mostly) working

Create an xorg.conf File (https://fedoraproject.org/wiki/How_to_create_xorg.conf)
Root> yum install system-config-display
Root> system-config-display

Save config
Reboot

Install Guest Tools
Reboot

I had to re-run the system-config-display tool again at this point to get the x session working, because it failed to initialize X. I also edited the xorg.conf file and added some more display resolutions. So at this point the mouse integration / clipboard is working great -- video is ok but does not auto-resize when the window size is changed.

Anyone have a better solution?
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: Fedora 12 Guest

Post by Sasquatch »

Guys, you're in the Linux Guests forum. How can you not see my howto that is made for this? You don't have to install system-config-display. The install script should generate an xorg.conf on it's own. It does that on Ubuntu, should do the same on other systems. The only part that's in it, is to list the driver specifically. That's all. Modern distro's don't use xorg.conf anymore and it's only needed if you use a proprietary driver, but that usually comes with a config tool of it's own.
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.
aseitz
Posts: 6
Joined: 18. Nov 2009, 18:47
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Fedora, WinXP

Re: Fedora 12 Guest

Post by aseitz »

Sasquatch wrote:Guys, you're in the Linux Guests forum. How can you not see my howto that is made for this? You don't have to install system-config-display. The install script should generate an xorg.conf on it's own. It does that on Ubuntu, should do the same on other systems. The only part that's in it, is to list the driver specifically. That's all. Modern distro's don't use xorg.conf anymore and it's only needed if you use a proprietary driver, but that usually comes with a config tool of it's own.
 Edit:  I see the walkthrough ... And my problem was there was no xorg.conf after I installed the guest tools. 
aseitz
Posts: 6
Joined: 18. Nov 2009, 18:47
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Fedora, WinXP

Re: Fedora 12 Guest

Post by aseitz »

Sasquatch wrote:Guys, you're in the Linux Guests forum. How can you not see my howto that is made for this? You don't have to install system-config-display. The install script should generate an xorg.conf on it's own. It does that on Ubuntu, should do the same on other systems. The only part that's in it, is to list the driver specifically. That's all. Modern distro's don't use xorg.conf anymore and it's only needed if you use a proprietary driver, but that usually comes with a config tool of it's own.
Thank You - Your walk through worked like a charm. I am used your xorg.conf completly - Thanks Again :)
tanguy
Posts: 34
Joined: 1. Jun 2007, 20:25

Re: Fedora 12 Guest

Post by tanguy »

I still have some problems with Xorg. In some dimension of the window the X server start or don't start. See the Xorg.0.log attached in case the X server does not start. The problem is the same with or without xorg.conf.
Attachments
Xorg.0.log
(9.38 KiB) Downloaded 61 times
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: Fedora 12 Guest

Post by Sasquatch »

tanguy, you have to modify your xorg.conf file. The following is causing major issues:

Code: Select all

	Section "Device"
		Identifier	"Builtin Default vboxvideo Device 0"
		Driver	"vboxvideo"
	EndSection
	Section "Screen"
		Identifier	"Builtin Default vboxvideo Screen 0"
		Device	"Builtin Default vboxvideo Device 0"
	EndSection
	Section "Device"
		Identifier	"Builtin Default vesa Device 0"
		Driver	"vesa"
	EndSection
	Section "Screen"
		Identifier	"Builtin Default vesa Screen 0"
		Device	"Builtin Default vesa Device 0"
	EndSection
	Section "Device"
		Identifier	"Builtin Default fbdev Device 0"
		Driver	"fbdev"
	EndSection
	Section "Screen"
		Identifier	"Builtin Default fbdev Screen 0"
		Device	"Builtin Default fbdev Device 0"
	EndSection
	Section "ServerLayout"
		Identifier	"Builtin Default Layout"
		Screen	"Builtin Default vboxvideo Screen 0"
		Screen	"Builtin Default vesa Screen 0"
		Screen	"Builtin Default fbdev Screen 0"
	EndSection
Having 3 video devices, with 3 different drivers will fail horribly. Especially if fbdev isn't working.
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.
tanguy
Posts: 34
Joined: 1. Jun 2007, 20:25

Re: Fedora 12 Guest

Post by tanguy »

I tried but no luck. See attached file and here is the xorg.conf:
#Example xorg.conf from Ubuntu

Section "Device"
Identifier "Configured Video Device"
Driver "vboxvideo"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection

Section "InputDevice"
Identifier "vboxmouse"
Driver "vboxmouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "vboxmouse"
EndSection
Attachments
Xorg.0.log
(7.18 KiB) Downloaded 38 times
tanguy
Posts: 34
Joined: 1. Jun 2007, 20:25

Re: Fedora 12 Guest

Post by tanguy »

If i run fedora 12 in mode 3 CLI, and i startx in full screen mode the X server works fine if i do the same in windowed mode the X server fail with the same error.
Gauge
Posts: 7
Joined: 1. Jul 2009, 23:09
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux / Windows XP

Re: Fedora 12 Guest

Post by Gauge »

A base install from the Live CD and I didn't have an xorg.conf file either. Although I'd tried creating my own xorg.conf file I ended up yum installing system-config-display anyway.

However, in my case although the system-config-display window showed the video card as an Innotek Virtualbox adapter or something, the newly created xorg.conf file clearly said it was using the standard VESA driver.

I went back to display config, picked the right LCD monitor for my laptop and then chose the "vboxvideo" adapter specifically from the configuration list - which then showed up as "Unknown Video Card" in the summary. Logged out and back in again and the Guest Additions are now running perfectly. Mouse, seamless, resizing... the lot. It might be a glitch with the system-config-display utility but on first run it wasn't using the adapter it said it was. I've attached my xorg.conf.

Also, it's worth noting that certain video parts of the Guest Additions don't run until you've logged on, so seamless / resizing doesn't work at the log-in screen.
Attachments
xorg.conf.txt
(857 Bytes) Downloaded 172 times
tanguy
Posts: 34
Joined: 1. Jun 2007, 20:25

Re: Fedora 12 Guest

Post by tanguy »

Nothing to do. I can't achieve to run it properly most the time. It's very annoying because before this i used to use fedora 11 without any problem!
Techno.Scavenger
Posts: 100
Joined: 11. Nov 2007, 22:04

Re: Fedora 12 Guest

Post by Techno.Scavenger »

This link (http://forums.virtualbox.org/viewtopic.php?f=3&t=15679) fixed my Fedora Core 12. Would be nice to help others on this one. Please post your issues here so that people can take a look.

Regards,
Technos
Techno.Scavenger
Posts: 100
Joined: 11. Nov 2007, 22:04

Re: Fedora 12 Guest

Post by Techno.Scavenger »

Ok. The above comment does not work 100% of the time. :(
Techno.Scavenger
Posts: 100
Joined: 11. Nov 2007, 22:04

Re: Fedora 12 Guest

Post by Techno.Scavenger »

Observed that vboxvideo is not automatically detected by Fedora 12. Anyone knows how to fix this?
Techno.Scavenger
Posts: 100
Joined: 11. Nov 2007, 22:04

Re: Fedora 12 Guest

Post by Techno.Scavenger »

Seems like we have a patch in VirtualBox-OSE (http://cvs.rpmfusion.org/viewvc/rpms/Vi ... ee&view=co). Could this be a regression in Virtual Box 3.0.12?
Post Reply