vk4tec
Posts: 131
Joined: Thu Mar 07, 2013 9:05 am
Location: Brisbane QLD
Contact: Website

chromium browser headless

Wed Mar 07, 2018 2:57 am

[email protected]:~$ DISPLAY=:0
[email protected]:~$ chromium-browser -kiosk http://www.raspberrypi.org
[1687:1687:0307/025607.921027:ERROR:browser_main_loop.cc(582)] Failed to put Xlib into threaded mode.

(chromium-browser:1687): Gtk-WARNING **: cannot open display:
[email protected]:~$
---------------------------------
Andrew Rich
email: [email protected]
http://www.tech-software.net/ ( hobby website )
http://59.167.159.165/ ( Raspberry Pi ADS-B server ) RTL SDR

vk4tec
Posts: 131
Joined: Thu Mar 07, 2013 9:05 am
Location: Brisbane QLD
Contact: Website

Re: chromium browser headless

Wed Mar 07, 2018 3:40 am

Ok this worked

DISPLAY=:0 chromium-browser -kiosk http://www.raspberrypi.org

Trying in autostart

Andrew
---------------------------------
Andrew Rich
email: [email protected]
http://www.tech-software.net/ ( hobby website )
http://59.167.159.165/ ( Raspberry Pi ADS-B server ) RTL SDR

klricks
Posts: 6609
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: chromium browser headless

Wed Mar 07, 2018 4:07 am

You already have a thread going here: viewtopic.php?f=63&t=207195
Unless specified otherwise my response is based on the latest and fully updated Raspbian Buster w/ Desktop OS.

Return to “Raspbian”