Genymotion 不顯示窗口,失敗並出現錯誤 1003

Genymotion 不顯示窗口,失敗並出現錯誤 1003

我不明白為什麼 Genymotion 視窗沒有出現在我的 Kali Linux 上。當我使用 VirtualBox 啟動同一個映像時,它會啟動,但當我開始使用 Genymotion 時,模擬器視窗會顯示沒有任何內容,然後突然消失。有人可以幫我嗎?

$ sudo /opt/genymotion/genymotion
Logging activities to file: /root/.Genymobile/genymotion.log
Logging activities to file: /root/.Genymobile/genymotion.log
Logging activities to file: /root/.Genymobile/Genymotion/deployed/Google Nexus 7 2013 - 4.3 - API 18 - 1200x1920/genymotion-player.log
OpenGL connected to 192.168.56.101:25000
Port 22468 will be used for OpenGL data connections
Unknown TCPCLI command 1003

日誌檔案內容如下:

Mar 13 23:33:43 [Genymotion] [Warning] ****  STARTING GENYMOTION  **** 
Mar 13 23:33:43 [Genymotion] [Warning] Genymotion Version: Genymotion 2.4.0 
Mar 13 23:33:43 [Genymotion] [Debug] [LaunchpadApp] Started with ("/opt/genymotion/genymotion") 
Mar 13 23:33:43 [Genymotion] [Debug] [doRequest] Requesting: "https://cloud.genymotion.com/launchpad/last_version/debian/x64/" 
Mar 13 23:33:43 [Genymotion] [Debug] Getting currently authenticated user from  local cache 
Mar 13 23:33:43 [Genymotion] [Debug] [doRequest] done 
Mar 13 23:33:43 [Genymotion] [Debug] Loading "vboxmanage" plugin 
Mar 13 23:33:43 [Genymotion] [Debug] Plugin "vboxmanage" loaded 
Mar 13 23:33:43 [Genymotion] [Debug] Chipset: "GenuineIntel" 
Mar 13 23:33:43 [Genymotion] [Debug] CPUID 0x1 (Intel): ECX= "7ffafbff" 
Mar 13 23:33:43 [Genymotion] [Debug] [VBoxManageCore] Path: "VBoxManage" 
Mar 13 23:33:43 [Genymotion] [Debug] [getGenymotionLastVersion] New version ( "2.4.0" ) available here: "http://files2.genymotion.com/genymotion/genymotion-2.4.0/genymotion-2.4.0_x64_debian.bin" 
Mar 13 23:33:43 [Genymotion] [Debug] Genymotion is up to date 
Mar 13 23:33:43 [Genymotion] [Debug] VBoxManage ("list", "hostinfo") returns 0 
Mar 13 23:33:43 [Genymotion] [Debug] [System properties] Online physical CPU number: 4 
Mar 13 23:33:43 [Genymotion] [Debug] [System properties] Online virtual CPU number: 2 
Mar 13 23:33:43 [Genymotion] [Debug] [System properties] Max CPU number: 8 
Mar 13 23:33:43 [Genymotion] [Debug] [System properties] Max memory size: 7918 
Mar 13 23:33:43 [Genymotion] [Debug] VBoxManage ("list", "hostonlyifs") returns 0 
Mar 13 23:33:44 [Genymotion] [Debug] VBoxManage ("list", "dhcpservers") returns 0 
Mar 13 23:33:44 [Genymotion] [Error] VBoxManage ("hostonlyif", "create") returns 1 
Mar 13 23:33:44 [Genymotion] [Error] Output command: "0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to create the host-only adapter
VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterface, interface IHostNetworkInterface
VBoxManage: error: Context: "int handleCreate(HandlerArg*, int, int*)" at line 66 of file VBoxManageHostonly.cpp" 
Mar 13 23:33:44 [Genymotion] [Error] failed to create host only interface 
Mar 13 23:33:44 [Genymotion] [Error] "Fail to load vboxmanage plugin from /opt/genymotion/plugins/" 
Mar 13 23:33:44 [Genymotion] [Error] VM Engine failed to load 
Mar 13 23:33:44 [Genymotion] [Error] Unable to find VM Engine. Plugin loading aborted. 
Mar 13 23:33:44 [Genymotion] [Debug] [LogCollector] VM engine not available 
Mar 13 23:33:44 [Genymotion] [Debug] [LogCollector] Creating temporary folder: "/tmp/genymotion-logs-tmp" 
Mar 13 23:33:44 [Genymotion] [Debug] [LogCollector] Copying file "/home/trance/.config/VirtualBox/VBoxSVC.log" to "/tmp/genymotion-logs-tmp/general-VBoxSVC.log" 
Mar 13 23:33:44 [Genymotion] [Warning] [LogCollector] Running "/opt/genymotion/tools/glewinfo" with args () 
Mar 13 23:33:44 [Genymotion] [Warning] [LogCollector] Running "lsmod" with args () 
Mar 13 23:33:44 [Genymotion] [Warning] [LogCollector] Running "lspci" with args () 
Mar 13 23:33:44 [Genymotion] [Warning] [LogCollector] Running "ip" with args ("rule") 
Mar 13 23:33:44 [Genymotion] [Warning] [LogCollector] Running "ip" with args ("route") 
Mar 13 23:33:44 [Genymotion] [Warning] [LogCollector] Running "free" with args () 
Mar 13 23:33:44 [Genymotion] [Warning] [LogCollector] Running "ps" with args ("afx") 
Mar 13 23:33:44 [Genymotion] [Warning] [LogCollector] Running "df" with args ("-kh") 
Mar 13 23:33:44 [Genymotion] [Warning] [LogCollector] Running "dmesg" with args () 
Mar 13 23:33:44 [Genymotion] [Warning] [LogCollector] Running "cat" with args ("/proc/cpuinfo") 
Mar 13 23:33:44 [Genymotion] [Debug] [LogCollector] Copying file "/home/trance/.Genymobile/genymotion.log" to "/tmp/genymotion-logs-tmp/general-genymotion.log" 
Mar 13 23:33:44 [Genymotion] [Debug] [archiveDirectory] Archive created under "/home/trance/genymotion-log.zip" 
Mar 13 23:33:44 [Genymotion] [Debug] [LogCollector] Removing temporary folder: "/tmp/genymotion-logs-tmp" 
Mar 13 23:33:44 [Genymotion] [Debug] Result for "Generating log archive..." true 
Mar 13 23:33:46 [Genymotion] [Error] **** STOPPING GENYMOTION WITH ERROR **** 
Mar 13 23:33:46 [Genymotion] [Warning] ****  STOPPING GENYMOTION  **** 

