UbuntuServer configure remote VNC service

Source: Internet
Author: User
Environment: root @ node1 :~ # Cat/etc/issueUbuntu12.04LTS \ n \ l requirement: Now you need to remotely connect to the Ubuntu GUI, because a program needs to be configured using the GUI. By default, javastuserver does not have a graphical interface. Xmanager is used to remotely connect to Ubuntu. After the connection is complete, you would like to use the built-in functions of Xmanager to bring up a graphical interface, this process

Environment:
Root @ node1 :~ # Cat/etc/issue
Ubuntu 12.04 LTS \ n \ l

Requirement: now we need to remotely connect to the GUI of Ubuntu, because a program needs to be configured using the GUI.

By default, the Ubuntu server does not have a graphical interface. You can use Xmanager to remotely connect to Ubuntu. After the connection is complete, you would like to use the built-in functions of Xmanager to bring up a graphic interface, however, no matter how you play it, the program won't be able to play out, and it's very tangled. You can use Xclock for testing. It can only be used separately.

In the past, VNC was configured in RedHat, but it was not done in Ubuntu. This is a bit of research. The following describes the configuration process in detail. The graphic program used is Xface.

1. install and configure VNC

1. First install VNC

# Apt-get install vnc4server

2. Set a password for VNC

  1. Root @ node1 :~ /. Vnc # vncpasswd
  2. Password:

Enter the password and confirm it again.

3. Start VNC

  1. Root @ node1 :~ # Vncserver: 1
  2.  
  3. New 'node1: 1 (root) 'desktop is node1: 1
  4.  
  5. Starting applications specified in/root/. vnc/xstartup
  6. Log file is/root/. vnc/node1: 1.log
  7.  
  8. Root @ node1 :~ # Ps-ef | grep vnc
  9. Root 1768 1 0 00:00:00 pts/0 Xvnc4: 1-desktop node1: 1 (root)-auth/root/. Xauthority-geometry 1024x768-depth 16-rfbwait 30000-rfbaut
  10. 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/75 dpi /, /usr/X11R6/lib/X11/fonts/100 dpi/,/usr/share/fonts/X11/misc/,/usr/share/fonts/X11/Type1 /, /usr/share/fonts/X11/75 dpi/,/usr/share/fonts/X11/100 dpi/-co/etc/X11/rgb

Started successfully

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.