Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android 7.1 x86 doesnt work #140

Open
Tatikoma opened this issue Oct 1, 2019 · 1 comment
Open

Android 7.1 x86 doesnt work #140

Tatikoma opened this issue Oct 1, 2019 · 1 comment

Comments

@Tatikoma
Copy link

Tatikoma commented Oct 1, 2019

I trying to launch vnc server on anbox.

Changed jni/Application.mk to:

APP_ABI:=x86
#APP_MODULES:= jpeg libpng libcrypto_static libssl_static androidvncserver
APP_ALLOW_MISSING_DEPS=true

Successfully compiled vith ndk-build. Installed to android.

Found actual fb0 file on android:

# find / -name "fb0"                                                   
/sys/class/graphics/fb0
/sys/devices/pci0000:00/0000:00:02.0/graphics/fb0

launched without success

# ./androidvncserver -m fb -f /sys/class/graphics/fb0                                         
Framebuffer display grabber selected
Initializing grabber method...
--Initializing framebuffer access method--
Cannot open fb device /sys/class/graphics/fb0
Initializing virtual keyboard and touch device...
---Initializing uinput...---
cannot create virtual kbd device.
Initializing VNC server:
	width:  0
	height: 0
	bpp:    0
	port:   5901
Colourmap_rgba=0:0:0:0    lenght=0:0:0:0
01/10/2019 14:07:04 Listening for VNC connections on TCP port 5901
01/10/2019 14:07:04 Listening for HTTP connections on TCP port 5801
01/10/2019 14:07:04   URL http://anbox:5801
Unsupported pixel depth: 0
Cleaning up...
@patrakov
Copy link

This ticket is about anbox, which has a completely different graphics system as compared to "normal" Android devices. Its framebuffer is entirely virtual and has no kernel device. Please try again, using https://www.android-x86.org/ in a virtual machine such as KVM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants