How can I solve the problem that xmanager cannot log on to linux?

Source: Internet
Author: User
How to solve the problem that xmanager cannot log on to linux-Linux general technology-Linux technology and application information, the following is a detailed description. Step 1:

Edit/etc/X11/xdm/Xaccess and set the following lines:

# * # Any host can get a login window

Changed:

* # Any host can get a login window

Step 2:

Modify/etc/X11/TPD. conf and find the following information:

[Xdmcp]

Enable = 0 or Enable = false

To:

[Xdmcp]

Enable = 1 or Enable = true

Make sure that the following information exists:

Port = 177

Step 3:

Modify the/etc/inittab and set

Id: 3: initdefault:

To:

Id: 5: initdefault:

Step 4:

Make sure that the attribute of/etc/X11/xdm/Xservers is 444 and that of/etc/X11/xdm/Xsetup_0 is 755.

Step 5:

# Vi/etc/X11/xdm-config
Add "DisplayManager. requestPort: 0" to the last row! Comment out this line.

Step 6:

# Vi/etc/X11/xdm/Xservers
Comment out this line with # In front of the last line: 0 local/usr/X11R6/bin/X.

Step 7:
Run # xdm. In this way, you can use tools such as xmanager to connect to Linux!

Step 8:
If you want to automatically start xdm at each startup, go to/etc/rc. d/rc. add the local file tail. /etc/X11R6/bin/xdm (execute the xdm script and the path may be different. Use which xdm to find the path)

Step 9:
Disable Firewall
/Etc/init. d/iptables stop

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.