[vbox-dev] Issue with starting a VM

AMARNATH, Balachandar BALACHANDAR.AMARNATH at airbus.com
Thu Apr 15 10:33:39 GMT 2010


Hi

 I have code as follows to start a virtual machine 

				uuid = machine.getId();
    				sessionType = "gui";
    				env = "DISPLAY=:0.0";
    				progress = 
    					vbox.openRemoteSession(session,
                                            uuid,
                                            null,
                                            env);
    				log.info("Session for VM " + uuid + " is
opening...");                
    				progress.waitForCompletion(10000);

    				long rc = progress.getResultCode();
        
Bu tthis code snippet starts a virtual machine with gui. I don't want
gui in my client machine. How do I modify the code ? In first place, is
it right to modify the code or do I need to do something with my virtual
box Installation ?


Regards
Bala        

The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20100415/659d1428/attachment.html>


More information about the vbox-dev mailing list