Remote access between Ubuntu instances through VNC

Source: Internet
Author: User
Tags windows remote desktop

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

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.