报错现象如下:
pot@localhost ssh] Unable to init server:无法连接:拒绝连接
able to init server: 无法连接:拒绝连接
able to init server: 无法连接:拒绝连接
virt-manager 4536):Gtk-WARNING **17:08:06.429:cannot open display:
解决方案
安装xorg-x11-xauth包
sshd_config最后添加如下行
AddressFamily inet
AllowTcpForwarding yes
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes