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 VNC service programs: $ sudoapt-getinstallvnc4server $ sudoapt-getinstallvnc4
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
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
Windows Access Ubuntu http://www.linuxidc.com/Linux/2012-10/73043.htm through VNC
Install VNC http://www.linuxidc.com/Linux/2012-07/64801.htm for Windows Remote Desktop Access Ubuntu 12.04
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2014-06/102929.htm