How to install RealVNC and xfce4 in Ubuntu

Source: Internet
Author: User
Tags gz file iptables tightvnc

Micro-magic once shared with you a year and a half ago how to install VNC and xfce in Ubuntu (transfer), but since TightVNC was used at the time, this software was small and convenient, in addition, a ready-made package can be installed in the Ubuntu Software source, but it does not support IPv6. For the micro-Magic of campus network users, ipv6 is extremely fast abroad. Therefore, this article chooses RealVNC as the software end of vncserver, which may be a little more complicated than TightVNC in installation, however, it is easy to use.

 

Install the RealVNC and xfce4 desktop kits in Ubuntu

 

This article is for test and installation in Ubuntu 14.04.

 

1. Install xfce and firefox

Apt-get-y install xfce4 xfce4-goodies firefox adobe-flashplugin fonts-wqy -*


For Debian, replace firefox with iceweasel.

 

2. Download and install RealVNC

 

Download the RealVNC server (www.realvnc.com/download/vnc/] on the official website. There is a Debian-compatible installation package. Download the tar.gz file. Extract the two deb files and upload the server to VPS. Run the following command to install it.

Dpkg-I specific name. deb
3. Get a license

Although RealVNC is free for personal use, you still need to apply for an authorization license to use it. The method of application is very simple. Simply enter your own information and address (www.realvnc.com/products/vnc/licensing)

Nclicense-add the authorization string just obtained


4. Run RealVNC

 

It is best to create a user (created by the adduser command) to run VNC, instead of running vnc directly using root as in this article (the logon password is the user password for running vnc)

Vncserver-x11
In this way, the runtime environment of RealVNC + Xfce4 has been set up. The next step is to try to connect with VNC viewer.

 

How to use VNC?

 

Download VNCViewer (www.realvnc.com/download/binary/1730/) and enter the ip: 5901 link during connection.
If errors such as 10060/10061/remote host refused occur, it is likely that the VNCServer is not started or the iptables firewall does not allow port 5901 (iptables tutorial), just start

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.