mixu/nwm — Issue #15: Error: cannot connect to X server
Author: baaaaaaaaaaaaaam
Created: 2012-02-16 20:23:21+00:00
State: open

I'm getting this error when I try to run "node nwm-user-sample.js"

xxx@xxx:/home/nwm# node nwm-user-sample.js
[ { key: 49, modifier: 64, callback: [Function] },
{ key: 50, modifier: 64, callback: [Function] },
{ key: 51, modifier: 64, callback: [Function] },
{ key: 52, modifier: 64, callback: [Function] },
{ key: 53, modifier: 64, callback: [Function] },
{ key: 54, modifier: 64, callback: [Function] },
{ key: 55, modifier: 64, callback: [Function] },
{ key: 56, modifier: 64, callback: [Function] },
{ key: 57, modifier: 64, callback: [Function] },
{ key: 49, modifier: 65, callback: [Function] },
{ key: 50, modifier: 65, callback: [Function] },
{ key: 51, modifier: 65, callback: [Function] },
{ key: 52, modifier: 65, callback: [Function] },
{ key: 53, modifier: 65, callback: [Function] },
{ key: 54, modifier: 65, callback: [Function] },
{ key: 55, modifier: 65, callback: [Function] },
{ key: 56, modifier: 65, callback: [Function] },
{ key: 57, modifier: 65, callback: [Function] },
{ key: 65293, modifier: 65, callback: [Function] },
{ key: 99, modifier: 65, callback: [Function] },
{ key: 32, modifier: 64, callback: [Function] },
{ key: 104, modifier: 64, callback: [Function] },
{ key: 65479, modifier: 64, callback: [Function] },
{ key: 108, modifier: 64, callback: [Function] },
{ key: 65480, modifier: 64, callback: [Function] },
{ key: 65289, modifier: 64, callback: [Function] },
{ key: 44, modifier: 65, callback: [Function] },
{ key: 46, modifier: 65, callback: [Function] },
{ key: 106, modifier: 64, callback: [Function] },
{ key: 107, modifier: 64, callback: [Function] },
{ key: 113, modifier: 65, callback: [Function] } ]
list item data pointer 0x1f66170.
list item data pointer 0x1f65fc0.
list item data pointer 0x1f66130.
list item data pointer 0x1f2e410.
list item data pointer 0x1f2e180.
list item data pointer 0x1f66030.
list item data pointer 0x1f60e20.
list item data pointer 0x1f2dac0.
list item data pointer 0x1f2db50.
list item data pointer 0x1f2db90.
list item data pointer 0x1f8bdc0.
list item data pointer 0x1f8be00.
list item data pointer 0x1f8be40.
list item data pointer 0x1f60d10.
list item data pointer 0x1f60d50.
list item data pointer 0x1f60d90.
list item data pointer 0x1f604b0.
list item data pointer 0x1f604f0.
list item data pointer 0x1f60530.
list item data pointer 0x1f60570.
list item data pointer 0x1f66200.
list item data pointer 0x1f66240.
list item data pointer 0x1f66280.
list item data pointer 0x1f662c0.
list item data pointer 0x1f66300.
list item data pointer 0x1f66340.
list item data pointer 0x1f66380.
list item data pointer 0x1f663c0.
list item data pointer 0x1f66400.
list item data pointer 0x1f66440.
list item data pointer 0x1f66480.
EIO INIT
cannot connect to X server