{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4922","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-native","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4922/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4922/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4922/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/4922","id":152710143,"number":4922,"title":"Error: \"what():  Failed to open X display\" in Ubuntu VM","user":{"login":"Maarius","id":3234136,"avatar_url":"https://avatars.githubusercontent.com/u/3234136?v=3","gravatar_id":"","url":"https://api.github.com/users/Maarius","html_url":"https://github.com/Maarius","followers_url":"https://api.github.com/users/Maarius/followers","following_url":"https://api.github.com/users/Maarius/following{/other_user}","gists_url":"https://api.github.com/users/Maarius/gists{/gist_id}","starred_url":"https://api.github.com/users/Maarius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maarius/subscriptions","organizations_url":"https://api.github.com/users/Maarius/orgs","repos_url":"https://api.github.com/users/Maarius/repos","events_url":"https://api.github.com/users/Maarius/events{/privacy}","received_events_url":"https://api.github.com/users/Maarius/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/node","name":"node","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"mikemorris","id":1149913,"avatar_url":"https://avatars.githubusercontent.com/u/1149913?v=3","gravatar_id":"","url":"https://api.github.com/users/mikemorris","html_url":"https://github.com/mikemorris","followers_url":"https://api.github.com/users/mikemorris/followers","following_url":"https://api.github.com/users/mikemorris/following{/other_user}","gists_url":"https://api.github.com/users/mikemorris/gists{/gist_id}","starred_url":"https://api.github.com/users/mikemorris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikemorris/subscriptions","organizations_url":"https://api.github.com/users/mikemorris/orgs","repos_url":"https://api.github.com/users/mikemorris/repos","events_url":"https://api.github.com/users/mikemorris/events{/privacy}","received_events_url":"https://api.github.com/users/mikemorris/received_events","type":"User","site_admin":false},"milestone":null,"comments":20,"created_at":"2016-05-03T06:41:29Z","updated_at":"2016-05-23T12:18:08Z","closed_at":null,"body":"I installed \"mapbox-gl-native\" for node in my Ubuntu virtual machine, however when I try to run the sample code (https://github.com/mapbox/mapbox-gl-native/tree/master/platform/node#rendering-a-map-tile), I get the error \r\n```\r\nterminate called after throwing an instance of 'std::runtime_error'\r\n  what():  Failed to open X display.\r\nAborted (core dumped)\r\n```\r\n\r\nMy system setup:\r\n```\r\nnode: 5.4.1\r\nmapbox-gl-native: 3.1.2 (build from source without errors)\r\nsharp 0.14.1\r\nUbuntu: 15.10 running in a Virtualbox (5.0.16) on an OSX host system.\r\n```\r\n\r\nCan you give me any hints how to solve this? Is it possible to run mapbox-gl-native in a VM and export map images using node?"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/220964296","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/4922#issuecomment-220964296","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4922","id":220964296,"user":{"login":"Maarius","id":3234136,"avatar_url":"https://avatars.githubusercontent.com/u/3234136?v=3","gravatar_id":"","url":"https://api.github.com/users/Maarius","html_url":"https://github.com/Maarius","followers_url":"https://api.github.com/users/Maarius/followers","following_url":"https://api.github.com/users/Maarius/following{/other_user}","gists_url":"https://api.github.com/users/Maarius/gists{/gist_id}","starred_url":"https://api.github.com/users/Maarius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maarius/subscriptions","organizations_url":"https://api.github.com/users/Maarius/orgs","repos_url":"https://api.github.com/users/Maarius/repos","events_url":"https://api.github.com/users/Maarius/events{/privacy}","received_events_url":"https://api.github.com/users/Maarius/received_events","type":"User","site_admin":false},"created_at":"2016-05-23T12:18:08Z","updated_at":"2016-05-23T12:18:08Z","body":"@jingsam I would suggest to not hijack this issue and rather open a new one. Please post the steps that you did and the error message that you get in there and I will try to help you!"}}
{"actor":{"display_login":"Maarius"}}