(electron:8933): Gtk-WARNING **: 13:46:36.211: cannot open display: :0


hi i use fedora 29, node@11.1.0, npm@6.4.1, yarn@1.12.3

i download electron-quick-start, then yarn install

but when start it with npm start, an error occurred.

[root@dhcppc0 electron-quick-start]# npm start

electron-quick-start@1.0.0 start /home/mjb_khorasani/testelec/electron-quick-start
electron .

No protocol specified

(electron:8933): Gtk-WARNING **: 13:46:36.211: cannot open display: :0
npm ERR! errno 1
npm ERR! electron-quick-start@1.0.0 start: electron .
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron-quick-start@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-11-09T10_16_36_229Z-debug.log
[root@dhcppc0 electron-quick-start]#

please someone tell me what happened?