davmail icon indicating copy to clipboard operation
davmail copied to clipboard

"BadWindow (invalid Window parameter)" error when trying to use O365Interactive over ssh/X11 connection

Open esabol opened this issue 2 years ago • 0 comments

I can ssh into a computer using PIV, but when I try to start davmail (tested with 6.0.1 as well as some older versions) with it configured to use O365Interactive (and with the -notray argument), I get the following output:

(java:10985): Gdk-ERROR **: 17:59:47.272: The program 'java' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 0 error_code 3 request_code 149 minor_code 16)
  (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.)

I switched to using O365Manual, and that worked fine. Also, I can start other X11 programs, so it's not an issue with X11 authorization....

Should it be possible to use O365Interactive over a ssh/X11 connection?

The system I'm trying to run davmail on is CentOS 7.9. I think it has JDK 1.8.0_201. My local system where my X11 server is running is a Mac with XQuartz 2.8.1 (xorg-server 1.20.11).

esabol avatar Mar 31 '22 22:03 esabol