Page 1 of 1

Segmentation Fault during starting a vm without GUI

Posted: 1. Jul 2008, 00:12
by cbruemmer
Hello Forum,

first of all, I'd like to say: VirtualBox is fantastic (if it is running). But the speed is fantastic.

But I have a problem.

My host is running with openSuSE 10.3 64 Bit:
2.6.22.18-0.2-default #1 SMP x86_64

My CPU is an AMD X2BE-2350

I've installed VirtualBox 1.6.2 for 64Bit:
VirtualBox-1.6.2_31466_openSUSE103-1

Network is bridged.

Whenever I open the program VirtualBox, I'm able to start my machines without any problems.

But I don't want to start them this way. I have a vm, which is text based only. I only want to log in via SSH - no GUI. And I don't want to open a GUI to start the vms.

I don't think, that VBoxVRDP is my friend, as I don't want to use RDP (as I said, just SSH and RDP is not enabled). But, whatever I try:

VBoxVRDP -s "vbhoney"
VBoxSDL -vm "vbhoney"
VBoxManage startvm "vbhoney"
VBoxHeadless -s "vbhoney"

is failing immediately with an "Segmentation fault".

Some entries from the /var/log/messages:

VBoxSDL[13312]: segfault at 0000000000000000 rip 0000000000407115 rsp 00007fffaf0e8420 error 4

VBoxHeadless[10841]: segfault at 00002aaaaec758d4 rip 00002aaaaec758d4 rsp 0000000041bcbc20 error 14

Any ideas why?

Is there a workaround available: start the GUI, start the VM and push the running vm into the background?

Thanks in advance

Christian

Segmentation Fault during starting a vm without GUI Solution

Posted: 1. Jul 2008, 11:20
by cbruemmer
Hello Form,

I found a workaround/solution:

1st: I had to use (Primary) IDE instead of SATA. Any ideas why?

2nd: I have to enable VRDP (even I don't want to use it)

After that, I can use VBoxManage startvm "vbhoney" -type vrdp to start a vm without a GUI.

---- Edit:
But this works only, if an X-Server (VNC) is running. Starting the vm via SSH only is not possible.

If I start the vm and close the X-Server, the vm is crashing.
----

Best regards

Christian