Hi,

I have an app that wants to create a text window in another session (to 
communicate an event to a user). zenity seems like the best tool for 
this purpose these days.

However, even if I open up Xsecurity from the remote session to my app, 
using the --display option with zenity doesn't work. No errors, just 
fails to perform the specified operation.

OTOH, if I add DBUS_SESSION_BUS_ADDRESS and WINDOWID from the target 
session into zenity's environment it works.

Is this just a bug in zenity, or have we created a DBUS dependency that 
makes this sort of operation impossible for gnome apps?

I find the same problem with gnome-terminal, if I set DISPLAY in its 
environment that's insufficient unless I also add the above environment 
variables. It also seems to think it's working while it is not.

Oddly, xterm works (although it generates warnings similar to 
gnome-terminal - zenity generates no warnings at all).

Any clues? What's the expected behavior here?

This is with the release repo. I've not tested this against the dev repo 
because of build 109 instability issues (can't boot the BE after 
image-update - I've seen multiple reports of this so presumably it's a 
known issue).

Thanks,
  Bob


Reply via email to