Question! There are several steps to enable xmanager in Linux.

Source: Internet
Author: User
Article Title: Q! There are several steps to enable xmanager in Linux. Linux is a technology channel of the IT lab in China. Includes desktop applications, Linux system management, kernel research, embedded systems, open source, and other basic classification Step 1
 
In Linux, modify the/etc/X11/xdm/Xaccess file and find the following statement:
 
# * # Any host can get a login window
 
Remove the # At the beginning and become
 
* # Any host can get a login window
 
Step 2
 
Modify the/etc/X11/TPD. conf file and find the following statement:
 
[Xdmcp]
 
Enable = false
 
Change Enable = false to Enable = true or Enable = 1.
 
At the same time, make sure that the following statement exists, because port 177 is the listening port of the xdmcp service we want to configure. We will see the xmanager later.
 
Port = 177
 
Step 3
 
Modify the/etc/inittab file and run the following statement:
 
Id: 3: initdefault
 
If it is id: 5: initdefault, you do not need to change it.
 
At the same time, find the place where the text is located,
 
X: 5: respawn:/etc/X11/preofdm-nodaemon
 
Change it to x: 5: respawn:/usr/bin/TPD
 
Step 4
 
Modify the last line of/etc/X11/xdm-config and add one before displayManager. requestPort: 0! The result is as follows:
 
! DisplayManager. requestPort: 0
 
Step 5
 
Make sure that the attribute of/etc/X11/xdm/Xservers is 444 and that of/etc/X11/xdm/Xsetup_0 is 755.
 
Finally, if our Linux machine is configured with a firewall, we must add the following rules to prevent the firewall from worrying over the data on port 177 (xdmcp service:
 
Iptables-a input-p udp-s 0/0-d 0/0 -- dport 177-j ACCEPT
 
Step 6
 
Restart Linux.
 

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.