$ apt-get update && apt-get install -y xserver-xorg-video-dummy x11vnc ubuntu-gnome-desktop lightdm
$ nano  /etc/X11/xorg.conf
$ x11vnc -storepasswd
$ nano /etc/systemd/system/x11vnc.service
| const repl = require('repl'); | |
| const http = require('http'); | |
| let currentQueueHost = 'localhost'; | |
| let currentQueuePort = '9324'; | |
| let message; | |
| function myWriter(output) { | |
| return output; | |
| } | 
| function (method) { | |
| return function () { | |
| const callerArgs = arguments; | |
| return new Promise((res, rej) => { | |
| method.apply(null, [...callerArgs, function (err, data) { | |
| if (err) rej(err); | |
| else res(data); | |
| }]) | |
| }); | |
| } | 
| // ==UserScript== | |
| // @name Kibana | |
| // @version 0.7.1 | |
| // @description Kibana Log Context view helper | |
| // @grant GM_getValue | |
| // @grant GM_setValue | |
| // @author tsoares | |
| // @match http://*/kibana/* | |
| // @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js | |
| // ==/UserScript== |