Tag Archives: could not open display

Unable to initialize GTK: could not open display

When using virt manager to install KVM virtual machine, an error will be reported and the prompt will be displayed

Unable to initialize GTK: could not open display

The log shows:

WARNING! The remote SSH server rejected X11 forwarding request.

Solution:
Yum - y install xorg-x11-xauth
log out of xshell, log in again, and then call virt manager