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 added -A INPUT -m state --state NET -m tcp -p tcp --dport 5900 -j ACCEPT to /etc/sysconfig/iptables
then, added to /etc/sysconfig/vncservers:
VNCSERVER="1:UNAME"
VNCSERVERARGS[1]="-geometry 1024x768"
then I try to start the server, but I get job failed. See bla bla for details ((mentions some files i have no idea to find))
What am I doing wrong?
-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.