Alex Rivera | Logout

android emulator won't start on ubuntu 12.04 after when run from ssh

Asked 2012-06-12T13:54:02.360
14

I built the android source code based on the http://source.android.com/source/building.html on Ubuntu 12.04 and when I run the emulator I'm getting the error and emulator won't start:

WARNING: Application calling GLX 1.3 function "glXCreatePbuffer" when GLX 1.3 
         is not supported!  This is an application bug!
X Error of failed request:  GLXUnsupportedPrivateRequest
  Major opcode of failed request:  146 (GLX)
  Minor opcode of failed request:  16 (X_GLXVendorPrivate)
  Serial number of failed request:  20
  Current serial number in output stream:  22

Any idea how can I fix that?

I need to mention that I connect to the machine with SSH. When I connect from an Ubuntu machine and run, it works fine but when I connect to it with my macbook machine through the SSH and try to run it gives me above error.

BR, Ramin

Edit
Report

1 Answer

2

This error probably indicates the app requires direct access to the screen. Using nx rather than X over SSH may avoid the problem. Look if there is a run time option on the emulator too.

answered 2012-08-08T23:24:41.230

Your Answer