Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
6.3.1
-
None
-
Node version: v6.6.0
Cordova version: 6.3.1
Ubuntu: 16.04Compiz/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'
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'
Description
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 unavailable)
recvmsg(6, 0x7ffe56802b20, 0) = -1 EAGAIN (Resource temporarily unavailable)
Quick demo of entire process and result uploaded to
https://youtu.be/dmsCJvHKyOs