Remote Desktop Connection to Linux-VNC in Windows

Source: Internet
Author: User

VNC was developed by the AT&T laboratory and is an excellent remote control tool software. Later, it was open-source in the form of GPL authorization. After several years of development, the current VNC does not refer to a software, but the general name of a software. The following describes two commonly used VNC software in Linux.

The principle of VNC is to constantly take screenshots of the window interface and transmit the images to the client. At the same time, The VNC Server takes over the keyboard and mouse control of the server, and the client can manipulate the keyboard and mouse on the server. It is similar to pcAnywhere in Windows.

I. Windows Settings

The reason is that the following two VNC instances can be connected to the same client.

On Windows, I chose RealVNC as the client. It's a green software. You can copy it from the installation directory to another computer and run it.

Ii. VINO

VINO is a VNC software integrated in Gnome. It is installed by default when the Gnome environment is installed. Click "System"-"Preferences"-"Remote Desktop" to open the Configuration window.

After "allow others to view your desktop" is selected, VINO starts the server process vino-server and listens to TCP port 5900. If "allow other users to control your desktop" is not selected, the client can only watch and cannot manipulate it.

The VINO mode is very different from the XVNC described below. I think VINO is actually "Remote Assistance in Windows ", because the desktop displayed on the client is the same as the desktop displayed on the Linux local display, If you manipulate the mouse on the client, the Linux display can also see that the mouse is running. If you have installed a VNC Server in Windows, this is the result.

In addition, the bandwidth usage of VINO is abnormal. Even if no operation is enabled on the desktop, the bandwidth will be 4-5 Mbps (desktop 1280 × 1024, color 24 ), if any operation is performed, it will take 8-12 Mbps.

Therefore, VINO is not suitable for daily remote management of servers. It is suitable for Remote Assistance and remote teaching in Linux. That is to say, if you encounter a problem, experts can teach you how to watch the screen directly, or reproduce faults. You can reproduce faults or bugs locally, while engineers can watch them remotely.

Iii. XVNC

XVNC is a familiar vnc or vncserver. It is an open-source version of VNC software developed by RealVNC.

1. Install XVNC.

When installing Linux, you can select from the installation package. If no installation is available, you can find it in the installation disk.

The component name of the server is vnc-server. Run the rpm-q vnc-server command.

Its output should be package vnc-server is not installed or similar to a vnc-server-4.0-11.el4.

If the server is not installed, use this command to install it: yum install vnc-server.

2. Start vncserver.

Enter:

Vncserver: 1-geometry 1280x1024-depth 24 Note: 1 refers to window 1,-geometry refers to window resolution, and-depth refers to the number of colors

You can also specify the following parameters:

Vncserver: 1 Note: With the RealVNC Client, you can specify the window resolution and color number on the client.

When you start vncserver for the first time, you need to specify a password, which is required when you connect to the VNC client.

The window can be specified from 0. If the Linux local side has enabled the graphical environment, it must be specified from 1 because window 0 is occupied by X11.

3. Configure xstartup

XVNC uses twm as the graphical environment by default. If KDE or Gnome is installed, it can also be started.

Vi ~ /. Vnc/xstartup

The following content is displayed:

#! /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 &

Xterm-geometry 80x24 + 10 + 10-ls-title "$ VNCDESKTOP Desktop "&

Twm &

  • 2 pages in total:
  • Previous Page
  • 1
  • 2
  • Next Page

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.