xvfb failing to run on non-root system
Lim Yao Jie
limyaojie93 at gmail.com
Sat Apr 6 13:56:06 UTC 2019
Hi!
I have an ubuntu 18 image (heroku) i’m having some issues running xvfb.
I installed xvfb via apt-get
When attempting to run this command: DEBUG=* xvfb-run -e /dev/stdout --server-args="-screen 0 1280x1028x24 -ac +extension GLX +render" node index.js
I get this error message:
2019-04-06T10:41:51.626520+00:00 app[worker.1]: _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
2019-04-06T10:41:51.640235+00:00 app[worker.1]: XKB: Failed to compile keymap
2019-04-06T10:41:51.640239+00:00 app[worker.1]: Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
2019-04-06T10:41:51.640240+00:00 app[worker.1]: (EE)
2019-04-06T10:41:51.640242+00:00 app[worker.1]: Fatal server error:
2019-04-06T10:41:51.640249+00:00 app[worker.1]: (EE) Failed to activate virtual core keyboard: 2(EE)
2019-04-06T10:41:51.646205+00:00 app[worker.1]: xvfb-run: error: Xvfb failed to start
It seems to be an error of attempting to initialise a keyboard. Is there a way to disable keyboard initialisation altogether?
Regards,
Yao Jie
More information about the xorg
mailing list