Cannot open gnome-control-center over ssh: cc_shell_model_set_panel_visibility: assertion failed: (valid)
gnome-control-center cannot be opened over a ssh connection. Since various system-wide settings can be configured by it thats quite a sysadmin annoyance.
Steps to reproduce:
$ ssh -Y remotename
$ gnome-control-center
**
ERROR:../shell/cc-shell-model.c:458:cc_shell_model_set_panel_visibility: assertion failed: (valid)
Bail out! ERROR:../shell/cc-shell-model.c:458:cc_shell_model_set_panel_visibility: assertion failed: (valid)
Aborted (core dumped)
I'm using Fedora 31 with gnome-control-center-3.34.2-1.fc31.x86_64
See also https://askubuntu.com/questions/1209173/gnome-control-center-sharing-over-ssh-core-dumped
Edited by Andre Klapper