failsafeX has hooks for QEMU, but not VirtualBox
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug 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://
100 /var/lib/
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_
fi
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
Package: xorg 1:7.4~5ubuntu3
ProcEnviron:
PATH=/
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:
Related branches
Changed in xorg: | |
status: | New → Confirmed |
Changed in xorg: | |
importance: | Undecided → Medium |
status: | Confirmed → Triaged |
Changed in xorg (Ubuntu): | |
status: | Triaged → Fix Committed |
This bug was fixed in the package xorg - 1:7.4~5ubuntu16
---------------
xorg (1:7.4~5ubuntu16) jaunty; urgency=low
[Tormod Volden] source_ xorg.py: Use grep directly instead of shelling out, and
* apport/
look in /proc/modules as well. Also only set 'fglrx-installed' if
there was a definite match.
[Bryce Harrington] d/60x11- common_ localhost: postinst. in, x11-common. preinst. in, x11-common. postrm. in: failsafeDexconf : failsafeXinit: source_ xorg.py: Suppress warning about keyboard geometry on :0
* x11-common.links: Add apport support for a several more packages.
* local/Xsession.
- Rename from 60x11-localhost for consistency (LP: #340807)
- Redirect stderr in an sh-safe fashion
* x11-common.
- Remove renamed 60x11-localhost; handle upgrade failures gracefully
* local/dexconf, local/Failsafe/
- Add hooks for Sun's virtualbox (LP: #319373)
* local/Failsafe/
- Use zenity for viewing logs, and vt2 for console login
(LP: #310126)
- Make translatable (LP: #335678)
* apport/
(LP: #315777)
-- Bryce Harrington <email address hidden> Wed, 18 Mar 2009 13:54:27 -0700