Bug#257053: I can reproduce this with "double remote" DISPLAYs
Ralph Aichinger
Ralph Aichinger <ralph@mail.pangea.at>, 257053@bugs.debian.org
Tue, 14 Dec 2004 20:41:05 +0100
I can reproduce that bug in the following circumstances:
I always log in remotely via XDMCP (using gdm) and zenity
works fine if I send dialogs to the terminal I logged in
from.
If I want to send dialogs to different DISPLAYs, i.e. neither
the one I am logged in from, nor the one local to the headless
machine zenity runs on, I get exactly this error:
ralph@silver:~$ zenity --error blah
(zenity:25740): Gtk-WARNING **: Invalid icon size -1
ralph@silver:~$ export DISPLAY=monk:0
ralph@silver:~$ zenity --error blah
(zenity:25744): Gtk-WARNING **: Invalid icon size -1
The program 'zenity' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 177 error_code 3 request_code 20 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error()
function.)
ralph@silver:~$
I checked with xeyes that I can send other clients to the second
display. Works.
Local zenity seemingly also works, and the warning about the
invalid icon size can easily gotten rid of by using
zenity --error --window-icon=/usr/share/pixmaps/cdeappmenu.png
or something similar.
For me this bug persists in xterm as well as in gnome-terminal.
It makes zenity basically useless for me (I want to use it to
send nasty messages before logging people out, and sending these
messages only to myself somewhat defeats the purpose ; )
Thanks for your work on this package, and feel free to ask me
for further clarification.
/ralph
--
Ralph Aichinger <ralph@mail.pangea.at>