When I do \"ssh -X abcserver\", I got message \"X11 forwarding request failed on channel 0\". I checked online and it was suggested to solve it by swit
ssh -X abcserver
X11 forwarding request failed on channel 0
1.make sure that during ssh -X root@server you have root permission.
ssh -X root@server
2.update the /etc/ssh/sshd_config and make sure this line is uncommented
/etc/ssh/sshd_config
X11Forwarding yes
3.systemctl restart sshd
systemctl restart sshd
4.exit from server
5.ssh -X root@server
6.virt-manager
virt-manager