def start(mode="gui")
      return false if running?

      # Open a new remote session, this will automatically start the machine
      # as well
      session = Lib.lib.session
      interface.launch_vm_process(session, mode.to_s, "").wait
      session.unlock_machine if session.state == :open
      true
    end
def start(mode="gui")
      return false if running?

      # Open a new remote session, this will automatically start the machine
      # as well
      session = Lib.lib.session
      interface.launch_vm_process(session, mode.to_s, "").wait
      session.unlock_machine if session.state == :open
      true
    end
Starts the virtual machine. The virtual machine can be started in a
 variety of modes:

 * **gui** -- The VirtualBox GUI will open with the screen of the VM.
 * **vrdp** -- The VM will run in the background. No GUI will be
   present at all.

 This method blocks while the external processes are starting.

 @param [Symbol] mode Described above.
 @return [Boolean] True if command was successful, false otherwise.