Ubuntu Remote Management (Vnc4server settings)

Source: Internet
Author: User

This paper extracts and collates the information of installing and configuring VNC Service program for Ubuntu system on the Internet.

Ps:ubuntu practice version of Ubuntu 16.04 LTS


Updating the operating system software package

Apt-get Updateapt-get Upgrade

Installing Gnome and Vnc4server

Apt-get Install Gnome-panel Gnome-settings-daemon metacity nautilus gnome-terminalapt-get Install Vnc4server

Start Vncserver for the first time and set the VNC password as prompted

Vncserver:1

Configure the ~/.vnc/xstartup file, after the configuration file contents are as follows

#!/bin/shexport xkl_xmodmap_disable=1 unset session_manager unset dbus_session_bus_address Gnome-panel & Gnome-set Tings-daemon & Metacity & Nautilus & gnome-terminal &

Then restart Vncserver.

Vncserver-kill:1vncserver:1

Set Vncserver self-boot

touch /etc/init.d/vncserver chmod +x /etc/init.d/vncservercat > /etc/init.d/ vncserver << eof#!/bin/bash ### begin init info# provides:           vnc4server# Required-Start:     $local _fs  $network # required-stop:      $local _fs# default-start:      2 3 4 5# default-stop:      0 1  6# short-description: vnc# description:       vnc  Service### END INIT INFOcase  " instart" #su   -c  "Vncserver  -depth 32 -geometry 1024x768 " rootsu  -c " Vncserver -geometry  1440x900 " root#su  -c " Vncserver " root;; Stop) vncserver -kill :1;; *) echo $ "Usage: $0&nbsP {Start|stop} "exit 1esaceofupdate-rc.d vncserver defaults 99

Set Vncserver self-boot (not verified)

Http://blog.chinaunix.net/uid-8657589-id-3457101.html

Http://blog.chinaunix.net/uid-20528014-id-4714397.html

http://blog.csdn.net/alvin969/article/details/6170884

http://blog.csdn.net/jink12/article/details/23088659 (verified, 1604 self-booting has a problem)

http://blog.csdn.net/a105421548/article/details/46379049 (verified, interface background gray)


Ubuntu Remote Management (Vnc4server settings)

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.