在xshell启动hb_gui出错

[root@node1 ~]# hb_gui    
Traceback (most recent call last):    
  File "/usr/bin/hb_gui", line 41, in ?    
    import gtk, gtk.glade, gobject    
  File "/usr/lib64/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 76, in ?    
    _init()    
  File "/usr/lib64/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 64, in _init    
    _gtk.init_check()    
RuntimeError: could not open display

下面我们来说一下,解决方法

hb_gui 启动报错 RuntimeError: could not open display_第1张图片    hb_gui 启动报错 RuntimeError: could not open display_第2张图片


具体步骤如下:File > Properties > SSH > Tunneling > Forward X11 connections to: Xmanager,然后重新启动一下xshell,再进行测试。


详细信息见http://www.linuxidc.com/Linux/2013-08/89167p3.htm



来自为知笔记(Wiz)