Remote access between Ubuntu instances through VNC

Source: Internet
Author: User
Tags remote desktop access windows remote desktop
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

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.