创建一个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两个表示什么?端口号?那后面一个零表示什么?
...全文
46 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
xxmm 2002-04-13
  • 打赏
  • 举报
回复
安装了PostgreSQL后,初始化数据,创建 mydb 数据库,准备用pgaccess操作,但是出现下列问题。


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 -data {
#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两个表示什么?端口号?那后面一个零表示什么?

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