Close Menu
    Facebook X (Twitter) Instagram
    • Download Cisco Packet Tracer
    Facebook X (Twitter) Instagram Pinterest Vimeo
    IT Beginner
    • Home
    • Server
    • WordPress
    IT Beginner
    Home»Fedora»How to install VNC Server on Fedora 20
    Fedora

    How to install VNC Server on Fedora 20

    25/07/2017No Comments3 Mins Read

    VNC or Virtual Network Computing server lets you remotely control another system with a graphical desktop, in another way VNC is a desktop sharing system. You can control the remote system with your keyboard and mouse just as you are sitting infront of that remotely system and using it. In Linux environment we can SSH to control another system but with the good old terminal, VNC allows you to use web browser in GUI comfortable. I’m going to show you how to install VNC Server on Fedora 20.

    Update your Fedora 20 system

    Always keep your system up to date to make sure the installation of VNC server go smoothly.

    # yum update -y

    VNC or Virtual Network Computing server lets you remotely control another system with a graphical desktop, in another way VNC is a desktop sharing system. You can control the remote system with your keyboard and mouse just as you are sitting infront of that remotely system and using it. In Linux environment we can SSH to control another system but with the good old terminal, VNC allows you to use web browser in GUI comfortable. I’m going to show you how to install VNC Server on Fedora 20.

    Update your Fedora 20 system

    Always keep your system up to date to make sure the installation of VNC server go smoothly.

    # yum update -y

    Install GUI to Fedora 20

    If your fedora 20 system comes with GUI, you can skip this step. I’m using Fedora 20 server so it does not come with GUI. I’m going to install a complete gnome-desktop to my Fedora 20 server.

    yum install @gnome-desktop -y

    Install Firefox and nano on Fedora 20

    @gnome-desktop does not come with Firefox as default, since I’m going to use my remote Fedora 20 to do some web browser, I’m going to install Firefox on Fedora 20 with nano (text editor). I’m not a big fan of vi/vim.

    # yum install firefox nano

    Install VNC Server/TightVNC on Fedora 20

    Now we are going to install VNC Server/TightVNC on Fedora 20 to control remotely with mouse, keyboard and a fancy gnome gui.

    # yum install tigervnc-server -y

    Configure VNC Server/TightVNC on Fedora 20

    Tightvnc doesn’t work right with the old /etc/vncservers met hold on Fedora 20. I have tried many times but no luck so far. So far only systemd methold works on Fedora 20.

    The old /etc/sysconfig/vncservers has been replace by the new /lib/systemd/system/[email protected] We are going to create a new configuration file for each user and display number you want to use. For this tutorial I only need one user and one display number “:1″. The display number will be included in the configuration file name.

    # cp /lib/systemd/system/[email protected] /lib/systemd/system/vncserver@:1.service

    Edit vncserver@:1.service file

    # nano /lib/systemd/system/vncserver@:1.service

    Scroll down the file to the bottom, delete all the lines in the [Service] section and replace with

    [Service]
    Type=forking
    User=root
    ExecStart=/usr/bin/vncserver :1 -geometry 1280x1024 -depth 24
    ExecStop=/usr/bin/vncserver -kill :1

    Exit nano and save the file, and run

    # systemctl daemon-reload

    To set VNC’s password

    # vncpasswd

    To enable the service for autostart

    # systemctl enable vncserver@:1.service

    To disable the service for autostart

    # systemctl disable vncserver@:1.service

    To start VNC service

    # systemctl start vncserver@:1.service

    To stop VNC service

    # systemctl stop vncserver@:1.service

    To stop firewall service

    # systemctl stop firewalld.service

    gnome VNC Server
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleWordPress Admin Panel URL
    Next Article How to install XAMPP 1.8.3 with PHP 5.5.11 on Centos Sever

    Related Posts

    Security

    How to secure Nginx web server

    02/08/2017
    Security

    How to secure Apache HTTP Web Server

    29/07/2017
    CentOS

    How to install LEMP web server with Nginx, PHP-FPM 5.6, MySQL 5.5 on Centos 7

    28/07/2017
    Subscribe
    Notify of
    guest

    guest

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    0 Comments
    Oldest
    Newest Most Voted
    Inline Feedbacks
    View all comments
    Tags
    apache centos Centos 6 cuda Desktop Environment dual boot environment featured gnome GUI hostname hosts intel kernel kill lamp server lemp server life MariaDB netflix nginx nvidia password php-fpm phpmyadmin pids processes s.m.a.r.t Security session solid state drive ssd ssh ssh server tag 1 tag 2 Ubuntu upgrade varnish VirtualBox VNC Server web server window manager wordpress xfce
    Facebook X (Twitter) Instagram Pinterest

    Type above and press Enter to search. Press Esc to cancel.

    wpDiscuz