LinuxSir.cn,穿越时空的Linuxsir!

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

惨了,进不去X server

[复制链接]
发表于 2006-9-1 18:54:28 | 显示全部楼层 |阅读模式
今天用了apt-get dist-upgrade,然后重启,就进不去了,出现如下 的错误
zwp@zwp:~$startx
hostname:unknown host
xauth:creating new authority file /home/zwp/.serverauth.1170
xauthargv):1:bad display name "zhowweipeng.example.com:0" in "list " command
xauthstdin):1:bad display name "zhowweipeng.example.com:0" in "add " command
giving up.
xinit:connection refused(error 111):unable to connect to X server
xinit:No such process:Server error
xauthargv):1:bad display name"zhouweipeng.example.com:0" in "remove " command
好像是我的zhouweipeng.example.com:这个域名不存在了,用ROOT也进不去,请帮忙解答,不会要重装吧.
发表于 2006-9-1 20:33:14 | 显示全部楼层
应该检查/etc/hostname和/etc/hosts两个文件,里面主机名是否对应。
这个问题倒是第一次看到,但好像跟权限有关。
回复 支持 反对

使用道具 举报

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

本版积分规则

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