免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1460 | 回复: 6
打印 上一主题 下一主题

startx时这种提示表示什么?(以解决) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-11-25 07:43 |只看该作者 |倒序浏览
startx时,控制台提示:
xauthargv):1:bad display name "liue:0" in "list" command
xauthstdin):1:bad display name "liue:0" ins "add" command

看不懂这是什么意思?x可以正常起动。
谢谢。

[ 本帖最后由 liuyishao 于 2005-11-25 12:25 编辑 ]

论坛徽章:
2
技术图书徽章
日期:2013-09-04 15:21:51酉鸡
日期:2013-11-01 21:20:20
2 [报告]
发表于 2005-11-25 09:48 |只看该作者
机器名有问题吧?是不是和IP对应不上

论坛徽章:
0
3 [报告]
发表于 2005-11-25 09:52 |只看该作者
你试试unset DISPLAY后再startx

论坛徽章:
0
4 [报告]
发表于 2005-11-25 11:53 |只看该作者
网上搜索了一下,有人说是因为没有把主机名加入到/etc/hosts 中,并且我以前用gnmoe时,也会提示让我把主机名加入到/etc/hosts中,我想可能这个是主要原因,我想请问应该用什么格式将它加入/etc/hosts中?谢谢。

论坛徽章:
0
5 [报告]
发表于 2005-11-25 12:03 |只看该作者
If a network card is not going to be configured, create the /etc/hosts file by running:

cat > /etc/hosts << "EOF"
# Begin /etc/hosts (no network card version)

127.0.0.1 www.mydomain.com <value of HOSTNAME> localhost

# End /etc/hosts (no network card version)
EOF

If a network card is to be configured, create the /etc/hosts file by running:

cat > /etc/hosts << "EOF"
# Begin /etc/hosts (network card version)

127.0.0.1 localhost.localdomain localhost
192.168.1.1 www.mydomain.org <value of HOSTNAME>

# End /etc/hosts (network card version)
EOF


我使用的是宽带路由器,ip是自动分配的,域名不知道该怎么写?请兄弟们指点下。

论坛徽章:
0
6 [报告]
发表于 2005-11-25 12:05 |只看该作者
这是我的/etc/hosts:
::1                     localhost localhost.my.domain
127.0.0.1               localhost localhost.my.domain

论坛徽章:
0
7 [报告]
发表于 2005-11-25 12:24 |只看该作者
已经解决。谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP