2009-01-20 21:11:47 |
Ryan Hamilton |
description |
Binary package hint: xorg
I use Sun's VirtualBox to access my Ubuntu install on a second hard drive while still in WindowsXP (for a variety of reasons, but mostly because of games and the Media Center capability), but still want the ability to boot into Ubuntu directly when needed and not have to futz with a custom Xorg file each time I boot. Since VirtualBox does not support 3D acceleration for linux guests, the Nvidia card I have in this machine is not recognized when starting up and triggers a failsafeX session.
I looked at the failsafeX files in /etc/gdm, and looking at failsafeDexconf I noticed it has hooks for dealing with QEMU, so I made the following addition to allow failsafeX to pick up on VirtualBox running and change the video driver accordingly. Without changing the video driver, resolution is limited to 640x480 which is almost unusable these days.
Guest additions for VirtualBox need to be installed, but if the user follows the directions given by the VirtualBox folks it is not a problem.
Sorry but I didn't know where else to put this or send to! This is just my hack to get it working easily, I'm probably doing bad things with this below. But I wanted to post it regardless. Thanks,
Ryan Hamilton
Ubuntu 8.10
xorg:
Installed: 1:7.4~5ubuntu3
Candidate: 1:7.4~5ubuntu3
Version table:
*** 1:7.4~5ubuntu3 0
500 http://us.archive.ubuntu.com intrepid/main Packages
100 /var/lib/dpkg/status
Using VirtualBox 2.1.0 from a WindowsXP host.
Main change: Add this section underneath the QEMU check
VBOX_VIDEO=$(grep "vbox" /proc/modules || true)
if [ -n "$VBOX_VIDEO" ]; then
DEVICE_DRIVER="vboxvideo"
fi
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
Package: xorg 1:7.4~5ubuntu3
ProcEnviron:
PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:.:/home/username/isaac_pipeline/bin:/home/username/gasgano/bin:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersion: Linux version 2.6.27-9-generic (buildd@rothera) (gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu11) ) #1 SMP Thu Nov 20 21:57:00 UTC 2008
SourcePackage: xorg
Uname: Linux 2.6.27-9-generic i686
xkbcomp: |
Binary package hint: xorg
I use Sun's VirtualBox to access my Ubuntu install on a second hard drive while still in WindowsXP (for a variety of reasons, but mostly because of games and the Media Center capability), but still want the ability to boot into Ubuntu directly when needed and not have to futz with a custom Xorg file each time I boot. Since VirtualBox does not support 3D acceleration for linux guests, the Nvidia card I have in this machine is not recognized when starting up and triggers a failsafeX session.
I looked at the failsafeX files in /etc/gdm, and looking at failsafeDexconf I noticed it has hooks for dealing with QEMU, so I made the following addition to allow failsafeX to pick up on VirtualBox running and change the video driver accordingly. Without changing the video driver, resolution is limited to 640x480 which is almost unusable these days.
Guest additions for VirtualBox need to be installed, but if the user follows the directions given by the VirtualBox folks it is not a problem.
Sorry but I didn't know where else to put this or send to! This is just my hack to get it working easily, I'm probably doing bad things with this below. But I wanted to post it regardless. Thanks,
Ryan Hamilton
Ubuntu 8.10
xorg:
Installed: 1:7.4~5ubuntu3
Candidate: 1:7.4~5ubuntu3
Version table:
*** 1:7.4~5ubuntu3 0
500 http://us.archive.ubuntu.com intrepid/main Packages
100 /var/lib/dpkg/status
Using VirtualBox 2.1.0 from a WindowsXP host.
Main change in failsafeDexconf: Add this section underneath the QEMU check
VBOX_VIDEO=$(grep "vbox" /proc/modules || true)
if [ -n "$VBOX_VIDEO" ]; then
DEVICE_DRIVER="vboxvideo"
fi
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
Package: xorg 1:7.4~5ubuntu3
ProcEnviron:
PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:.:/home/username/isaac_pipeline/bin:/home/username/gasgano/bin:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersion: Linux version 2.6.27-9-generic (buildd@rothera) (gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu11) ) #1 SMP Thu Nov 20 21:57:00 UTC 2008
SourcePackage: xorg
Uname: Linux 2.6.27-9-generic i686
xkbcomp: |
|