centos5.5启动eclipse报错Gtk-WARNING **: cannot open display: :0.0
来源:互联网 发布:linux smp 中断 编辑:程序博客网 时间:2024/06/04 08:46
通过yum install eclipse*安装了eclipse,
执行eclipse报错:
Gtk-WARNING **: cannot open display: :0.0
原因是没有可用的xwindow. 可能服务器已有应用占用了xwindow
解决方法,可在PC上安装cygwin/X11(xinit和xorg-server)
然后启动PC上的xserver: startxwin
iefreer@iefreer-THINK /usr/bin$ startxwinWelcome to the XWin X ServerVendor: The Cygwin/X ProjectRelease: 1.13.0.0OS: CYGWIN_NT-6.1 iefreer-THINK 1.7.17(0.262/5/3) 2012-10-19 14:39 i686OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (Win32)Package: version 1.13.0-1 built 2012-09-06XWin was started with the following command line:X :0 -multiwindow
然后在centos服务器上设置DISPLAY到PC上的XWindow
export DISPLAY:192.168.1.87:0.0 (假设你的PC IP地址为192.168.1.87)
最后启动eclipse, 如报错服务器拒绝连接, 需要在PC上执行如下命令把eclipse所在的主机添加到XWindow的访问列表中:
xhost + 192.168.1.152 (your centos ip)
iefreer
- centos5.5启动eclipse报错Gtk-WARNING **: cannot open display: :0.0
- Gtk-WARNING **: cannot open display: :0.0
- Gtk-WARNING **: cannot open display: :0.0之解决
- Gtk-WARNING **: cannot open display: :0.0的问题
- sudo gedit 错误:Gtk-WARNING **: cannot open display: :0.0
- wireshark:7116): Gtk-WARNING **: cannot open display: :0.0解决方法
- (gedit:14333): Gtk-WARNING **: cannot open display: :0.0
- Gtk-WARNING **: cannot open display问题的解决
- git push 提示Gtk-WARNING **: cannot open display:
- Gtk-WARNING **: cannot open display问题的解决
- (gnome-ssh-askpass:24029): Gtk-WARNING **: cannot open display:
- 使用gedit出现No protocol specified (gedit:14333): Gtk-WARNING **: cannot open display: :0.0
- git clone时报错Initialized empty Git repository in: Gtk-WARNING **: cannot open display:
- FreeBSD启动gnome报错:cannot open display
- Gtk-WARNING : cannot open display----这个问题在NVIDIA TX2上碰到过就是DISPLAY=":0"
- 【备忘】Debian打开wireshark出现Gtk-WARNING **: cannot open display: :0解决方案
- linux git 错误403 Forbidden while accessing和Gtk-WARNING **: cannot open display:
- PC终端执行开发板上的图形界面程序时出错:Gtk-WARNING **: cannot open display:
- 设计模式 之 STATE(状态)实例 —对象行为型模式
- 置顶问题
- 动态执行带参数的sql语句,适用于sql server
- Java多线程同步Synchronized使用分析
- (译)在cocos2d里面如何使用Texture Packer和像素格式来优化spritesheet
- centos5.5启动eclipse报错Gtk-WARNING **: cannot open display: :0.0
- Oracle11.2 使用dbca在ASM存储上建库遇到 ORA-12547
- iPhone 5手机首发疲软
- request.getParameter()与request.setAttribute()的区别
- (译)在cocos2d里面如何使用Texture Packer和像素格式来优化spritesheet
- 让没有晶振的生活成为可能——UFM.[CPLD]
- 2 天内 iOS 版 Google Maps 下载量超过 1000 万次
- Java SSH远程执行Shell脚本实现
- iOS News Reader开源项目