XMANAGER5 based on GDM connection CentOS graphical interface

Source: Internet
Author: User
Tags ssh


Centos6

Refer to a lot of information, spent a few minutes to finally put the Xmanager connection CentOS buttoned up.

First step:

If you are new to the new Linux CENTOS7, you need to configure the Yum first, execute the command:

Cd/etc/yum.repos.d

RM-RF *
wget Http://mirrors.163.com/.help/CentOS7-Base-163.repo
Yum Makecache


If CENTOS6, then wget Http://mirrors.163.com/.help/CentOS6-Base-163.repo


First download the graphical interface gnome
Yum Groupinstall "Desktop"-y
Yum Groupinstall "X Window System"-y
Yum Groupinstall "Chinese Support"-y

Step Two:
Modify/etc/x11/xdm/xaccess
If you do not xdm the directory, you will need to install XDm
Yum Install Xdm-y
Open with VI to find
#* #*any host can get a login window
Remove the front # (ie remove two #) into
* *any host can get a login window

Step Three:
Modify/etc/gdm/custom.conf

[Daemon]

[Security]

Allowremoteroot=true//Add 1

[XDMCP]
port=177//Add 2
Enable=1//Add 3 Enable is true also can

[GUI]

[Greeter]

[Chooser]

[Debug]

If the StartX boot appears 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
At Http://wiki.centos.org/Documentation
For help.
(EE)


Or GDM startup appears as follows
[Root@cloud SSH] #gdm

* * * (GDM-BINARY:3256): WARNING * *: Failed to acquire Org.gnome.DisplayManager

* * * (GDM-BINARY:3256): WARNING * *: Could not acquire name; Bailing out

Have no effect.

Next, use the XMANAGER4 connection

I'm using a xstart.


Fill in the host name, the protocol to choose SSH, username, password, command Select Gnome, click Run on the line. Note: commands are to be chosen, not to be tapped manually



Note:
Sent password.
Sent password.
Access granted.
Sent X11 Forwarding Request ...
Failed.
If any of the above is correct
/etc/ssh/sshd_config
#X11Forwarding No
Modified to: x11forwarding Yes
and then reboot SSH.
Service sshd Restart


Thank you: http://blog.csdn.net/wandrong/article/details/20393733


centos7.2


Reference: https://www.zhukun.net/archives/7798

http://blog.csdn.net/wuzhimang/article/details/51523867

To execute a command:


Yum Install-y xterm
Yum install-y Gnome-core Xfce4 Firefox
Yum install-y gnome-panel Gnome-settings-daemon metacity Nautilus


Modify/etc/gdm/custom.conf, modify content:

[Daemon]

[Security]

Allowremoteroot=true//Add 1

[XDMCP]
port=177//Add 2
Enable=1//Add 3 Enable is true also can


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.