VirtualBox

Ticket #2560 (new defect)

Opened 5 years ago

Last modified 5 years ago

VDRP and VBoxHeadless get hung

Reported by: xfernandez Owned by:
Priority: major Component: RDP
Version: VirtualBox 2.0.4 Keywords: VDRP, vboxHeadLess
Cc: Guest type: Linux
Host type: Windows

Description (last modified by frank) (diff)

First of all I try to disable de VDRP access.

  1. I try to access via openSession method in COM. (This method doesn't work
  2. I run the VBoxHeadless program
  3. I try to access via rdp. (OK)
  4. I disable VRDP access.
  5. The VBoxHeadless application get hung. I think that it is because I close the vdrp access in a vdrp session :).

Have I an alternative to disable the VDRP access? Does OpenSession method works?

Change History

comment:1 Changed 5 years ago by frank

  • Priority changed from critical to major
  • Description modified (diff)
  • Summary changed from VDRP and vBoxHeadless get Hung, it doesn't works to VDRP and VBoxHeadless get hung

comment:2 Changed 5 years ago by frank

How did you disable the VRDP access while VBoxHeadless was running?

comment:3 Changed 5 years ago by xfernandez

No, maybe I didn't explain very well. sorry

I want to use the COM API.

Firt of all I execute the openSession method and after this I execute powerUp method. This is to open the virtualMachine.

The idea is to disable the VDRP access using the virtualMachine object created. But... I can't try this because the firts step (openSession + powerUP) doesn't works.

Thanks

comment:4 Changed 5 years ago by frank

Can you post the code which you are using to start the VM? Please enclose the code in to keep it readable.

comment:5 Changed 5 years ago by xfernandez

Consider that vBoxHyper.getVirtualBox() returns an IVirtualBox instance

vBoxHyper.getVirtualBox().openSession(vBoxHyper.getSession(), machineId);
          
IProgress oProgress = vBoxHyper.getSession().getConsole().powerUp();
              
oProgress.waitForCompletion(20000);

When we open the VirtualBox QT GUI the machine status is terminating

comment:6 Changed 5 years ago by frank

Sorry for the late response. I'm not sure if your code works at all -- did you have a look at the implementation of --startvm in !VBoxManage?

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use