Unable to initialize GTK: could not open display

在使用virt-manager安裝kvm虛擬機的時候,啓動報錯,提示

Unable to initialize GTK: could not open display

查看日誌顯示:

WARNING! The remote SSH server rejected X11 forwarding request.

解決辦法:
yum -y install xorg-x11-xauth
退出xshell後從新登錄,然後再調用virt-manager即可

本文出自 “IT人生” 博客,請務必保留此出處http://sky888.blog.51cto.com/2539714/1875456
發佈了128 篇原創文章 · 獲贊 34 · 訪問量 22萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章