Ubuntu安装VNC

Install VNC on Ubuntu 16.04

Before You Begin

  1. Familiarize yourself with our Getting Started guide and complete the steps for setting your Linode’s hostname and timezone.

  2. Complete the sections of our Securing Your Server guide to create a standard user account, harden SSH access and remove unnecessary network services.

  3. Update your system.sudo apt-get update && sudo apt-get upgrade

1

  1. Install a Desktop and VNC Server on your Linode: To install the desktop without these packages, run:sudo apt-get install --no-install-recommends ubuntu-desktop gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal
     install the full Ubuntu desktop environment, including office and web browsing tools. sudo apt-get install ubuntu-desktop gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal
    注:
    During the install process, you will be asked whether or not to change a system file to the new version:*** tty1.conf (Y/I/N/O/D/Z) [default=N] ? Type y then enter to use the updated version.
  2. Install the VNC server:sudo apt-get install vnc4server
  3. Secure your VNC connectionssh -L 5901:127.0.0.1:5901 root@localhost
    会要求你输入root的密码例如:XY#55scRBd
  4. launch the VNC server to test your connection. You will be prompted to set a password:vncserver :1
    密码:123456
Install VNC on Ubuntu 16.04 - Linode