创建一个PostgreSQL数据库后,不能用pgaccess操作。
xxmm 2002-04-13 10:38:47 安装了PostgreSQL后,初始化数据,创建 mydb 数据库,准备用pgaccess操作,但是出现下列问题。
data pgaccess mydb
Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server
Application initialization failed: couldn't connect to display ":0"
Error in startup script: invalid command name "image"
while executing "image create bitmap dnarw -{
#define down_arrow_width 15
#define down_arrow_height 15
static char down_arrow_bits[] = {
0x00,0x80,0x00,0x80,0x0..."
(file "/usr/share/pgsql/pgaccess/main.tcl" line 5)
不太明白DISPLAY=<hostname>:0.0
里的0.0两个表示什么?端口号?那后面一个零表示什么?