-
-
Notifications
You must be signed in to change notification settings - Fork 225
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
Gtk WARNING: cannot open display #738
Comments
I got it working... I had to first type |
Hi! Sorry for my late reply. Have you enabled automatic login? You could also try adding that |
Yes, automatic login is enabled and that works. I would rather not have to do |
What is the error message if you execute:
|
As best as I can tell, the display is 0. xinit produces a bunch of messages, ending in: A screenshot of this is here. (On searching, the g2d_23 message can be ignored.) |
Here's something interesting. I created a file .xinitrc in the pi home folder, put in: From an ssh session, I did: and Octodash starts on the LCD display! So now I edit .profile to add those commands and reboot. It works! |
Great! Thanks for the feedback! Closing this here. |
I have a Pi 3B+ and added a Lebula touchscreen monitor, connected with HDMI, for use with Octodash. When I try to start octodash I get this:
(The Fontconfig warning can be ignored, as I have read elsewhere.,)
I have gone through the troubleshooting tips (including export DISPLAY=:0), and as many closed issues here as seemed vaguely relevant, but nothing helps. I updated Raspbian, made sure xinit was installed, reinstalled Octodash - nothing changed.
If I run ratpoison, it tells me no display. I am not a Linux expert, but I can stumble my way around. The display works fine as a console. Suggestions welcomed!
The text was updated successfully, but these errors were encountered: