Ubuntu14.04lts install vncserver
Previously, I installed vncserver many times on centos and wrote an installation document on centos 7. Recently, I have learned that I have failed to install it on ubuntu several times. This time I finally got it done. The ubuntu built-in desktop is unity, which is a deep customized gnome version. I have not passed the test but only passed the gnome Desktop.
Installation steps:
1. update the system apt-get update-y apt-get upgrade-y
2. apt-get install vnc4server install vncserver
3. Start vncserver on the server: 1. Enter the user password for the first startup.
4. Connect using vnc viewer ,:
5. install gnome, apt-get install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal
6. Modify the xstartup File
#! /Bin/shexport XKL_XMODMAP_DISABLE = 1 unset SESSION_MANAGER unset DBUS_SESSION_BUS_ADDRESS gnome-panel & gnome-settings-daemon & metacity & nautilus & gnome-terminal &
7. restart the process. vncserver-kill: 1 & vncserver: 1
8. The interface after the connection is reconnected is:
Debugging method:
View the log tail-f **: 1.log