Opened 11 years ago
Last modified 5 months ago
#42739 new defect
zenity on Maverics errors with GTK-warning cannot open display
Reported by: | john@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | mavericks | Cc: | cooljeanius (Eric Gallager) |
Port: | zenity |
Description
I have a fresh install of Zenity. The install went through a list of dependencies and it all installed without error. Any attempt at running Zenity gives the error "Gtk-WARNING : cannot open display". I checked the dbus-session and dbus-system plists, and those are running.
When I run zenity from Shell, the output is a blank line, followed by the GTK-Warning.
Change History (4)
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | gtk-warning removed |
---|
comment:2 Changed 11 years ago by john@…
Hi Ryan,
I have xorg-server. I just reinstalled that from MacPorts. It may not have been installed before. Now after restarting, the error is totally different.
I'm not sure if / how to set my Display variable to that server. I may have missed a step here. Now that xorg-server is installed, what else do I need to do?
Thanks so much!
comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Run echo $DISPLAY
to see what your DISPLAY variable is set to. If the value does not include the string "org.macports", then install the xinit port, and follow the instructions it prints after installation.
comment:4 Changed 5 months ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
Which X server are you using, or wanting to use? (xorg-server port in MacPorts? Xquartz?) Is the DISPLAY environment variable set up correctly for that X server?