Red Hat Bugzilla – Bug 138621
X11 problem running system-config-display over ssh
Last modified: 2007-11-30 17:10:54 EST
Description of problem:
[root@computer ~]# system-config-display
The program 'system-config-display' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 66 error_code 3 request_code 25 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()
Version-Release number of selected component (if applicable):
1. log in as root using ssh:
ssh localhost -X -C -l root
try to run: system-config-display
does not work
works well if i start system-config-display as a non root user and
give the root password when asked.
seems to work if i use:
ssh localhost -Y -C -l root
-Y instead of -X
this can be closed, if nothing other of interest is found.
This is documented in the release notes:
"The behavior of ssh clients that are invoked with the -X flag has
In OpenSSH 3.8 and later, X11 forwarding is performed in a way that
applications run as untrusted clients by default. Previously, X11
forwarding was performed so that applications always ran as trusted
clients. Some applications may not function properly when run as
untrusted clients. To forward X11 so that applications are run as
trusted clients, invoke ssh with the -Y flag instead of the -X flag,
or set ForwardX11Trusted in the ~/.ssh/config file."