出现如下错误
[root@VM_46_75_centos ~]# gedit
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
(gedit:2054): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common'
(gedit:2054): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='latin'
(gedit:2054): Gdk-WARNING **: gedit: Fatal IO error 11 (Resource temporarily unavailable) on X server localhost:10.0.
解决办法
yum install xorg-x11-font*
出现如下错误:
The remote SSH server rejected an X11 forwarding request.
解决办法
编辑 /etc/ssh/sshd_config
设置 X11Forwarding yes
yum install xorg-x11-xauth