paulfp / social-media-counter

A Raspberry Pi-based social media follower counter, cycling through Facebook, Twitter, Instagram and YouTube accounts with follower counts displayed on a colour LED display.
GNU General Public License v3.0
16 stars 4 forks source link

Chromium unable to open display #2

Open 19dexter86 opened 3 years ago

19dexter86 commented 3 years ago

I got the following Error: chromium-browser --kiosk http://localhost/ social-media-counter

[1393:1393:1227/120915.932127:ERROR:browser_main_loop.cc(1432)] Unable to open X display.

perhaps someone can help? thank you

19dexter86 commented 3 years ago

ok i got it. Dont use putty or something else. Only works in terminal in pi directly.

GFBsoul commented 3 years ago

Usually exporting from a SSH session works. export DISPLAY=:0 && chromium-browser --kiosk http://localhost/social-media-counter But this is not related to this project. The issue should be closed.