更改hostname为dns.xy7823.com后vnc无法进入图形界面, 重启vncserver :1提示:
xauth: (stdin):1: bad display name "dns.xy7823.com:1" in "add" command
解决:在/etc/hosts中加入: 10.8.18.211 dns.xy7823.com dns
本文解决了更改hostname后VNC无法进入图形界面的问题。通过在/etc/hosts文件中添加新的hostname映射,修复了错误提示并成功重启VNC服务。
更改hostname为dns.xy7823.com后vnc无法进入图形界面, 重启vncserver :1提示:
xauth: (stdin):1: bad display name "dns.xy7823.com:1" in "add" command
解决:在/etc/hosts中加入: 10.8.18.211 dns.xy7823.com dns
4042
5785
2479

被折叠的 条评论
为什么被折叠?