I have a box running a fresh install of Fedora 15. I've installed TigerVNC server on it and client on my windows machine.
I've done this:
vi /etc/sysconfig/iptables
(added) -A INPUT -m state --state NET -m tcp -p tcp --dport 5900 -j ACCEPT
service iptables restart [OK]
then
vi /etc/sysconfig/vncservers
(added) VNCSERVER="1:UNAME"
VNCSERVERARGS[1]="-geometry 1024x768"
then i try to start the server:
service vncserver start [failed]
Job failed. See bla bla for details
(mentions some files i have no idea to find)
Could anyone please cook together a complete step by step and how a n00b could get remote desktop connection, terminal is so hard :D
-thanks!
iptables -nvL:
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
173 12044 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22
1518 85858 REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:5900
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT 1613 packets, 146K bytes)
pkts bytes target prot opt in out source destination``
systemctl:
vncserver.service loaded failed failed LSB: start|stop|restart|try-restart|status|force-reload vncserver
iptables -nvL) And copy-paste the full error messages. – Gilles Jun 3 '11 at 19:38