Git Product home page Git Product logo

Comments (18)

navotera avatar navotera commented on April 28, 2024 2

i resolve this issues by removing default pi user and creating new user on whatever u name it.
dont forget to assign new user in root group roles

from aiyprojects-raspbian.

drigz avatar drigz commented on April 28, 2024 1

I wonder if we could work around this by creating a backup of lxde-pi-rc.xml and trying to restore it on boot if the file is empty?

from aiyprojects-raspbian.

bazwilliams avatar bazwilliams commented on April 28, 2024

I had this error, was able to recover a desktop but it was missing the icons used in the tutorials so reflashed.

I booted first time with nothing plugged into HDMI port, I powered off then plugged in my display.

from aiyprojects-raspbian.

drigz avatar drigz commented on April 28, 2024

More info in this bug report received by email:

I used image "aiyprojects-2017-05-03.img.xz" and couldn't get it to boot up to the desktop.

  • It booted and showed this message "Openbox Syntax Error" "One or more XML syntax errors were found while parsing the Openbox configuration files. See stdout for more information. The last error seen was in the file "/home/pi/.config/openbox/lxde-pi-rc.xml" line 1, with message: Document is empty."
  • After clicking "Close" on that message, the screen stayed blank except for the mouse cursor that followed my mouse movements.
  • However, I could right-click and get a menu and open a terminal window. And I verified that /home/pi/.config/openbox/lxde-pi-rc.xml was a file of 0 bytes dated 2017-05-03.
  • I re-flashed the sdcard to the same image. (I'm positive it was the same, as Etcher was still running and I chose to flash with the "same image".) This time it booted fine and the file /home/pi/.config/openbox/lxde-pi-rc.xml was a file of 24075 bytes dated 2017-05-03.
  • What might account for this is that upon my initial boot, nothing showed up on the screen. I think I gave it quite a long time to boot, but I did power down, ensure the HDMI cable was fully inserted, and then powered up and the screen showed the boot process. Perhaps that power cycle damaged lxde-pi-rc.xml ??

This is the third report where the user has suggested they didn't have the HDMI cable properly connected.

from aiyprojects-raspbian.

mariopepe avatar mariopepe commented on April 28, 2024

I also have this issue, I initially booted without screen too

from aiyprojects-raspbian.

drigz avatar drigz commented on April 28, 2024

Our current theory is that this happens if the user pulls the power cable out during the initialization process that happens on the first boot, which corrupts the SD card and requires reflashing. The reason for the link to the lack of monitor is that users don't know when they can safely remove power if they don't have a monitor connected.

@scugn1zz0, you should reflash your SD card - there's no other workaround at the moment.

from aiyprojects-raspbian.

mariopepe avatar mariopepe commented on April 28, 2024

@drigz Thanks a lot for the information, I reflashed the SD card and it worked (this time i boot with HDMI in)

from aiyprojects-raspbian.

bwa11ace avatar bwa11ace commented on April 28, 2024

Can someone explain reflashing?

from aiyprojects-raspbian.

enetor avatar enetor commented on April 28, 2024

@bwa11ace Basically it's just following the "Get the Voice Kit SD Image" section again and write the image to your SD card, see https://aiyprojects.withgoogle.com/voice/#assembly-guide-1-get-the-voice-kit-sd-image

from aiyprojects-raspbian.

wwwroth avatar wwwroth commented on April 28, 2024

Found this issue via Google. I also recieved this error while booting a fresh SD install without a touchscreen plugged in and then plugging it in.

from aiyprojects-raspbian.

Rudysmama avatar Rudysmama commented on April 28, 2024

I received the error after I tried to change the config.txt to accept a different HDMI input. I reflashed the image. Booted with a monitor and I was fine. I was then able to set up the boot with VNC and SSH. I have also installed the windows remote desktop versions to connect. No additional issues.

from aiyprojects-raspbian.

stellaremnant avatar stellaremnant commented on April 28, 2024

Mine booted perfectly the first time, then wouldnt display ANYTHING until I went into config.txt and changed #hdmi_safe=1 to hdmi_safe=1 (uncomment hdmi_safe=1)

from aiyprojects-raspbian.

stellaremnant avatar stellaremnant commented on April 28, 2024

drigz:
Our current theory is that this happens if the user pulls the power cable out during the initialization process that happens on the first boot, which corrupts the SD card and requires reflashing. The reason for the link to the lack of monitor is that users don't know when they can safely remove power if they don't have a monitor connected.

Tested that theory, its correct, the 'dirty bit' is set if the computer lost power while in the middle of processing.

from aiyprojects-raspbian.

navotera avatar navotera commented on April 28, 2024

i believe reflash is not wise solution...
i got this too... any better method to make me not to take reflashed step

from aiyprojects-raspbian.

drigz avatar drigz commented on April 28, 2024

@navotera, if our theory is correct, this error occurs because the filesystem is corrupted when the user pulls the power cable from the Raspberry Pi while it is still running. In that case, reflashing is the most reliable solution.

If there are files on the Raspberry Pi that haven't been backed up, you can plug the SD card into a computer and copy them off before reflashing.

from aiyprojects-raspbian.

iamshadmirza avatar iamshadmirza commented on April 28, 2024

creating a backup of lxde-pi-rc.xml and trying to restore it on boot if the file is empty doesn't work. Re flashed the card, it was working fine then this problem occurred again.

from aiyprojects-raspbian.

Camdude527 avatar Camdude527 commented on April 28, 2024

Can someone please help with this, im having this issue but i have data and programs on the pi that i would hate to lose, is there a way to get them off?

from aiyprojects-raspbian.

drigz avatar drigz commented on April 28, 2024

@Camdude527 You could plug the SD card into a computer to back up your data. And remember to keep regular backups of important data in future! eg with Google Drive / Dropbox / GitHub (for code)

from aiyprojects-raspbian.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.