Find the answer to your Linux question:
Results 1 to 10 of 10
i have installed fedora 14 on 2 computer but i can't remote desktop each other to easy when i do my work... this is the output... img708.imageshack.us/img708/6596/screenshot1bc.png and this is ...
  1. #1
    Just Joined! supermanisdeady's Avatar
    Join Date
    Dec 2010
    Posts
    33

    Post vncviewer problem on fedora 14

    i have installed fedora 14 on 2 computer but i can't remote desktop each other to easy when i do my work...
    this is the output...
    img708.imageshack.us/img708/6596/screenshot1bc.png

    and this is my config... it's both same...

    img832.imageshack.us/img832/8577/screenshot2wl.png

    My Question is, why i can't connected and what is the problem behind this? or i must set custom firewall on my fedora, because i'm success when try with 2 pc with ubuntu why this is can't? and the result is similar when i try to remote fedora pc with ubuntu

    guys... help me...

    sorry i can't direct show the image to you all, caused like i must post min 15

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    The error is stating No route to host (113). So can you ping this ip address?
    Check to see if the firewall is up and running on this device. If it is disable it and try to connect again.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Just Joined! supermanisdeady's Avatar
    Join Date
    Dec 2010
    Posts
    33
    Quote Originally Posted by Lazydog View Post
    The error is stating No route to host (113). So can you ping this ip address?
    Check to see if the firewall is up and running on this device. If it is disable it and try to connect again.
    yes ofcourse i can ping the ip address pc two...
    so which way so i can disable the firewall setting related with port that used in the vncviewer?

  4. #4
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    First we need to check if the VNC Server is running with;
    Code:
    service vncserver status
    If it isn't running then start it and try to connect again. If you still cannot connect the next step would be to check if the firewall is running with;

    Code:
    service iptbales status
    If it is running you can shut it off for testing and then try to connect again.

    To stop it use;

    Code:
    service iptables stop
    And you can restart it by replacing stop with start.

    The port you need to open is 5900. How this is configured on your system depends on how your firewall is setup. RH likes to do some funky firewall setup with is useless and serve only to confuse the beginners.

    Post your firewall setting from /etc/sysconfig/iptbales and I could tell you what needs to be setup.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  5. #5
    Just Joined! supermanisdeady's Avatar
    Join Date
    Dec 2010
    Posts
    33
    when i check the vncserver run or not :
    [root@masdeddy ~]# service vncserver status
    vncserver: unrecognized service
    and then i try to ping :
    [root@masdeddy ~]# ping 192.168.1.3
    PING 192.168.1.3 (192.168.1.3) 56(84) bytes of data.
    64 bytes from 192.168.1.3: icmp_req=1 ttl=64 time=1.38 ms
    64 bytes from 192.168.1.3: icmp_req=2 ttl=64 time=0.262 ms
    64 bytes from 192.168.1.3: icmp_req=3 ttl=64 time=0.247 ms
    64 bytes from 192.168.1.3: icmp_req=4 ttl=64 time=0.258 ms
    ^C
    --- 192.168.1.3 ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 3002ms
    rtt min/avg/max/mdev = 0.247/0.537/1.382/0.488 ms
    so while I conclude no problem on the connection between computer
    then i checked the iptables...
    [root@masdeddy ~]# service iptables status
    Table: filter
    Chain INPUT (policy ACCEPT)
    num target prot opt source destination
    1 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
    2 ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0
    3 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
    4 ACCEPT udp -- 0.0.0.0/0 224.0.0.251 state NEW udp dpt:5353
    5 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited

    Chain FORWARD (policy ACCEPT)
    num target prot opt source destination
    1 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited

    Chain OUTPUT (policy ACCEPT)
    num target prot opt source destination
    then i start and stop the iptables
    and this is my firewall setting :
    [root@masdeddy ~]# cat /etc/sysconfig/iptbales
    cat: /etc/sysconfig/iptbales: No such file or directory
    [root@masdeddy ~]# cat /etc/sysconfig/iptables
    # Firewall configuration written by system-config-firewall
    # Manual customization of this file is not recommended.
    *filter
    :INPUT ACCEPT [0:0]
    :FORWARD ACCEPT [0:0]
    :OUTPUT ACCEPT [0:0]
    -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
    -A INPUT -p icmp -j ACCEPT
    -A INPUT -i lo -j ACCEPT
    -A INPUT -m state --state NEW -m udp -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT
    -A INPUT -j REJECT --reject-with icmp-host-prohibited
    -A FORWARD -j REJECT --reject-with icmp-host-prohibited
    COMMIT

  6. #6
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    From what I can tell from above you don't have the VNC Server installed.
    Use yum to install it.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  7. #7
    Just Joined! supermanisdeady's Avatar
    Join Date
    Dec 2010
    Posts
    33
    oh... i wasn't careful, so i concluded when i installed vncviewer at ubuntu it will be through install vncserver too but different with fedora family
    [root@masdeddy ~]# yum search vncserver
    Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
    Adding en_US to language list
    Loading mirror speeds from cached hostfile
    updates/metalink | 6.1 kB 00:00
    * fedora: sulawesi.idrepo.or.id
    * rpmfusion-free: rpmfusion.idrepo.or.id
    * rpmfusion-free-updates: rpmfusion.idrepo.or.id
    * updates: ftp.linux.org.tr
    google | 951 B 00:00
    google-chrome | 951 B 00:00
    rpmfusion-free-updates | 3.3 kB 00:00
    updates | 4.7 kB 00:00
    updates/primary_db | 3.3 MB 01:08
    updates/pkgtags | 48 kB 00:00
    ======================================= Matched: vncserver ========================================
    libvncserver-devel.i386 : Development files for libvncserver
    libvncserver.i386 : Library to make writing a vnc server easy
    tigervnc-server.i686 : A TigerVNC server
    x11vnc.i686 : VNC server for the current X11 session
    thx for your help...

  8. #8
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    Here is the list I get:

    Code:
    ~ $ sudo yum search vnc
    [sudo] password for rjs:
    Loaded plugins: fastestmirror, priorities
    Loading mirror speeds from cached hostfile
     * addons: mirror.steadfast.net
     * base: mirrors.liquidweb.com
     * extras: www.gtlib.gatech.edu
     * rpmforge: fr2.rpmfind.net
     * updates: mirror.nexcess.net
    68 packages excluded due to repository priority protections
    =================================================== Matched: vnc ===================================================
    conspy.x86_64 : Remote control for text mode virtual consoles
    gtk-vnc.i386 : A GTK widget for VNC clients
    gtk-vnc.x86_64 : A GTK widget for VNC clients
    gtk-vnc-devel.i386 : Libraries, includes, etc. to compile with the gtk-vnc library
    gtk-vnc-devel.x86_64 : Libraries, includes, etc. to compile with the gtk-vnc library
    gtk-vnc-python.x86_64 : Python bindings for the gtk-vnc library
    libvncserver.x86_64 : Library to make writing a vnc server easy
    libvncserver-devel.x86_64 : Header files, libraries and development documentation for libvncserver.
    pyvnc2swf.noarch : A VNC session recorder to Flash movie
    tightvnc.x86_64 : Graphical remote administration system
    tightvnc-server.x86_64 : TightVNC server
    tsclient.x86_64 : Client for VNC and Windows Terminal Server
    vino.x86_64 : A remote desktop system for GNOME
    virt-viewer.x86_64 : Virtual Machine Viewer
    vnc.x86_64 : A remote display system.
    vnc-server.x86_64 : A VNC server.
    vnc2swf.x86_64 : Recording tool for VNC
    vncreflector.x86_64 : VNC server which acts as a proxy for a number of VNC clients
    x11vnc.x86_64 : VNC server for the current X11 session
    x2vnc.x86_64 : Bond an X display and a VNC session together
    xorg-x11-server-Xvnc-source.x86_64 : Xserver source code required to build VNC server (Xvnc)
    Yes, I am running 64bit system

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  9. #9
    Just Joined! supermanisdeady's Avatar
    Join Date
    Dec 2010
    Posts
    33
    oh the name is different too? hehe...
    and my mind 32bit system :P
    thx for your help master
    i can remote from fedora...
    Last edited by supermanisdeady; 02-01-2011 at 02:50 PM.

  10. #10
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    Glad to hear things are working for you now.
    Have fun.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...