Latest virtualbox crashes X server on ubuntu 10.10

Discussions related to using VirtualBox on Linux hosts.

Latest virtualbox crashes X server on ubuntu 10.10

Postby hoppa123 » 14. Oct 2010, 14:00

I have installed a fresh install of ubuntu 10.10 and i enabled the closed source nvidia drivers. when i start the virtualbox application with no guests installed the X server reboots.

I have tried to find a log entry of this one. but it isnt there, however when i disable the nvidia drivers the virtualbox application does start. i need the nvidia driver to be installed. cause i use a dual screen setup
hoppa123
 
Posts: 1
Joined: 14. Oct 2010, 13:58
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows XP

Re: Latest virtualbox crashes X server on ubuntu 10.10

Postby Sasquatch » 16. Oct 2010, 15:15

So you enable the driver, you reboot the PC and then start VB and it crashes X? That can't be good, do you have any other application that crashes like that? I have an nVidia card too on XUbuntu 10.10 and have no problems whatsoever with it, in dual screen (twinview) mode.
What happens when you start the application from the terminal?
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.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: Latest virtualbox crashes X server on ubuntu 10.10

Postby dmfrey » 18. Oct 2010, 15:15

I am also running into this issue well on a fresh install of 10.10 running nvidia-current (version 260.19.06-0ubuntu1).

If I execute VirtualBox from a command line I see a message about Xandr being missing. And it only seems to crash X when I physically place the mouse in the Terms of Service box. Also the buttons in the Terms of Service box are disabled, so there doesn't seem to be a way to get beyond that screen.
dmfrey
 
Posts: 2
Joined: 18. Oct 2010, 15:11
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Win7

Re: Latest virtualbox crashes X server on ubuntu 10.10

Postby lowey71 » 20. Oct 2010, 01:25

Same issue here. Just upgraded to 10.10.

Having to run in headless mode with rdesktop to work around the issue.

Running nvidia, 2 Quadro NVS 295 GFX cards and 3 monitors.
lowey71
 
Posts: 1
Joined: 20. Oct 2010, 01:21
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows 7

Re: Latest virtualbox crashes X server on ubuntu 10.10

Postby dmfrey » 20. Oct 2010, 14:23

I got my issue resolved. I started to notice other things crashing x.

Do you have dual monitors setup? I do.

In my xorg.conf, I had Xinerama setup with separate X Servers setup per screen. I switched to Twinview for my dual screen setup and it worked after that. No more RANDR exceptions.

VirtualBox works now.
dmfrey
 
Posts: 2
Joined: 18. Oct 2010, 15:11
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Win7

Re: Latest virtualbox crashes X server on ubuntu 10.10

Postby silvermage » 29. Oct 2010, 23:39

Unfortunately for me, twin view is not an option. I have 2 dual head nvidia cards in my machine with 4 monitors total. Same issue, any mouse over the VirtualBox window, down goes X.
silvermage
 
Posts: 1
Joined: 29. Oct 2010, 23:36
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Win 7

Re: Latest virtualbox crashes X server on ubuntu 10.10

Postby OFluri » 1. Nov 2010, 15:12

Solution that worked for me

My system:
- Dell Latitude D830 with Nvidia graphics Quadro NVS 135M;
- Docking station;
- 2 DELL 2407WFP LCD screens.



What I did is:
1. Rename the xorg.conf file in the /etc/X11 directory.(or delete it)
2. Run "nvidia-xconfig" as superuser(root). This generates a new xorg.xonf in the /etc/X11 directory;
3. I restarted X and using the "NVIDIA X Server settings" configuration I reconfigured my screens. I'm using a laptop with two screens connected through a docking station.
4. Start VirtualBox (in my case 3.2.10)

Time: 6 minutes

Hopefully this works for you...

All works well for me. It also fixed my "Composite" error.
OFluri
 
Posts: 1
Joined: 1. Nov 2010, 15:00
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Linux, Windows

Re: Latest virtualbox crashes X server on ubuntu 10.10

Postby zheltov » 18. Nov 2010, 17:25

Dell Latitude E6410 Nvidia 310M, virtualBox 3.2.10. two screens

confirming X crash with xinerama enabled. Just launch virtualBOx and X crashes without mouse moving. without xinerama virtualBox works

Disabling xinerama is not an option as twinview doesn't support one screen rotation (either both, or none).

Tried without Nvidia drivers (260.19.12) - virtualBox works on both screens (one rotated)

nothing in /var/log/messgaes

outcome: impossible to use virtualBox in dual screen setup with one screen rotated (and with nvidia drivers)
zheltov
 
