vnc xauth: (stdin):1: bad display name ,域名解析问题

vnc xauth: (stdin):1: bad display name

1.[root@host144 ~]# /etc/init.d/vncserver restart
2. Shutting down VNC server: 1:root 2:oracle [ OK ]
3. Starting VNC server: 1:root xauth: (stdin):1: bad display name “host144:1” in “add” command
4.

5. New ‘host144:1 (root)’ desktop is host144:1
6.

7. Starting applications specified in /root/.vnc/xstartup
8. Log file is /root/.vnc/host144:1.log
9.

10. 2:oracle xauth: (stdin):1: bad display name “host144:2” in “add” command
11.

12. New ‘host144:2 (oracle)’ desktop is host144:2
13.

14. Starting applications specified in /home/oracle/.vnc/xstartup
15. Log file is /home/oracle/.vnc/host144:2.log
16.

17. [ OK ]
解决方法:

1.[root@host144 .vnc]# cat /etc/hosts
2. 127.0.0.1 host144 localhost.localdomain localhost
3. 10.0.127.144 host144

本人提供服务器技术维护服务,需要者联系

发表回复

您的电子邮箱地址不会被公开。