Pat Deegan created CB-11870:

             Summary: Unable to drive display on Ubuntu 16.04 (black window)
                 Key: CB-11870
             Project: Apache Cordova
          Issue Type: Bug
          Components: Ubuntu
    Affects Versions: 6.3.1
         Environment: Node version: v6.6.0
Cordova version: 6.3.1
Ubuntu: 16.04

Compiz/Unity plugins: 'core', 'composite', 'opengl', 'regex', 'resize', 
'commands', 'animation', 'snap', 'wall', 'place', 'compiztoolbox', 'imgpng', 
'mousepoll', 'grid', 'unitymtgrabhandles', 'vpswitch', 'copytex', 'move', 
'workarounds', 'session', 'fade', 'scale', 'expo', 'ezoom', 'unityshell'
            Reporter: Pat Deegan
            Assignee: Maxim Ermilov

On a fresh install of both Ubuntu (16.04) and node/cordova, doing a standard 
"hello world" create/build/run:

$ cordova create hello com.example.hello HelloWorld
$ cd hello/
$ cordova platforms add ubuntu
$ cordova build ubuntu
$ cordova run ubuntu

yields a black screen.  Checking debug console (using chromium) seems to show 
the program is running correctly.  

However, an strace of the process shows that the program starts up and then 
goes into a tight loop of polling on the /tmp/.X11-unix/X0 which gives a series 
of EAGAIN (resource unavailable) messages, e.g.

recvmsg(6, 0x7ffe56802b20, 0)           = -1 EAGAIN (Resource temporarily 
recvmsg(6, 0x7ffe56802b20, 0)           = -1 EAGAIN (Resource temporarily 

Quick demo of entire process and result uploaded to

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to