OS VERSION:redhat 7
问题:
[root@test2 ~]# firewall-config
(firewall-config:806): Gtk-WARNING **: cannot open display:
解决方法:
cat /etc/ssh/sshd_config
X11Forwarding yes
在配置文件里添加上ForwardX11Trusted yes后,重新ssh,图形界面仍然无法出来,可能配置文件没有生效
man ssh
-Y Enables trusted X11 forwarding. Trusted X11 forwardings are not subjected to the X11 SECURITY extension controls.
[root@test1 ~]# ssh -Y test2
然后再执行firewall-config出来图形界面