vncサービス起動異常|hostname related to SUSE Linux Enterprise Server 11 SP 1(x 86_64)
2303 ワード
に質問
linux:~ # vncserverVNC(R) Server 5.0.5 (r106461)Built on Mar 4 2013 12:57:38Copyright (C) 2002-2013 RealVNC Ltd.VNC is a registered trademark of RealVNC Ltd. in the U.S. and in othercountries.Protected by UK patent 2481870.See http://www.realvnc.com for information on VNC.For third party acknowledgements see:http://www.realvnc.com/products/vnc/documentation/5.0/acknowledgements.txtxauth:(argv):1:bad display name"linux:1"in"add"commandError:could not run xauth検査hostname
linux:~#hostnamelinux修正/etc/hostsファイル
次の構成を確認します.
vncserverの再実行に成功しました
linux:~ # vncserverVNC(R) Server 5.0.5 (r106461)Built on Mar 4 2013 12:57:38Copyright (C) 2002-2013 RealVNC Ltd.VNC is a registered trademark of RealVNC Ltd. in the U.S. and in othercountries.Protected by UK patent 2481870.See http://www.realvnc.com for information on VNC.For third party acknowledgements see:http://www.realvnc.com/products/vnc/documentation/5.0/acknowledgements.txtxauth:(argv):1:bad display name"linux:1"in"add"commandError:could not run xauth検査hostname
linux:~#hostnamelinux修正/etc/hostsファイル
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server.
# Syntax:
#
# IP-Address Full-Qualified-Hostname Short-Hostname
#
127.0.0.1 localhost
#127.0.0.1 feb01.cn.ibm.com
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
9.123.106.155 wplccdlvm310.cn.ibm.com
9.123.115.136 dom65ldap.cn.ibm.com
9.110.183.212 feb01.cn.ibm.com
9.110.183.212 linux.site linux
次の構成を確認します.
feb01:~ # cat /proc/sys/kernel/hostname
linux
feb01:~ # hostname
linux
feb01:~ # uname
Linux
vncserverの再実行に成功しました
linux:~ # vncserver
VNC(R) Server 5.0.5 (r106461)
Built on Mar 4 2013 12:57:38
Copyright (C) 2002-2013 RealVNC Ltd.
VNC is a registered trademark of RealVNC Ltd. in the U.S. and in other
countries.
Protected by UK patent 2481870.
See http://www.realvnc.com for information on VNC.
For third party acknowledgements see:
http://www.realvnc.com/products/vnc/documentation/5.0/acknowledgements.txt
Running applications in /root/.vnc/xstartup
VNC Server signature: 47-d5-a4-96-38-70-d6-16
Log file is /root/.vnc/linux:3.log
New desktop is linux:3 (9.110.183.212:3)