Labels: putty
Sometimes the following error occurs when you open a graphical management tool in a graphical terminal such as Putty:
[[Email protected] ~] # Traceback (most recent call last ):
File "/usr/share/virt-Manager/virt-manager.py", line 383, in <module>
Main ()
File "/usr/share/virt-Manager/virt-manager.py", line 286, in Main
Raise gtk_error
Runtimeerror: cocould not open display
Therefore, the graphic tool is opened on putty after the final modification is found. Record the operation process here.
Open the putty terminal and follow the steps above to enter
Select enable X11 forwading
Go to http://sourceforge.net/projects/xming/files/latest/downloadto download xmingand install it. After the installation is complete, run xming and follow the steps above. Run the following command if the graphical tool cannot be displayed:
[[Email protected] ~] # Yum install xorg-x11-xinit xorg-x11-proto-devel xorg-x11-server-utils xorg-x11-drv-ati-firmware xorg-x11-xauth
Connect again and you will find that the Graphic Language tool has displayed OK