title: Open port 5900 via the command line?
body: <p>I am running Fedora 18 with KDE.  I opened port 5900 via the GUI yesterday and was using VNC just fine, but then tried to open the port for SMTP via a couple of different methods and now the VNC connection is "closing unexpectedly."</p>
  
  <p>That's a vague error but I'm thinking it is a firewall issue.  The problem is that I don't have any graphical way to access the firewall now, just via ssh.  I tried adding an IPTABLES line, <code>iptables -A INPUT -p tcp --dport 5900 -j ACCEPT</code>, but that didn't seem to make a difference and when I tried <code>iptables --List</code> there was nothing that appeared to be about port 5900. Did I do the iptables line wrong?  Should it be OUTPUT instead of INPUT? <code>-I</code> instead of <code>-A</code>?  udp instead of tcp?</p>
  
  <p>I would also like to know why "<code>iptables --List</code>" did not seem to have anything about port 5900 in it.  Is it possible that Fedora 18 no longer uses iptables?</p>
  
  <p>Anyone have suggestions?  It's been hours since I've had no GUI access and I'm getting desperate...  :-)</p>