Ubuntu VNC configuration and Ubuntu VNC Configuration

Source: Internet
Author: User

Ubuntu VNC configuration and Ubuntu VNC Configuration
By configuring the SERVER as a vnc server, other hosts can log on to the SERVER graphically.
It is easy to configure the vnc server in ubuntu as follows:

Server:
1. First install the VNC service program:
Shell code

  1. $ Sudo apt-get install the vnc4-common vnc4server


2. Set the vnc logon password for the current user:
Shell code
  1. $ Vncpasswd


3. Modify the default vnc settings so that gnome can be used as X's desktop at startup (if not set, vnc will use twm. You can try it. I believe you will not get used to it ):
Shell code
  1. $ Vncserver: 1
  2. $ Vncserver-kill: 1

Note: ": 1" indicates the display number. When you log on, you must write the same display number to log on (see the client section below ).
Modify ~ /. Vnc/xstartup file. We recommend that you copy the Xsession configuration file in the system:
Shell code
  1. $ Cp/etc/X11/Xsession ~ /. Vnc/xstartup


Then start the vnc server again:
Shell code
  1. $ Vncserver-geometry1280 x 800: 1


Client:
1. Install the VNC client program:
Shell code
  1. $ Sudo apt-get install vnc4-common xvnc4viewer


2. Then you log on to the Terminal Server Client: Applications-> Internet-> Terminal Server Client; Computer: Server IP: display #, for example: 192.168.10.36: 1; protocol: VNC.
Or command line:
Shell code
  1. $ Vncviewer 192.168.10.36: 1

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

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.