VirtualBox

Opened 15 years ago

Closed 9 years ago

#2560 closed defect (obsolete)

VDRP and VBoxHeadless get hung

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

Description (last modified by Frank Mehnert)

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 (7)

comment:1 by Frank Mehnert, 15 years ago

Description: modified (diff)
priority: criticalmajor
Summary: VDRP and vBoxHeadless get Hung, it doesn't worksVDRP and VBoxHeadless get hung

comment:2 by Frank Mehnert, 15 years ago

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

comment:3 by xfernandez, 15 years ago

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 by Frank Mehnert, 15 years ago

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

comment:5 by xfernandez, 15 years ago

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 by Frank Mehnert, 15 years ago

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?

comment:7 by Frank Mehnert, 9 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use