question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Openbox Syntax Error

See original GitHub issue

Some people have seen this error on first boot:

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 file "/home/pi/.config/openbox/lxde-pi-rc.xml" line 1, with message: Document is empty

It can typically be resolved by reflashing the card.

One reporter said they booted initially without a monitor connected (maybe related, maybe a coincidence). The issue might be upstream (see this forum post). As far as I’m aware lxde-pi-rc.xml is the same in our image as in the upstream image.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:18 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
navoteracommented, Feb 13, 2018

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

1reaction
drigzcommented, May 15, 2017

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?

Read more comments on GitHub >

github_iconTop Results From Across the Web

New install - Openbox syntax error - Raspberry Pi Forums
Reflash the memory card. Most of the times this error comes up due to power interruption or improper connection.
Read more >
Bug #1753159 “Openbox Syntax Error lubuntu-rc.xml is Empty”
After experimenting and researching, it appears that the user profile named "User" was corrupted. I fixed the issue by creating a new user...
Read more >
[SOLVED] openbox - menu.xml - syntax error
I have poured over the openbox documentation and my configuration file time and time again and I cannot find the syntax error.
Read more >
1 - Unix StackExchange
Improve this question. Openbox Syntax Error. I added a new keybinding to my rc.xml and now I get this message every time I...
Read more >
Openbox Syntax Error at startup - Odroid Forum
Re: Openbox Syntax Error at startup ... I think some portion of the file system in your SD card might be corrupted. Flash...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found