#996827 gnome-control-center --display=$DISPLAY doesn't work

Package:
gnome-control-center
Source:
gnome-control-center
Description:
utilities to configure the GNOME desktop
Submitter:
Pascal J . Bourguignon
Date:
2021-10-19 12:06:03 UTC
Severity:
important
Tags:
#996827#5
Date:
2021-10-19 12:02:45 UTC
From:
To:
Dear Maintainer,


   * What led up to the situation?
ssh -X -Y debian

from a macOS terminal with DISPLAY=org.xquartz:0
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
gnome-control-center --display=$DISPLAY

with: DISPLAY=localhost:11.0
   * What was the outcome of this action?
13:51[pjb@qorvo localhost:11.0 ~ 716G]$ gnome-control-center --display=$DISPLAY
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast

(gnome-control-center:101048): Gdk-ERROR **: 13:52:03.754: The program 'gnome-control-center' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 175 error_code 2 request_code 149 (GLX) minor_code 24)
  (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 GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Trace/breakpoint trap (core dumped)

~
13:52[pjb@qorvo localhost:11.0 ~ 716G]$
   * What outcome did you expect instead?
I expected gnome-control-center to display its window on my X11 server.