How to configure the remote VNC service in Ubuntu server

Source: Internet
Author: User
Tags log

Environment:

root@node1:~# cat/etc/issue

Ubuntu 12.04 LTS \ \l

Requirements: Now you need to remotely connect Ubuntu's graphical interface, because there is a program that needs to be configured with a graphical interface.

By default, Ubuntu server is not a graphical interface, the use of Xmanager remote connection to Ubuntu, after the connection is completed, originally wanted to use Xmanager features, to achieve a graphical interface pop-up, but no matter how the program is not bouncing out, very tangled, It's OK to test with xclock. It can only be done separately.

Previously configured VNC, are in the redhat inside the configuration, Ubuntu inside did not get, this study. The following detailed configuration process, the use of graphics programs for Xface

First, install the configuration VNC

1, first install VNC

# Apt-get Install Vnc4server

2. Set the password for VNC

Root@node1:~/.vnc# vncpasswd

Password:

Enter the password, and then confirm it again, OK.

3, start VNC

root@node1:~# vncserver:1

New ' node1:1 (root) ' Desktop is node1:1

Starting applications specified In/root/.vnc/xstartup

Log file Is/root/.vnc/node1:1.log

root@node1:~# Ps-ef | grep VNC

Root 1768 1 0 06:10 pts/0 00:00:00 xvnc4:1-desktop node1:1 (Root)-auth/root/. Xauthority-geometry 1024x768-depth 16-rfbwait 30000-rfbaut

H/root/.vnc/passwd-rfbport 5901-pn-fp/usr/x11r6/lib/x11/fonts/type1/,/usr/x11r6/lib/x11/fonts/speedo/,/usr/ x11r6/lib/x11/fonts/misc/,/usr/x11r6/lib/x11/fonts/75dpi/,/usr/x11r6/lib/x11/fonts/100dpi/,/usr/share/fonts/ x11/misc/,/usr/share/fonts/x11/type1/,/usr/share/fonts/x11/75dpi/,/usr/share/fonts/x11/100dpi/-co/etc/x11/rgb

Start successful

Second, client connection

The client installs Vncview and then connects

Input IP, input ip:no, that is, the IP address plus session number, just open the account is 1, here on the input

1.1.1.1:1

And then enter the password, you can connect the

Because there is no desktop environment, so we need to install a, here use Xface

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.