Note: This description is only applicable to Ubuntu12.04unity desktop. For other versions, refer to it as appropriate. Install vnc: sudoapt-getinstallvnc4server run server: directly run vncserver after installation, more parameters can refer to manvncserver. For the first operation, you must set a password to generate the configuration file in ~ /. The vnc directory has unlimited root permissions. Connect to the desktop on another computer through remote vnc
Note: This description only applies to Ubuntu 12.04 unity desktop. For other versions, see.
Install vnc:
Sudo apt-get install vnc4server
Run the server:
Run vncserver directly after installation. For more parameters, see man vncserver. For the first operation, you must set a password to generate the configuration file in ~ /. The vnc directory has unlimited root permissions.
On another computer, you can connect to the desktop through remote vnc:
Example: vncviewer 1.2.3.4: 1 connect to the Remote Desktop
Configuration problems:
Default Configuration File ~ /. Vnc/xstartup is as follows:
#! /Bin/sh
# Uncomment the following two lines for normal desktop:
# Unset SESSION_MANAGER
# Exec/etc/X11/xinit/xinitrc
[-X/etc/vnc/xstartup] & exec/etc/vnc/xstartup
[-R $ HOME/. Xresources] & xrdb $ HOME/. Xresources
Xsetroot-solid gray
Vncconfig-iconic &
X-terminal-emulator-geometry 80x24 + 10 + 10-ls-title "$ VNCDESKTOP Desktop "&
X-window-manager &
Possible problems with using the default configuration:
1. Use the default configuration. After you log on to the vnc desktop, you can only see the desktop background and a terminal. There is nothing else, for example.
2. A Counld not acquire name on session bus Error occurs during login, as shown in.
Next please see 2nd page highlights: http://www.linuxidc.com/Linux/2013-10/90818p2.htm
Related reading:
Installation configuration http://www.linuxidc.com/Linux/2013-05/84941.htm for VNC
CentOS 6.3 install and configure the VNC http://www.linuxidc.com/Linux/2013-05/84668.htm
Install the VNC http://www.linuxidc.com/Linux/2013-05/84075.htm without detecting dependencies in Linux
CentOS6 VNC service installation configuration http://www.linuxidc.com/Linux/2013-04/82510.htm
VNC remote control installation and setup http://www.linuxidc.com/Linux/2013-01/77769.htm
Install VNC http://www.linuxidc.com/Linux/2012-07/64801.htm for Windows Remote Desktop Access Ubuntu 12.04