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!