我正在尝试在“Ubuntu 14.04.3 LTS”上使用 Firefox 制作屏幕截图
wget -O firefox-58.0.tar.bz2 https://download-installer.cdn.mozilla.net/pub/firefox/releases/58.0/linux-x86_64/en-US/firefox-58.0.tar.bz2
tar xvjf firefox-58.0.tar.bz2
./firefox/firefox -screenshot /tmp/test.jpg www.google.de
但命令永远不会结束
我得到的唯一输出是
*** You are running in headless mode.
(firefox:7679): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
//bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
(firefox:7679): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
//bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
(firefox:7679): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
//bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
(firefox:7679): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
//bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
(firefox:7679): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
//bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
(firefox:7679): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
//bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
(firefox:7679): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
//bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.