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

yeahokay發表於2008-08-21
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/,如需轉載,請註明出處,否則將追究法律責任。

相關文章