RHEL7 Configure Xmanger Remote access __redhat

Source: Internet
Author: User

The RHEL7 GNOME interface uses hardware acceleration and does not support Xmanger remote access. Search a lot of information on the Internet, can not achieve remote access. After several days of research, finally found a way to support Xmanger remote access, the method needs to install LIGHTDM and use the KDE interface to achieve Xmanger remote access, the following methods, including online installation and offline installation.

Method One: Online installation

1, in the installation of the operating system, to select the KDE software package;

2, RHEL7 need to register to use Yum Online installation, so the RHEL7 yum source to replace the source of the CentOS, specific methods can see the previous blog, "RHEL7 replacement for CentOS source";

3, from Ali source download Epel-7.repo, placed in the/ETC/YUM.REPOS.D directory;

4. Installation LIGHTDM

# yum Install–y lightdm;

5. Modify lightdm.conf File

# vim/etc/lightdm/lightdm.conf ...
[Xdmcpserver]
Enabled=true
port=177
...

6, shut down the firewall

# Systemctl Stop firewalld
# systemctl Disable FIREWALLD

7. Switch display Manager to LIGHTDM

# systemctl Disable GDM
# systemctl enable LIGHTDM
# Systemctl Start LIGHTDM

At this point the picture may flicker, restart the computer can be.

8, the Gnome file backup

# cd/usr/share/xsessions #
mkdir bak
# mv gnome*./bak

9, restart the Light interface Manager

# systemctl Restart LIGHTDM

The graphical interface of the RHEL7 can be accessed remotely via Xmanger, but the approach is to use the KDE interface, which has a much worse interface effect than GNOME.

method Two: Offline installation

Using offline installation is a faster way to install Linux systems in bulk. Offline installation requires the following packages:

glib2-2.46.2-4.el7.x86_64.rpm
lightdm-1.10.6-4.el7.x86_64.rpm
lightdm-gobject-1.10.6-4.el7.x86_64.rpm
lightdm-kde-0.3.2.1-12.el7.x86_64.rpm
lightdm-qt-1.10.6-4.el7.x86_64.rpm

If you do not have the above installation package, you can find an Internet-capable machine Download LIGHTDM installation package, download method can see method One, download command is LIGHTDM--DOWNLOADONLYLIGHTDM (if the--downloadonly command is not found, You need to install the Yum-plugin-downloadonly plugin). The glib2-2.46.2-4.el7.x86_64.rpm needs to unload the glib in the Rhel, copy glib2-2.46.2-4.el7.x86_64.rpm from the CentOS mirror and install it. The configuration method after installation participates in section 4th to 8th of method one.

Note: Restore the Gnome interface

1, Restore Gnome files:

# cd/usr/share/xsessions
# mv bak/*.

2. Switch display Manager to LIGHTDM

# Systemctl Enable GDM
# systemctl disable LIGHTDM
# systemctl Start GDM

3, restart the computer

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.