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

Unable to open display #33

Open
nassafellow opened this issue Apr 16, 2021 · 13 comments
Open

Unable to open display #33

nassafellow opened this issue Apr 16, 2021 · 13 comments

Comments

@nassafellow
Copy link

16186091114226054285710309907953
Please help, I don't know what to do... :(

Please break everything down since I am new to all of this and am struggling with both software and hardware

@trystendsmyth
Copy link

trystendsmyth commented Apr 16, 2021

@nassafellow this just pops up because of the edits to .bash_profile The console doesn't have a display set, so it outputs this in response to the xset commands, but it's not an issue. The issue here is that xserver won't start.

I assume you have your pi set to autologin to the console?
Did you edit xinitrc per the instructions?

@nassafellow
Copy link
Author

16186132135743970276966403491320

Yes it logs into auto console straight away.

I didn't get to put in the long authorisation website in anywhere though. It wasn't clear where I had to put it. I've filled in all the details for it though.

@nassafellow
Copy link
Author

Worth noting that the file above had to be created by me because it wasn't there before.

Please tell me I'm close to finishing the software bit.

@trystendsmyth
Copy link

@nassafellow what does your log file say? Did you install everything? (openbox, lightdm, x11-xserver-utils, etc...)

@nassafellow
Copy link
Author

how do I find the logfile please, forgive me but I'm new to all of this and still learning.

I did install everything - had to use a few workarounds that people found in the issues section to get where I am e.g. the -r requirements - only really faced trouble at the xnitrc part but as you can see it is all there. Is a cache missing or something?

@trystendsmyth
Copy link

In your first screenshot, it specifies a log at /var/log/Xorg.0.log. Might be worth taking a look in there and seeing if it has any useful information.

@nassafellow
Copy link
Author

IMG_20210417_002656

@nassafellow
Copy link
Author

Wait, just seen there's more...
16186157714647841832305915771548
16186158038687358189247630313846
16186158358966420887258237558368
16186158643492482056008355922313
16186158877641907410975733800792
16186159116442803970550684861377
16186159301271760163116541731566

@nassafellow
Copy link
Author

any suggestions on what I should do?

@trystendsmyth
Copy link

I'm not seeing anything that jumps out to me - (also all the screenshots are slightly overwhelming 😄 )
Some places to check (but I wouldn't output everything here unless you see a specific error) are/var/log/lightdm and ~/.xsession-errors. If there's nothing of note either place, I'd recheck that you did all the steps exactly as specified in the README and restart with only your monitor plugged in. If it still fails to run the GUI, I might check with a different display to see if that's an issue. Beyond that, my troubleshooting gets weak and you might want to wait on a Linux guru.

If you don't want to wait, my last ditch effort would be to re-flash the SD card and try going through the setup steps from scratch. I restarted my pi after step 9 just to make sure everything loaded well before adding the spotifypod specific stuff.

@nassafellow
Copy link
Author

Hmm ok I'm retracing my steps. Where did you put the website link please - it doesn't say where to type it in.

@nassafellow
Copy link
Author

I'm still so stuck I just keep getting the x set unable to open display, and the program keeps crashing. :(

@tomaculum
Copy link
Contributor

Did you connect a display to your raspberry pi? Does this show anything? If I ssh into my raspberry, I get the same error (if I remember correctly). In my case the auto login session on the display has the display variable set automatically. But if I create another session via ssh, it doesn’t have this display variable and therefore this issue appears. There is a better and more detailed explanation for this issue but I imagine that is enough information for now. If something happens on your display and you enabled auto login, I don’t think this is something to worry about.

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

3 participants