Xstart remote connection to Linux server desktop notes!

Source: Internet
Author: User

First step: Install the System check the desktop.

If not installed:

1. First install and download the graphical interface gnome
Yum Groupinstall "Desktop"
Yum groupinstall "X window System"
Yum Groupinstall "Chinese support" (optional)

2, how to know whether to install the graphical interface?

1) [[email protected] ~]# Rpm-qa | Grep-i xorg-x11

There will be a lot of package output at this time.

2) Yum Groupinstall "Desktop"

Yum groupinstall "X window System"

Note Do not add the-y parameter to see if the graphics package is installed.

3) StartX--if installed, it can be started.

Step two: Log in to the Linux host and modify the configuration.

1) [[email protected] ~]# cat/etc/gdm/custom.conf

[Security]

Allowroot=true

Allowremoteroot=true//If running root login

[XDMCP]

port=177//GDM Allow 177 port access

Enable=true

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/84/6E/wKioL1eQgs3jtUL8AABCiEFh4cU277.png-wh_500x0-wm_3 -wmp_4-s_2866139570.png "title=" 1.png "alt=" Wkiol1eqgs3jtul8aabciefh4cu277.png-wh_50 "/>

2) Vim/etc/inittab

ID: 5 : Initdefault: //3 to 5

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/84/6E/wKiom1eQgvKxBGpZAAC1d2_GIsU847.png-wh_500x0-wm_3 -wmp_4-s_274475525.png "title=" 2.png "alt=" Wkiom1eqgvkxbgpzaac1d2_gisu847.png-wh_50 "/>

3) Run Port 177 If the firewall is turned on

-A input-m state--state new-m udp-p UDP--dport 177-j ACCEPT

When you are done saving, restart the firewall services service iptables restart

4) Turn off SELinux

5) Restarting the GDM service

[[Email protected] ~] #gdm-restart

If the above statement does not indicate no/usr/sbin/gdm-restart file, it doesn't matter, we can restart the Linux server.


Step Three: Configure the client, connect.

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/84/6E/wKiom1eQhiXQ4ARbAABQhaaKpck668.png-wh_500x0-wm_3 -wmp_4-s_2368546167.png "title=" 3.png "alt=" Wkiom1eqhixq4arbaabqhaakpck668.png-wh_50 "/>

/usr/bin/gnome-session--display $DISPLAY

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/84/6E/wKioL1eQhmDS6of_AAB0av6jjHs740.png-wh_500x0-wm_3 -wmp_4-s_703900494.png "title=" 4.png "alt=" Wkiol1eqhmds6of_aab0av6jjhs740.png-wh_50 "/>

Click Run

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/84/6E/wKiom1eQhpSgbBUdAABIfES1AlE178.png-wh_500x0-wm_3 -wmp_4-s_526179693.png "title=" 5.png "alt=" Wkiom1eqhpsgbbudaabifes1ale178.png-wh_50 "/>

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/84/6E/wKioL1eQhsii_pyGAA4XnUfl7Wo023.png-wh_500x0-wm_3 -wmp_4-s_4076457220.png "title=" 6.png "alt=" Wkiol1eqhsii_pygaa4xnufl7wo023.png-wh_50 "/>

Complete!

This article from "Ningzhiyuan @it share" blog, declined reprint!

Xstart remote connection to Linux server desktop notes!

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.