Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bluecraank opened this issue Jan 29, 2024 · 13 comments
Open

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

bluecraank opened this issue Jan 29, 2024 · 13 comments

Comments

@bluecraank
Copy link

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
Copy link
Owner

guysoft commented Jan 31, 2024

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

@bluecraank
Copy link
Author

bluecraank commented Jan 31, 2024

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
Copy link

pauldogg commented Feb 4, 2024

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
Copy link
Owner

guysoft commented Feb 4, 2024

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.

@guysoft guysoft changed the title Sometimes blackscreen after boot, no chromium start Sometimes blackscreen after boot, no chromium start - has cursor Feb 4, 2024
@csabal
Copy link

csabal commented Feb 10, 2024

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
Copy link
Author

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

Our pis are connected via wired ethernet

@chasecee
Copy link

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
Copy link
Owner

guysoft commented Feb 18, 2024

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

@guysoft
Copy link
Owner

guysoft commented Feb 24, 2024

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

@fladdie
Copy link

fladdie commented Mar 5, 2024

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
Copy link
Owner

guysoft commented Mar 5, 2024

@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
Copy link
Owner

guysoft commented Apr 7, 2024

Hey, please try the latest RC that should fix the issue.
#540

@guysoft
Copy link
Owner

guysoft commented Jun 5, 2024

Closing if no reply, issue should be fixed in 0.14.0 RC1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants