VNC Installation on Centos 6

  • Published on Feb 25, 2012
  • More Videos....==
    VNC Server installation on centos 6.2
    on centos 5 vnc server package vnc-server was available.
    on centos 6 the available VNC package is called tigervnc-server.
    vnc server allows you to remote into the system and view desktop. setting up vnc server isn't hard.
    Step 1. Install the tigervnc-server packages.
    # yum -y install tigervnc-server
    Step 2. Edit the default options
    # vi /etc/sysconfig/vncservers
    we will add user name who is allowed to log in the system via vnc.
    save & exit
    Step 3. now generate password for vnc session using

    # vncpasswd
    Step 4. Start session of vncserver
    # vncserver :2
    Step 5. Now connect remotely using vncviewer
    server ip =
    session no = :2
    enter ip address with session no in vnc viewer =
    enter password
    That's All.....!!
    Please watch: "How to Download RU-clip Videos on Android Phone"

Comments • 23

  • [RW]Robi
    [RW]Robi 3 years ago

    i get black screen

  • Vladimir
    Vladimir 3 years ago

    Thanks a lot! very easy guide to follow and you helped me alot! BIG THANKS!
    Subscribed, Liked and added to favorites :D

    KUB CSGO AND MORE 4 years ago

    save and exit how whitch button do i press :) ? help guys or @Bro Experts

  • mantas brazas
    mantas brazas 4 years ago

    what you pres after write username ?

  • Mario Andrik
    Mario Andrik 5 years ago +3

    works wonderful! thanks! +1 like

  • Bro Experts
    Bro Experts  5 years ago


  • 4epm
    4epm 5 years ago

    10x a lot!

  • Albert DiGeso
    Albert DiGeso 6 years ago

    Very simple setup, was easy to follow. Thank you.

  • Your Name Here
    Your Name Here 6 years ago

    You also have to turn of (or tune) IP tables. I was getting error (10065) until I tuned IP tables. Good instruction otherwise.

  • slurbulance
    slurbulance 6 years ago

    Nice tutorial, this helped me set up vnc. If anyone wants a free VPS have a look at my videos!

  • blair reed
    blair reed 6 years ago

    Did any of you guys get it working?

  • blair reed
    blair reed 6 years ago

    I just get a black screen once I have logged on. Any ideas?

  • Leroy Gould
    Leroy Gould 6 years ago

    try in putty
    If you are running CentOS 5, yum groupinstall "GNOME Desktop Environment" may complain about a missing This is a known bug. Please see CentOS-5 FAQ for details.
    If you are running CentOS 6, the command is yum groupinstall Desktop

  • Mohamad Zaim
    Mohamad Zaim 7 years ago

    same with me, anybody help !

  • Elvis basic
    Elvis basic 7 years ago

    wondering... why i cant delete my vnc severs number symbol. it wont let me edit.. how do you save and exit lol?

  • Fernando Calvo Gomez
    Fernando Calvo Gomez 7 years ago

    thanks from Spain....

  • Cody Diehl
    Cody Diehl 7 years ago

    Oh, I should mention, for the .vnc folder to show up, you must type:
    "vncserver" as whichever user you plan to allow access, it will prompt you to create a password to access it. Then the .vnc folder will be created, then you can edit the xstartup.
    you can also run vncserver as any user and it will automatically generate that .vnc folder for any user's home directory.
    access your vncserver by using a vnc client and type your ip:1 (port 1) as default for your first run.

  • Cody Diehl
    Cody Diehl 7 years ago

    this makes this way too complicated...
    All you need to do is:
    yum install tightvnc-server
    do this for any user you would like to be able to use VNC.
    Once its finished, go to the /home directory, and find .vncserver (hidden file).
    In that directory open xstartup with either a text editor or vim/vi.
    Then at the bottom change whichever desktop you use.
    or whichever you use.

  • Sai Raj
    Sai Raj 7 years ago

    good but i want to take remote centos server from a windows pc , tell me what to do

  • rh7root
    rh7root 7 years ago

    Thanks... very nice video keep it coming ..

  • Top Fiver
    Top Fiver 7 years ago

    hi all installed ok
    but once started, the display is all black

  • EpicPhishing
    EpicPhishing 7 years ago

    Thanks for the tutorial, helped :)