答案1

首先,透過命令終端機運行您的 virtualbox 應用程式來檢查它是否正常運作。

virtualbox

為了使應用程式正常運作,您必須設定 virtualbox 核心模組。如果您在安裝過程中沒有設定它,它會透過終端告訴您並指導您如何設定。

Example: "Please recompile the kernel module and install it by: sudo /etc/init.d/vboxdrv setup   

在運行 virtualbox 驅動器的安裝程式之前,您需要安裝 3.10.18 Linux 內核,因為如果沒有它,安裝程式將失敗,告訴您無法找到內核。您可以透過以下方式了解如何安裝此內核http://ubuntuhandbook.org/index.php/2013/11/install-linux-kernel-3-10-18-ubuntu-mint/

安裝核心並重新啟動後,您可以執行前面顯示的 vboxdrv setup 命令並透過命令列測試 virtualbox 是否運作。如果 virtualbox 運作正常,您可以成功運行 genymotion,並且它能夠載入虛擬磁碟機。

答案2

必須在 VirtualBox 上啟用網路。

開啟 VirtualBox,然後前往:

File>Preferences>Networking

我沒有時間閒逛,所以我只是點擊了 NAT 網路和僅主機網路的加號。之後我再次運行 ./genymotion 並彈出螢幕。不知道是什麼解決了它,但它已經解決了,這就是我所做的一切,導致指示說必須啟用網絡,但 Ubuntu 在安裝過程中從未提供該選項。

相關內容