On 2 Mar 2014 at 13:38, Patrick Dupre wrote: Date sent: Sun, 02 Mar 2014 13:38:32 +0100 From: "Patrick Dupre" <pdupre@xxxxxxx> Subject: vncviewer To: "Community support for Fedora users" <users@xxxxxxxxxxxxxxxxxxxxxxx> > Hello, > > When I try to connect to a fedora 20 machine (192.168.1.101) through > vncviewer (both machine are on the same lan), I get TigerVNC Viewer > for X version 1.1.0 - built Nov 22 2011 14:21:13 Copyright (C) > 1999-2011 TigerVNC Team and many others (see README.txt) See > http://www.tigervnc.org for information on TigerVNC. > > Sun Mar 2 13:34:17 2014 > main: unable connect to socket: No route to host (113) > I've been using vncserver and version since at least Fedora Core 3, and currently have it running on Fedora 20 in my classroom. Here are the results I see in the firewall setup I have and I start it via rc.local, but have used the systemctl option with 16, 17, and 18 in the past, but ran into some issue with 20. Contents of /etc/firewalld/services/vnc-server.xml <?xml version="1.0" encoding="utf-8"?> <service> <short>Virtual Network Computing Server (VNC)</short> <description>A VNC server provides an external accessible X session. Enable this option if you plan to provide a VNC server with direct access. The access will be possible for displays :0 to :3. If you plan to provide access with SSH, do not open this option and use the via option of the VNC viewer.</description> <port protocol="tcp" port="5900-5979"/> </service> Contents of /etc/firewalld/zones/public.xml <?xml version="1.0" encoding="utf-8"?> <zone> <short>Public</short> <description>For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted.</description> <service name="ftp"/> <service name="mdns"/> <service name="vnc-server"/> <service name="dhcpv6-client"/> <service name="ssh"/> <port protocol="tcp" port="9000-9001"/> <port protocol="tcp" port="5979"/> <port protocol="udp" port="9000-9001"/> </zone> I start up the vncserver via /etc/rc.d/rc.local USERNAME is my ID, and here I use port :79 which is 5979 runuser -l USERNAME -c 'vncserver :79 -geometry 1280x1024' In the past I had used the systemctl option to set it up, but it was more complex, and with Fedora 20 it wouldn't restart like it would in previous version, so this is what I have found works best for me. I have also used stunnel in the past on other machines that were accessed from outside to do the secure connections. The ports 9000-9001 are for udpcast. > > > ====================================================================== > ===== > Patrick DUPRÉ | | > email: pdupre@xxxxxxx Laboratoire de Physico-Chimie de l'Atmosphère > | | Université du Littoral-Côte d'Opale | | Tel. > (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 > 82 44 189A, avenue Maurice Schumann | | 59140 > Dunkerque, France > ====================================================================== > ===== -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To > unsubscribe or change subscription options: > https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of > Conduct: http://fedoraproject.org/code-of-conduct Guidelines: > http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? > Ask away: http://ask.fedoraproject.org +----------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor Guam Community College Computer Center mailto:mikes@xxxxxxxxxxxxxxxx mailto:msetzerii@xxxxxxxxx http://www.guam.net/home/mikes Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +----------------------------------------------------------+ http://setiathome.berkeley.edu (Original) Number of Seti Units Returned: 19,471 Processing time: 32 years, 290 days, 12 hours, 58 minutes (Total Hours: 287,489) BOINC@HOME CREDITS ROSETTA 11967029.746084 | SETI 20406400.687492 ABC 16613838.513356 | EINSTEIN 18415638.667648 -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org