ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Xlib: connection to ":0.0" refused by server(openSUSE)

Xlib: connection to ":0.0" refused by server(openSUSE)

原创 Linux操作系统 作者:yeahokay 时间:2008-08-21 17:29:23 0 删除 编辑
If you get error messages like this
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xhost:  unable to open display ":0.0"

when running a program, you probably need to add the user to the X server access list.

You can add a user to the X server access list with

# xhost +local:username

This allows "username" to connect to the local running X server.

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/786540/viewspace-1009276/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
  • 博文量
    140
  • 访问量
    1098624