Solve the problem that Xmanager cannot log on to Linux.
Source: Internet
Author: User
Article Title: solves the problem that Xmanager cannot log on to 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 categories. 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 connect to Linux using tools such as xmanager!
Step 8:
If you want to automatically start xdm at each startup, add it at the end of the/etc/rc. d/rc. local file. /Etc/X11R6/bin/xdm (execute the xdm script and the path may be different. Use which xdm to find the path)
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