Remote access between Ubuntu instances through VNC
Recently, when using Linux, for convenience, I need to access another machine installed with Ubuntu through my notebook. For convenience, I directly used graphical remote login, VNC is used. Its configuration process is divided into two parts: the server side (another machine) and the client side (my notebook ).
Server:
Install the VNC service program:
$ Sudo apt-get install vnc4server
$ Sudo apt-get install vnc4server
Set the vnc logon password for the current user:
$ Vncpasswd
$ Vncpasswd
Modify the default vnc settings to run gnome as X's desktop at startup:
$ Vncserver: 1 $ vncserver-kill: 1
$ Vncserver: 1
$ Vncserver-kill: 1
Note: ": 1" indicates the display number. You must write the same display number to log on.
Modify ~ /. Vnc/xstartup file. We recommend that you copy the Xsession configuration file in the system:
$ Cp/etc/X11/Xsession ~ /. Vnc/xstartup
$ Cp/etc/X11/Xsession ~ /. Vnc/xstartup
Start vnc server again:
$ Vncserver-geometry1280 x 800: 1
$ Vncserver-geometry1280 x 800: 1
Client:
Install the VNC client program:
$ Sudo apt-get install xvnc4viewer
$ Sudo apt-get install xvnc4viewer
Start remote logon using the command line:
$ Vncviewer 10.102.8.161: 1
VNC installation Configuration
Install and configure VNC in CentOS 6.3
In Linux, the dependency installation VNC is not detected.
CentOS6 VNC service installation and configuration
VNC remote control installation and Setup
Windows accesses Ubuntu through VNC
Install VNC for accessing Ubuntu 12.04 through Windows Remote Desktop