[Linux] configure a Linux host so that you can use the xbrowser of xmanager to log on to the graphic interface.

Source: Internet
Author: User

Xmanager server configuration method
The above method is available on the xmanager official website at http://www.netsarang.com/products/xmg_faq.html and is applicable to the centos 5.3 platform.

1. xdm Configuration

1. Change runlevel to 5

 

Open/etc/inittab and set the initial runlevel to 5 as following:
ID: 5: initdefault:
 
2. Enable XDMCP
 
For TPD: GNOME Desktop
 
Open/etc/TPD/custom. conf and set the enable entry to 1 in the [XDMCP] section as following.
[XDMCP]
Enable = 1

Open/etc/TPD/custom. conf and set the disallowtcp entry to false in the [Security] section as following.
[Security]
Disallowtcp = false

 
For KDM: KDE Desktop
 
Open/etc/X11/xdm-config comment out the "requestport" option as following:
Displaymanager. requestport: 0 ==>
! Displaymanager. requestport: 0
Open/etc/X11/xdm/xaccess and remove the initial "#" character for the following line:
# * # Any host can get a login window ==>
* # Any host can get a login window
Open/etc/KDE/KDM/kdmrc and set the enable entry to true in the [XDMCP] section as following.
[XDMCP]
Enable = true

 
2. Firewall (TCP/UDP ports) Configuration

Open UDP port 177 from the PC to the remote host direction.
Open incoming TCP ports 6000 ~ 6010 from the remote host to your PC.

3. Reboot the remote host and start xmanager

# Init 3; init 5

 
The following configuration method comes from the page: http://wanghaier22.blog.163.com/blog/static/7208791420098224236825/

To allow the root user to connect to xmanager, modify the following content:
# Vim/usr/share/TPD/defaults. conf

[Security]
# Allow root to login. It makes sense to turn this off for kiosk use, when
# You want to minimize the possibility of break in.
Allowroot = true
# Allow Login as root via XDMCP. This value will be overridden and set
# False if the/etc/default/login file exists and contains
# "Console =/dev/login", and set to true if the/etc/default/login file exists
# And contains any other value or no value for console.
Allowremoteroot = true
# This will allow remote timed login.
Allowremoteautologin = false
#0 is the most restrictive, 1 allow

4. xbrower

Right-click, new, xmanager session, (xdm query), fill in the IP address, and click OK!

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.