I'm trying to create crx file with the following command on a Virtual machine.
/opt/google/chrome/chrome --pack-extension=/tmp/private/1584732592206 --pack-extension-key=/tmp/private/ibehccbjeaejbaaamkdnaogceilbogkg.pem
I'm getting the following error: ERROR:browser_main_loop.cc(1512)] Unable to open X display.
Other details: OS: Ubuntu 18.04.2 LTS (Bionic Beaver) Chrome Version: Google Chrome 80.0.3987.132
Can you please guide me overcome this issue? I just want to create crx file with the chrome executable.