Skip to content

Instantly share code, notes, and snippets.

View zerolx's full-sized avatar
🕶️
Working on Gitlab

zerolx zerolx

🕶️
Working on Gitlab
View GitHub Profile
@extremecoders-re
extremecoders-re / genymotion-headless.md
Last active November 27, 2022 15:43
Run Genymotion on a Headless server

As per the official documentation it's not possible to run Genymotion on a headless server. This is because Genymotion does the UI processing outside the VM on the host. If the host is headless, i.e. doesn't have hardware acceleration, Genymotion won't be able to render the Android OS display. As a result the VM will boot up in VirtualBox but there won't be any display.

(Note that getting a GUI via X11 Forwarding, XRDP, X2Go is not the same as a dedicated display. These are virtual displays. The Genymotion app will start but on booting an Android VM the player window will be blank.)

Quoting from https://stackoverflow.com/a/39448004/1833653

When you start a Genymotion device on the standard way from Genymotion Soft, the Android OS is starting inside a VirtualBox VM but all the UI processing (which uses OpenGL) is done outside the VM to make the rendering pipeline uses your computer's GPU. Using this hardware acceleration makes the Genymotion devices fairly smooth and fast.

When you start the Genymoti