CentOS 5.7 Configure VNC

Posted on 2011-11-01
Last Modified: 2012-05-12
I am running the GUI version of CentOS 5.7

How do I setup CentOS to receive inbound VNC connections?
Question by:deklinm
    LVL 31

    Accepted Solution

    This link is very useful. Please follow this and let me know if you have a problem.  It is very simple to setup
    LVL 7

    Assisted Solution

    LVL 19

    Assisted Solution

    In addition, you may need to allow access via your firewall, bear in mind that normal ssh access is insecure and you could best access the system via ssh tunneling;

    If you use tunneling you'll need port 22 open, if not then I think it's TCP ports 580x/590x where x is the screen number but I cant remember which port is which (one is accesses via a browser).
    LVL 1

    Assisted Solution

    You seem to want the client details:
    Here it is.

    Do the following in case you did not do it yet

    For yum systems do at command line
    $] yum install vncviewer      
    or if Centos is Debian Apt based, equivalently
    $] apt-get install vncviewer
    This installs the vnc xtightvncviewer client.

    At a terminal type
    It wil then ask you for the ip address of the machine you want to view by means of a small pop-up box.
    Enter the ip address and it will come up with the desktop of that machine.

    Let me know.

    This will work unless you work through a firewall as a previous post said.
    In that case it is a sparate problem opening the relevant ports on the firewall.
    Try it first between two local machines behind firewall, one running vncserver and the other with what I described above to be installed.
    LVL 1

    Expert Comment

    Olthough it is a seconday step,, as I can remember you need to open and filter ports  5800, 5900, and 5500 on your firewall, but that is another issue for after the client issue is resolved.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
    Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    6 Experts available now in Live!

    Get 1:1 Help Now