Saya menjalankan virt-manager
di RHEL 7.0
, tetapi selalu menampilkan " Gtk couldn't be initialized
":
[root@dhb5 ~]# virt-manager --debug --nofork
2015-08-17 03:21:09,895 (cliutils:75): virt-manager startup
2015-08-17 03:21:09,895 (virt-manager:201): Launched as: ['/usr/share/virt-manager/virt-manager', '--debug', '--nofork']
2015-08-17 03:21:09,896 (virt-manager:202): virt-manager version: 0.10.0
2015-08-17 03:21:09,896 (virt-manager:203): virtManager import: <module 'virtManager' from '/usr/share/virt-manager/virtManager/__init__.pyc'>
** (virt-manager:10141): WARNING **: Could not open X display
2015-08-17 03:21:09,957 (virt-manager:246): Traceback (most recent call last):
File "/usr/share/virt-manager/virt-manager", line 233, in main
Gtk.Window()
File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 416, in __init__
raise RuntimeError("Gtk couldn't be initialized")
RuntimeError: Gtk couldn't be initialized
Gtk couldn't be initialized
Dan itu X11
konfigurasi terkait di /etc/ssh/sshd_config
seperti ini:
[root@dhb5 ~]# grep -i x11 /etc/ssh/sshd_config
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
Saya mencoba banyak posting Google, dan tidak dapat menemukan jawaban untuk pertanyaan saya. Adakah yang bisa memberikan petunjuk tentang masalah ini?