How to connect XManager to centos

Source: Internet
Author: User

How to connect XManager to centos

After reading a lot of information, it took several minutes to connect XManager to centos.

Step 1:
Download the graphic interface GNOME first
Yum groupinstall "Desktop"
Yum groupinstall "X Window System"
Yum groupinstall "Chinese Support"

Step 2:
Modify/etc/X11/xdm/Xaccess
If the directory does not contain xdm, you need to install xdm
Yum install xdm
Use vi to open and find
# ** Any host can get a login window
Remove the previous #
** Any host can get a login window

Step 3:
Modify/etc/TPD/custom. conf

[Daemon]

[Security]

AllowRemoteRoot = true // Add 1

[Xdmcp]
Port = 177 // Add 2
Enable = 1 // Add 3

[Gui]

[Greeter]

[Chooser]

[Debug]

If startx is started as follows:
[Root @ cloud ssh] # startx
Xauth: creating new authority file/root/. serverauth.3234


Fatal server error:
Server is already active for display 0
If this server is no longer running, remove/tmp/. X0-lock
And start again.

(EE)
Please consult the CentOS support
Athttp: // wiki.centos.org/Documentation
For help.
(EE)


Or the following error occurs during start-up
[Root @ cloud ssh] # gmtr

** (TPD-binary: 3256): WARNING **: Failed to acquire org. gnome. DisplayManager

** (TPD-binary: 3256): WARNING **: cocould not acquire name; bailing out

No effect.

Next, use XManager4 to connect

I am using Xstart

Enter the host name, select SSH, user name, password for the Protocol, select GNOME for the command, and click run.

Note:
Sent password.
Sent password.
Access granted.
Sent X11 forwarding request...
Failed.
If the preceding conditions occur, modify them.
/Etc/ssh/sshd_config
# X11Forwarding no
Change to: X11Forwarding yes
Then restart ssh
Service sshd restart

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.