Install and Configure VNC Server in CentOS 7 and RHEL 7

You may also like...

12 Responses

  1. José Luis Alonso says:


    I’m from Mexico. Thank you for your post. This is a good post, i can to installed and configured the vncserver

  2. Aravindh says:

    Hi Pradeep, Thank you for your post.It worked for me. once again thanks. 🙂

  3. Pablo says:

    Hi there! Great job, easily explained. Works perfect.

  4. David Livingstone says:

    I did everything Exactly by the book, and ended here:
    [root@OptiPlex-380 ~]# systemctl daemon-reload
    [root@OptiPlex-380 ~]# systemctl start vncserver@:3.service
    Job for vncserver@:3.service failed because the control process exited with error code. See “systemctl status vncserver@:3.service” and “journalctl -xe” for details.
    [root@OptiPlex-380 ~]# systemctl status vncserver@:3.service
    ● vncserver@:3.service – Remote desktop service (VNC)
    Loaded: loaded (/etc/systemd/system/vncserver@:3.service; disabled; vendor preset: disabled)
    Active: failed (Result: exit-code) since Tue 2016-05-17 09:45:47 AEST; 44s ago
    Process: 1238 ExecStart=/usr/sbin/runuser -l david -c /usr/bin/vncserver %i (code=exited, status=2)
    Process: 1232 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill %i > /dev/null 2>&1 || : (code=exited, status=0/SUCCESS)

    May 17 09:45:47 OptiPlex-380 systemd[1]: Starting Remote desktop service (VNC)…
    May 17 09:45:47 OptiPlex-380 systemd[1]: vncserver@:3.service: control process exited, code=exited status=2
    May 17 09:45:47 OptiPlex-380 systemd[1]: Failed to start Remote desktop service (VNC).
    May 17 09:45:47 OptiPlex-380 systemd[1]: Unit vncserver@:3.service entered failed state.
    May 17 09:45:47 OptiPlex-380 systemd[1]: vncserver@:3.service failed.

    Any hints? I’ve checked the forums I could find, with no clue. Any help greatly appreciated.

  5. Steve says:

    Followed you instructons for RHEL7, connected from Win7 laptop. Works perfect. Thanks!

  6. Magesh Mahi says:

    Worked Like a Charm in Centos 7 windows 10 laptop remoting into it …

  7. DeeZay says:

    Thanks Its Working Perfect

  8. Sandeep says:

    Can I get this work without Gnome Desktop group package?

  9. Brianthreedee says:

    I’m a complete noob: Running CentOS 7 – Gnome installed. Followed all instructions. I entered the following;

    systemctl enable vncsever@:5901.service ln -s ‘/etc/systemd/system/vncserver@:5901.service’ ‘/etc/systemd/system/’

    When I hit enter I get Failed to parse signal string /etc/systemd/system/vncserver@:5901.service

    Any help would be greatly appreciated!

  10. jirka says:

    Hi, I have a little problem. Everything went OK, but after
    systemctl start vncserver@:1.service

    I got this:

    Job for vncserver@:1.service failed because a configured resource limit was exceeded. See “systemctl status vncserver@:1.service” and “journalctl -xe” for details.

    I tried to remove /tmp/.X11-unix/

    without avail.

    Can somebody help. Thank

Leave a Reply

Your email address will not be published. Required fields are marked *