LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1104|回复: 4

debian下安装matlab 跟 永中office vi 出现的问题

[复制链接]
发表于 2006-5-30 21:13:13 | 显示全部楼层 |阅读模式
永中office
debian:/home/jaffson/EIOffice2004_For_Linux# ./setup
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


Gtk-WARNING **: cannot open display: :0.0
debian:/home/jaffson/EIOffice2004_For_Linux#

matlab的:
debian:/mnt/iso# ./install
-------------------------------------------------------------------

    An error status was returned by the program 'xsetup',
    the X Window System version of 'install'. The following
    messages were written to standard error:

        Xlib: connection to ":0.0" refused by server
        Xlib: No protocol specified

        Can't open display.

    Attempt to fix the problem and try again. If X is not available
    or 'xsetup' cannot be made to work then try the terminal
    version of 'install' using the command:

            install* -t    or    INSTALL* -t

-------------------------------------------------------------------

    Sorry! Setup aborted . . .

debian:/mnt/iso#
好象是权限的问题,不知道大侠有没解决方法??
并且vi 在根用户下好象也有点问题:
debian:/mnt/iso# vi /etc/apt/sources.list
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specifie
debian:/mnt/iso#
发表于 2006-5-30 21:56:04 | 显示全部楼层
你是在黑嘿的屏幕下执行这些操作的还是在Xterm下进行的?
回复 支持 反对

使用道具 举报

发表于 2006-5-30 22:01:03 | 显示全部楼层
应该是权限问题
终端里运行xhost +local:试试
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-5-30 23:08:37 | 显示全部楼层
我是在Xterm下执行的,好象是权限问题,但在根用户下执行xhost +local一点都没用,而在非根用户下执行完后vi就不就不会出现那个提示了。
回复 支持 反对

使用道具 举报

发表于 2006-6-1 01:24:03 | 显示全部楼层
我的也是这样的
不过碰到这种情况我就用
sudo来弄
普通用户不会这样
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表