Ubuntu under VNC Configuration

Source: Internet
Author: User

by configuring the server as a VNC server, you can have other hosts log on to this server graphically.
configuring VNC server under Ubuntu is simple, as follows:

Server-Side:
1, first install the VNC service program:
Shell Code
    1. $ sudo apt-get install Vnc4-common vnc4server


2. Set the VNC login password for the current user:
Shell Code
    1. $ vncpasswd


3, modify the default VNC settings, so that the launch run GNOME as the desktop of x (if not set, VNC will use TWM, you can try, I believe you will be very unaccustomed):
Shell Code
    1. $ vncserver:1
    2. $ Vncserver-kill:1

Note: the ": 1" inside represents the display number, and the client must write the same display number to log in (see the Client section later).
to modify the ~/.vnc/xstartup file, it is recommended to copy the Xsession configuration file in the system:
Shell Code
    1. $ cp/etc/x11/xsession ~/.vnc/xstartup


then start VNC SERVER again:
Shell Code
    1. $ vncserver-geometry 1280x800:1


Client: 
1. Install the VNC client program:
Shell Code
    1. $ sudo apt-get install Vnc4-common xvnc4viewer


2. Then you log in via Terminal server Client: Applications, Internet, Terminal server client;computer: Server Ip:display #, for example: 192.168.10.36:1;protocol choice: VNC.
or the command line:
Shell Code
    1. $ vncviewer 192.168. 10.36:1

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Ubuntu under VNC Configuration

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.