Xmanager Remote Desktop Configuration

Source: Internet
Author: User

First, make sure that CentOS has installed GNOME, because CentOS itself does not have a graphical interface, not to mention the remote graphical interface way to access the local image interface is not 1, first check the system's operating level and whether the desktop environment is installed

1. Use the command runlevel to view the current runlevel.

2. Use the command Yum grouplist | more to see if the components of the desktop environment are installed,

2, again from the results of the above analysis, the current runlevel is 3, and there is no software to install the desktop environment.

Then we use the command to look at the desktop desktop environment of the software, and then install the displayed software components on it. For example:

[[Email protected] ~]#[[email protected] ~]# yum grouplist | more

Loaded plugins:fastestmirrorsetting up Group processloading mirror speeds from cached hostfile

* base:mirrors.usc.edu * extras:centos.mirror.ndchost.com *

Updates:mirror-centos.hostingswift.com

Installed Groups:e-mail Server Security Tools Storage

Availability Tools ISCSI Storage Client

Available Groups:

Additional Development

Backup Client Backup Server

Base CIFS File Server

Client Management Tools

Compatibility libraries

Console Internet Tools

Debugging Tools

Desktop

Desktop Debugging and Performance Tools

Desktop Platform

Desktop Platform Development

Development tools

Dial-up Networking Support

Directory Client

Directory Server

Eclipse

Emacs

FCoE Storage Client

FTP Server

Fonts

General Purpose Desktop

Graphical Administration Tools

Graphics Creation Tools

Hardware Monitoring Utilities

High Availability

High Availability Management

Identity Management Server

Infiniband Support

Input Methods

Internet applications

Internet Browser

Java Platform

KDE Desktop

Large Systems Performance

Legacy UNIX Compatibility

Legacy X Window System compatibility

Load Balancer

Mainframe Access

Messaging Client Support

MySQL Database Client

MySQL Database Server

NFS File Server

Network Infrastructure Server

Network Storage Server

Network File System Client

Networking Tools

Office Suite and Productivity

PHP Support

Performance Tools

Perl Support PostgreSQL

Database Client

PostgreSQL Database Server

Print Server

Printing Client

Remote Desktop Clients

Resilient Storage

Ruby Support

SNMP Support

Scientific support

Server Platform

Server Platform Development

Smart Card Support

System Management

System Administration Tools

TeX Support Technical Writing

TurboGears Application Framework

Virtualization

Virtualization Client

Virtualization Platform

Virtualization Tools

Web Server

Web Servlet Engine

web-based Enterprise Management

X Window System

Available Language Groups:

Catalan support [CA]

Chhattisgarhi support [Hne]

Chichewa support [NY]

Chinese support [en]

Coptic support [COP]

Croatian support [HR]

Czech support [CS]

Danish support [da]

Dutch support [NL]

中文版 (UK) support [EN_GB]

Esperanto support [EO]

Telugu support [Te]

Tetum support [Tet]

Zulu support [zu]

Done

===========================================

From the software group information above, select the software group related to the desktop environment, and then install it, I choose the following software group and input method also has the font and other desktop environment needs to use for everyone reference.

Perform:

[Plain] view plaincopy

    1. Yum groupinstall-y "desktop" "Desktop Platform" "Desktop Platform Development" "Fonts" "General Purpose Desktop" "Graphical administration Tools" "Graphics Creation Tools" "Input Methods" "X Window System" "Chinese support [zh]" " Internet Browser "

The following is the installation software process, need wait a while.

3, installed the desktop environment software, and then modify the system start level of 5

Edit the/etc/inittab file, modify the boot level to 5, and then restart to enter the desktop environment. Because I am a remote environment, just using the command line, you can use VNC for the desktop environment remote.

Modify/etc/inittab, change RunLevel to 5, for example [[email protected] etc]# Cat/etc/inittab ...
Id:5:initdefault: ...
Run Linux in 5-level mode

Two. Now start configuring remote

The first thing you'll think about is how CentOS supports remote services, which is GDM:

$yum Install GDM

1. Configuration of Linux side:
Start the display manager after booting. Open the/etc/inittab file, change RunLevel to 5, or modify to Id:5:initdefault: if it turns out to be 5, do not modify it.
The display manager of the system is managed by the Displaymanager file, where only the display manager is started after the boot is determined.

Configuration of Linux side:

Start the display manager after booting.

Open the/etc/inittab file, change RunLevel to 5, or modify to Id:5:initdefault: if it turns out to be 5, do not modify it.

The display manager of the system is managed by the Displaymanager file, where only the display manager is started after the boot is determined.

2. Configuration on CentOS 5 (for Linux with the default graphics environment of GNOME):

1, configure GDM.
The default graphics environment for CentOS 5 is gnome, and only GDM is installed, and CentOS 5 KDE uses GDM instead of KDM. So CentOS 5 only needs to be configured with GDM.
Method 1: Edit the/etc/gdm/custom.conf and add the following:
[Daemon]
Remotegreeter=/usr/libexec/gdmgreeter Note: The "Telnet interface is the same as the local login interface" feature, without this and [greeter] entry The login interface is compact [security]

Allowremoteroot=true Note: Allow root users to telnet [XDMCP]
Enable=true Note: Allow telnet locally, XDMCP default port 177, not shown here join port=177 [greeter]
Browser=true NOTE: The remote login interface is "The simple theme of taking the lead like a browser", if you define [daemon]

CentOS 5

On the configuration (for Linux with the default graphics environment for GNOME):

1. Configuration

The default graphical environment for GDM CentOS 5 is GNOME, which installs only GDM, and CentOS 5 KDE uses GDM instead of KDM. So CentOS 5 only needs to configure GDM

Method 1: Edit

/etc/gdm/custom.conf, add the following:

The configuration file on my computer is as follows:

[Plain] view plaincopy

    1. # GDM Configuration Storage
    2. [Daemon]
    3. Remotegreeter=/usr/libexec/gdmgreeter
    4. [Security]
    5. Allowremoteroot=true
    6. [XDMCP]
    7. port=177
    8. Enable=true
    9. [Greeter]
    10. [Chooser]
    11. [Debug]

3. Restart the service:
1. Open the UDP 177 port in the firewall. If you have disabled the firewall, you can skip this entry.
Method 1 (for terminal): In the/etc/sysconfig/iptables file, add:
-A rh-firewall-1-input-m state--state new-m udp-p UDP--dport 177-j ACCEPT

Then execute $service iptables restart

Not really, you can shut down the firewall directly $service iptables stop

Three. Install Xmanager on Windows (Xme4.exe), do not download the so-called cracked version, its official website can be used, but there should be a time limit

After installation, create a new Xtart session via Xbrower, such as:

[Daemon]

Remotegreeter=/usr/libexec/gdmgreeter

Note: The Telnet interface is the same as the local login interface feature,

If there is no such item and

[Greeter]

The login interface is a simple type

Four. OK, now it's successfully connected to CentOS!

[Security]

Xmanager Remote Desktop Configuration

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.