Ubuntu升级后VNC4Server不能用了

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
wangmm
帖子: 1
注册时间: 2006-07-04 16:17

Ubuntu升级后VNC4Server不能用了

#1

帖子 wangmm » 2006-11-28 17:37

升级到最新的edgy后,VNC4Server就不能使用了,每一次连接,在log里面都报告:



localhost xinetd[12083]: warning: can't get client address: Transport endpoint is not connected

烦请有经验者给看一看原因所在。
系统信息如下:
netstat -ant|grep LISTEN
--------------------------------------------------

tcp 0 0 0.0.0.0:902 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN


ps -aux|grep vnc
---------------------------------------------------
root 18219 0.0 0.0 6000 796 ? Rs 17:27 0:00 Xvnc -inetd :1 -query localhost -geometry 1024x768 -depth 16 -once -fp /usr/share/X11/fonts/misc -DisconnectClients=0 -NeverShared passwordFile=/root/.vncpasswd

cat /etc/xinetd.d/Xvnc
---------------------------------------------------
service Xvnc
{
type = UNLISTED
disable = no
socket_type = stream
protocol = tcp
wait = yes
user = root
server = /usr/bin/Xvnc
server_args = -inetd :1 -query localhost -geometry 1024x768 -depth 16 -once -fp /usr/share/X11/fonts/misc -DisconnectClients=0 -NeverShared passwordFile=/root/.vncpasswd
port = 5901
}
回复