GNOME Bugzilla – Bug 157147
per display registration fails if DISPLAY env is not complete
Last modified: 2008-09-25 18:34:50 UTC
In a xterm if I set DISPLAY=:0 * I am able to start 2 instances of gedit * When I start 2 instances of gnome-terminal then 2 process of gnome-terminal is running. The above is not the case when the DISPLAY is set to :0.0
this is a gedit bug then - it's necessary to canonicalise the display first I think; and/or there may be a libbonobui method that does that for you - I forget the details.
I have fixed this problem in gedit, but I think it is still present in gnome-terminal. So I'm going to change the product to gnome-terminal.
Paolo, could you comment on how you fixed it?
This is obsolete now that we use dbus for the single instance code, with one instance per bus not one per display. I checked and we do use the same method as gedit to get from a display name in the client to the GdkDisplay in the factory process. Closing.