Bird Cloud Server CentOS installation graphical interface and remote connection

Source: Internet
Author: User

1. Install the following components

# yum groupinstall-y "desktop" "Desktop Platform" "Desktop Platform Development" "Fonts" "General Purpose Desktop" "Gr Aphical Administration Tools "Graphics Creation Tools" "Input Methods" "X Window System" "Chinese support [zh]" "Inte Rnet Browser "

2. Installing Xorg Components

# yum Install xorg-x11*

3, Installation Tigervnc

#yum-y Install VNC *vnc-server*

Modify the Vncserver master configuration file

#vim/etc/sysconfig/vncservers

Copy the last two lines and remove the line header comment, and then change to

Vncservers= "1:root"

vncserverargs[1]= "-geometry 1024x768"

Set Vncserver remote connection password

#vncpasswd

Enter the same password two times

Start the service

#/etc/init.d/vncserver Start
Starting VNC server:1:root xauth:file/root/. Xauthority does not exist

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

Creating default startup Script/root/.vnc/xstartup
Starting applications specified In/root/.vnc/xstartup
Log file Is/root/.vnc/niaoyun47507:1.log

[OK]

# Vim/root/.vnc/xstartup

Change the last line to

Gnome &

Open firewall Vncserver Port

#vim/etc/sysconfig/iptables

In "-A input-m State--state new-m tcp-p TCP--dport 22-j ACCEPT"

Add A row Below-A input-m state--state new-m tcp-p TCP--dport 5901-j ACCEPT

Restart Iptables Service

#service iptables Restart

Then use realvnc,http://www.realvnc.com/to enter "Ip:1" and then enter the password.

Bird Cloud Server CentOS installation graphical interface and remote connection

Related Article

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.