我尝试在 Mac 上远程运行 virt-manager,但遇到了问题。我在 HP 服务器上使用 redhat 7.2。我在 sshd 文件中进行了以下设置:
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost no
在我使用 ssh 之前,我在终端窗口中运行以下命令:
jdurkin$ ssh -X [email protected]
jdurkin$ export DISPLAY=localhost:0.0
我确实收到了这些警告信息:
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding.
我已经尝试了 -X 和 -Y。
我输入 virt-manager 后什么也没有发生:
[root@Master1 ~]# virt-manager
[root@Master1 ~]#
然后,会弹出以下消息:
[root@Master1 ~]# virt-manager
[root@Master1 ~]# ** (virt-manager:25536): WARNING **: Could not open X display
(virt-manager:25536): Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
(virt-manager:25536): Gtk-CRITICAL **: _gtk_settings_get_style_cascade: assertion 'GTK_IS_SETTINGS (settings)' failed
(virt-manager:25536): Gtk-CRITICAL **: _gtk_style_provider_private_lookup: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed
(virt-manager:25536): Gtk-CRITICAL **: _gtk_css_lookup_resolve: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed
(virt-manager:25536): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == >K_CSS_VALUE_RGBA' failed
(virt-manager:25536): Gtk-CRITICAL **: _gtk_style_provider_private_lookup: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed
(virt-manager:25536): Gtk-CRITICAL **: _gtk_css_lookup_resolve: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed
(virt-manager:25536): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == >K_CSS_VALUE_RGBA' failed
(virt-manager:25536): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == >K_CSS_VALUE_RGBA' failed
(virt-manager:25536): Gtk-CRITICAL **: _gtk_css_rgba_value_get_rgba: assertion 'rgba->class == >K_CSS_VALUE_RGBA' failed
我不知道还能尝试什么。
谢谢,
吉姆