guysoft / FullPageOS

A raspberrypi distro to display a full page browser on boot
GNU General Public License v3.0
3.78k stars 227 forks source link

Sometimes blackscreen after boot, no chromium start - has cursor #509

Open bluecraank opened 3 months ago

bluecraank commented 3 months ago

What were you doing?

Starting fullpageos on rpi4 4gb

What did you expect to happen?

Chromium starts and shows webpage

What happened instead?

Blackscreen

Was there an error message displayed? What did it say?

No, just blackscreen

Version of FullPageOS?

0.14.0

guysoft commented 3 months ago

Is FullPageOS connected to the internet? Because it will not start the browser before an internet connection is detected

bluecraank commented 3 months ago

Hello,

i forgot to mention that i have wrote disabled in /boot/check_for_httpd

Its also very random, with and without ethernet connected its happening

We have to restart.. 1 or maybe 2 times and then ist opening... Its feels like the start script is already running, before gui or network services are running

pauldogg commented 3 months ago

No matter what I try (different pis: 3, 3b+, 4, ethernet, wifi...); I cannot get past the black screen with a cursor. I'm able to SSH and VNC; but nothing else seems to work as expected.

version: 2024-01-12 08:10

Also fullpageos logo fails every time as well.

please help.

thanks

note: 2023-05-12 07:34 seems to work just fine

guysoft commented 3 months ago

Ok, you gave an important bit of information - you have a cursor. That means that the GUI is on, but the browser is not starting. That is really likely to be something with the internet.

Lets try to override everything just to see you got that bit right:

Try to replace:

mv /home/pi/scripts/run_onepageos /home/pi/scripts/run_onepageos.bak
echo "#!/bin/bash" >> /home/pi/scripts/run_onepageos
echo "xterm" >> /home/pi/scripts/run_onepageos
chmod 755 /home/pi/scripts/run_onepageos

Then reboot

This should back up the chroium start script. and when you boot you should get an xterm. Its not a browser yet, but at least it means you will not get a totally black screen, and you can try to run commands from there.

Then I would suggest running:

/home/pi/scripts/start_chromium_browser

That should start chromium with the settings. And if it fails you might get an output on the shell so we can understand what is going wrong.

csabal commented 3 months ago

HI

2023-05-12 07:34 version seems works, but sometimes it is not. :) Ok, so it seems to me, that issue around the network or similar. If the PI builds up the WIFI connections too slow, it is stops with the cursor, so no webpage loading. I think it needs a little delay in startup, so there would be enough time to connect to the WIFI.

How can I add a little start delay? No much experience w Raspberry yet. Thx.

bluecraank commented 3 months ago

Yeah start delay should help but i dont know where the autostart ist of onepageos

Our pis are connected via wired ethernet

chasecee commented 3 months ago

I was having this same error so I built my own: https://github.com/chasecee/pi-kiosk-scripts It's not a drop in replacement, only basic functionality, but could be a guide if you were a frustrated individual like me.

guysoft commented 3 months ago

I wonder if we should add a timeout to waiting for internet. so at lease people get something.

guysoft commented 2 months ago

Recommend you try the latest nightly, lots of stuff was fixed. Also working on fixing the user-not-pi bug.

fladdie commented 2 months ago

Hi, sorry for the question. Can you explain how I can update FullpageOS via ssh without having to reflash everything to the SD card? My device is unfortunately 400km away and currently only shows a black page with a mouse pointer.

guysoft commented 2 months ago

@fladdie Please post questions like this in the discussion forum and not in a random issue that some has posted.

In short - you can't there is no remote update flashing in FullPageOS. And I don't have the capacity to design and build such a thing. In general when you build such a system and you want remote updates you need something such as a two-parition system where you can update one and fallback on the other. Something like this: https://sbabic.github.io/swupdate/overview.html#double-copy

guysoft commented 1 month ago

Hey, please try the latest RC that should fix the issue. https://github.com/guysoft/FullPageOS/issues/540