vbox的更動 61644 路徑 trunk/src/VBox/Main
- 時間撮記:
- 2016-6-10 上午06:57:56 (8 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r61617 r61644 5181 5181 if (vrc == VERR_NET_ADDRESS_IN_USE) 5182 5182 { 5183 /* Not fatal if we start the VM, fatal if the VM is already running. */ 5183 5184 Bstr bstr; 5184 5185 mVRDEServer->GetVRDEProperty(Bstr("TCP/Ports").raw(), bstr.asOutParam()); 5185 5186 errMsg = Utf8StrFmt(tr("VirtualBox Remote Desktop Extension server can't bind to the port(s): %s"), 5186 5187 Utf8Str(bstr).c_str()); 5187 LogRel(("VRDE: Warning: failed to launch VRDE server (%Rrc): '%s'\n", vrc, errMsg.c_str()));5188 LogRel(("VRDE: Warning: failed to launch VRDE server (%Rrc): %s\n", vrc, errMsg.c_str())); 5188 5189 } 5189 5190 else if (vrc == VINF_NOT_SUPPORTED) 5190 5191 { 5191 /* This means that the VRDE is not installed. */ 5192 /* This means that the VRDE is not installed. 5193 * Not fatal if we start the VM, fatal if the VM is already running. */ 5192 5194 LogRel(("VRDE: VirtualBox Remote Desktop Extension is not available.\n")); 5193 5195 errMsg = Utf8Str("VirtualBox Remote Desktop Extension is not available"); … … 5195 5197 else if (RT_FAILURE(vrc)) 5196 5198 { 5197 /* Fail if the server is installed but can't start. */5199 /* Fail if the server is installed but can't start. Always fatal. */ 5198 5200 switch (vrc) 5199 5201 { 5200 5202 case VERR_FILE_NOT_FOUND: 5201 errMsg = Utf8StrFmt(tr("Could not find the VirtualBox Remote Desktop Extension library ."));5203 errMsg = Utf8StrFmt(tr("Could not find the VirtualBox Remote Desktop Extension library")); 5202 5204 break; 5203 5205 default: … … 5264 5266 5265 5267 int vrc = mConsoleVRDPServer->Launch(); 5266 Utf8Str errMsg = VRDPServerErrorToMsg(vrc);5267 5268 if (vrc != VINF_SUCCESS) 5269 { 5270 Utf8Str errMsg = VRDPServerErrorToMsg(vrc); 5268 5271 rc = setError(E_FAIL, errMsg.c_str()); 5272 } 5269 5273 else 5270 5274 mConsoleVRDPServer->EnableConnections(); … … 9597 9601 alock.acquire(); 9598 9602 9599 Utf8Str errMsg = pConsole->VRDPServerErrorToMsg(vrc); 9600 if ( RT_FAILURE(vrc) 9601 && vrc != VERR_NET_ADDRESS_IN_USE) /* this is not fatal */ 9602 throw i_setErrorStatic(E_FAIL, errMsg.c_str()); 9603 if (vrc != VINF_SUCCESS) 9604 { 9605 Utf8Str errMsg = pConsole->VRDPServerErrorToMsg(vrc); 9606 if ( RT_FAILURE(vrc) 9607 && vrc != VERR_NET_ADDRESS_IN_USE) /* not fatal */ 9608 throw i_setErrorStatic(E_FAIL, errMsg.c_str()); 9609 } 9603 9610 9604 9611 ComPtr<IMachine> pMachine = pConsole->i_machine();
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器