Posts: 2
Joined: 18. Nov 2010, 17:02
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: win7 64

Re: Latest virtualbox crashes X server on ubuntu 10.10

Postby scimmiettarossa » 21. Nov 2010, 16:50

my X server is crashing too when virtual box starts (as soon i move the pointer inside the VB window)

the difference, w.r.t. previous posts, is that i have an ATI graphic card (Radeon HD 4350)

everything is working fine when Xinerama is disabled, but as soon as i enable it, the problem occurs

what is strange is that i run ubuntu 10.10 32 bit until yesterday, and VB and xinerama worked perfectly together

this morning i installed ubuntu 10.10 64 bit (in in hte previous - 32bit - installation i forgot that my new pc had the 64 bit extensions!!!), and now i can use VB ONLY if i disable xinerama

anyone can help me in solving this?

tnx
rosanna
scimmiettarossa
 
Posts: 1
Joined: 21. Nov 2010, 15:12
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: windows

Re: Latest virtualbox crashes X server on ubuntu 10.10

Postby zackboll » 28. Nov 2010, 05:36

I am having the same issue described above with VB 3.2.10 crashing my X-Server. I am currently using Ubuntu 10.10 and Nvidia closed drivers. The crash does not appear to be limited to VB, I have also noticed that Quanta Web IDE crashes X-Server also on startup.
zackboll
 
Posts: 2
Joined: 28. Nov 2010, 05:34
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Windows 7

Re: Latest virtualbox crashes X server on ubuntu 10.10

Postby ChrisZ » 9. Jan 2011, 20:36

OFluri wrote:Solution that worked for me
What I did is:
1. Rename the xorg.conf file in the /etc/X11 directory.(or delete it)
2. Run "nvidia-xconfig" as superuser(root). This generates a new xorg.xonf in the /etc/X11 directory;
3. I restarted X and using the "NVIDIA X Server settings" configuration I reconfigured my screens. I'm using a laptop with two screens connected through a docking station.
4. Start VirtualBox (in my case 3.2.10)

Hopefully this works for you...
All works well for me. It also fixed my "Composite" error.


Thanks a lot!
This cured my system too.

Background:
Newly installed Ubuntu 10.10 host, VB 4.0 working without a hitch. Tried to change the display driver from proprietary nVidia to whatever is default in Ubuntu. Then changed back to nVidia again. Nothing more. After that at each attempt to start VB it was crashing X and returning me to the login prompt. However your solution cured the system.
ChrisZ
 
Posts: 2
Joined: 9. Jan 2011, 20:29
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: XP, Ubuntu

Re: Latest virtualbox crashes X server on ubuntu 10.10

Postby Sasquatch » 9. Jan 2011, 22:07

The reason it errors out is because X is trying to load one of it's own drivers, nouveau or nv. Since you have the nVidia driver installed, it changed X a bit and that is enough to cause the nouveau and nv driver to fail to load properly. Only when you generate an xorg.conf and specify the nvidia driver in it, will you get X. This has nothing to do with VB in the end.
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.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: Latest virtualbox crashes X server on ubuntu 10.10

Postby ChrisZ » 11. Jan 2011, 15:32

@Sasquatch
This pretty much explains the weirdness. Thanks a lot!
ChrisZ
 
Posts: 2
Joined: 9. Jan 2011, 20:29
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: XP, Ubuntu

Re: Latest virtualbox crashes X server on ubuntu 10.10

Postby Sasquatch » 12. Jan 2011, 00:39

Removing the nVidia driver also solves that problem, as the changes are reverted so the nv and nouveau driver will work again.
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.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: Latest virtualbox crashes X server on ubuntu 10.10

Postby kernelOfTruth » 19. Jan 2011, 05:06

I just also stumbled over this issue

for me it's on an ~amd64 Gentoo with 2.6.37+ kernel and virtualbox 4.0.2

only starting up VirtualBox (running the command) and then wanting to check my volumes leads to a crash in X and restart of gdm (I'm running gnome + compiz-fusion)

the graphics-driver is xf86-video-ati with xorg-server 1.9.3.901 and live-builds from libdrm, mesa and libX11 and xf86-video-ati

edit:

this post is just FYI - I don't know what's causing problems virtualbox or the xf86-video-ati driver since I get a non-working graphical output / system when trying to use virtualbox 3.1.2* - an error message being displayed

magic sysrq key still works ...

I also have just recently migrated to the OSS driver (before with fglrx it worked fine)
kernelOfTruth
 
Posts: 15
Joined: 4. Sep 2007, 23:41
Location: Vienna, Austria; Germany; hello world :)

Next

Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: No registered users and 23 guests