[問題]無法登入安裝好的VNC server
昨天在Fedora 10安裝VNC server,然後試著在Win7用VNC viewer遠端登入.
但是卻一直無法登入.
每次都出現:Unable to connect to host:Connection refused (10061)
我有藉由修改/etc/sysconfig/vncservers
把設定調成這個:VNCSERVERS="1:user"
防火牆我有把5901這個port開啟,也就是在iptables加入這一行訊息:
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 5901 -j
ACCEPT
xstartup我的內容如下:
http://photo.xuite.net/sheepu/3914558/7.jpg

我抓網路封包去查看時,
發現只要win7發送TCP要求連線, server就馬上回應Connection reset給我.
然後連線就結束了. 如下圖:
http://photo.xuite.net/sheepu/3914558/6.jpg

我的VNC server版本: 4.1.3-1.fc10
VNC viewer版本: 4.1.3
請問,為什麼VNC server會發送connection reset拒絕我的連線呢?
我需要做什麼樣的修改才能解決這個問題呢?
謝謝指教!
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 180.177.10.191
※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1482890149.A.2C0.html
→
12/28 22:07, , 1F
12/28 22:07, 1F
→
12/29 21:18, , 2F
12/29 21:18, 2F
→
12/29 21:18, , 3F
12/29 21:18, 3F
※ 編輯: newpuli (180.177.10.191), 12/29/2016 21:21:12
→
12/29 21:23, , 4F
12/29 21:23, 4F
→
12/29 21:24, , 5F
12/29 21:24, 5F
→
12/29 21:24, , 6F
12/29 21:24, 6F
→
12/29 21:24, , 7F
12/29 21:24, 7F