This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

VNC Viewer Setup between Ubuntu and BBB

Hi ALL

I have Beaglbone Black board. I already flashed android prebuilt from this link as per Instructions. http://circuitco.com/support/index.php?title=Android#Android_On_The_BeagleBone_Black

Android is running now. and i installed vnc server on my BBB. I have ethernet connection also on BBB.

I dnt have HDMI cable or LCD. I want to access my android screen through Ubuntu  (Remote Access).

I used this command

$ vncviewer <ip>:port

output on ubuntu :

Connected to RFB server, using protocol version 3.8
No authentication needed
Authentication successful
Desktop name "Android"
VNC server default format:
  0 bits per pixel.
  Least significant byte first in each pixel.
  True colour: max red 0 green 0 blue 0, shift red 0 green 0 blue 0
Using default colormap which is TrueColor.  Pixel format:
  32 bits per pixel.
  Least significant byte first in each pixel.
  True colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0
CleanupXtErrorHandler called
Error: Shell widget vncviewer has zero width and/or height

From this output i am thinking my Frame buffer is not initialized.
Output on Android BBB :

mmap failed
Initializing virtual keyboard and touch device...
---Initializing uinput...---
cannot create virtual kbd device.
Cannot create virtual input device!
Initializing VNC server:
        width:  0
        height: 0
        bpp:    0
        port:   5901
Colourmap_rgba=0:0:0:0    lenght=0:0:0:0
Version: DEVILISH DONKEY

Logcat Output :

127|root@android:/system/bin # logcat | grep SurfaceFlinger
I/SurfaceFlinger(   94): SurfaceFlinger is starting
I/SurfaceFlinger(   94): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
E/SurfaceFlinger(   94): hwcomposer module not found
W/SurfaceFlinger(   94): getting VSYNC period from fb HAL: 16666666
W/SurfaceFlinger(   94): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID
W/SurfaceFlinger(   94): no suitable EGLConfig found, trying without EGL_RECORDABLE_ANDROID
W/SurfaceFlinger(   94): no suitable EGLConfig found, trying with 16-bit color allowed
W/SurfaceFlinger(   94): EGL_SLOW_CONFIG selected!
I/SurfaceFlinger(   94): EGL informations:
I/SurfaceFlinger(   94): vendor    : Android
I/SurfaceFlinger(   94): version   : 1.4 Android META-EGL
I/SurfaceFlinger(   94): extensions: EGL_KHR_image_base EGL_KHR_fence_sync EGL_ANDROID_image_native_
buffer
I/SurfaceFlinger(   94): Client API: OpenGL_ES
I/SurfaceFlinger(   94): EGLSurface: 5-6-5-0, config=0x0
I/SurfaceFlinger(   94): OpenGL ES informations:
I/SurfaceFlinger(   94): vendor    : Android
I/SurfaceFlinger(   94): renderer  : Android PixelFlinger 1.4
I/SurfaceFlinger(   94): version   : OpenGL ES-CM 1.0
I/SurfaceFlinger(   94): extensions: GL_EXT_debug_marker GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_draw_texture GL_OES_matrix_get GL_OES_query_matrix GL_OES_EGL_image GL_OES_EGL_sync GL_OES_compressed_ETC1_RGB8_texture GL_ARB_texture_compression GL_ARB_texture_non_power_of_two GL_ANDROID_user_clip_plane GL_ANDROID_vertex_buffer_object GL_ANDROID_generate_mipmap
I/SurfaceFlinger(   94): GL_MAX_TEXTURE_SIZE = 4096
I/SurfaceFlinger(   94): GL_MAX_VIEWPORT_DIMS = 4096 x 4096
D/SurfaceFlinger(   94): Screen acquired, type=0 flinger=0x41c7e318

Please help me to solve out this issue. How can i initialized SurfaceFlinger height and Weidth parameter via command or something else.

Thanks