Use xmanager to remotely connect to centos6.4 graphic interface (graphic)

Source: Internet
Author: User
Tags nameserver

1. First install and download the graphic interface gnome
Yum groupinstall "desktop"
Yum groupinstall "X Window System"
Yum groupinstall "Chinese support" (optional)

 

If the following error is prompted:

Loaded plugins: fastestmirror, presto
Cocould not retrieve than list http://mirrorlist.centos.org /? Release = 6 & arch = x86_64 & repo = OS error was
14: pycurl Error 6-"couldn't resolve host 'using list .centos.org '"
Error: cannot retrieve repository metadata (repomd. XML) for repository: Base. Please verify its path and try again

Cause:
The DNS server is not correctly configured.

Solution:
Open the/etc/resolv. conf file and add DNS configuration (XXX. XXX indicates your DNS address ):

Search localdomain
Nameserver XXX. XXX
Nameserver XXX. XXX

2. Modify/etc/TPD/custom. conf.

[Daemon]

[Security]

Allowremoteroot = true

[XDMCP]
Port = 177 // access from port 177 is allowed in the running group.
Enable = true

[GUI]

[Greeter]

[Chooser]

[Debug]

 

3. Modify/etc/inittab

# Default runlevel. The runlevels used are:
#0-halt (do not set initdefault to this)
#1-Single User Mode
#2-multiuser, without NFS (the same as 3, if you do not have networking)
#3-full multiuser Mode
#4-unused
#5-X11
#6-Reboot (do not set initdefault to this)
#
ID: 5: initdefault: // 3 to 5

4. Modify firewall settings

Open/etc/sysconfig/iptables and add the following line:

-A input-M state -- state new-m udp-p udp -- dport 177-J accept

Restart the Firewall Service iptables restart

 

5. Restart the memcached service.

[[Email protected] ~] # TPD-Restart

If the preceding statement does not work, it indicates no/usr/sbin/TPD-Restart file. It does not matter. We can restart the Linux server.

 

6. Use xstart of xmanager to start the interface

(1) Configure attributes.

 

(2) select single mode to enable

 

7. You can connect to the Linux Server Desktop.

(In the end, you can only use xstart of xmanager to open the Linux Desktop. You cannot use XDMCP to connect to the desktop. I have found some materials. Someone said that you need to install Yum install xdm.

Then, you can log on by changing some configurations. But I have tried it. If not, I will not introduce the connection to XDMCP. If you know it, please leave a message to us, THX)

 

 

 

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.