共同点:
/etc/inittab文件
修改/etc/inittab文件
id:3:initdefault:
修改为:
id:5:initdefault: /etc/hosts
保证有如下两行:
127.0.0.1localhost
IP localhost
关闭防火墙 禁用SELinux
用命令system-config-firewall来关闭防火墙
区别:
red-hat 5.3
/usr/share/gdm/defaults.conf
/usr/share/gdm/defaults.conf这个gdm的配置文件,主要是以下内容:
Enable=true
DisplaysPerHost=10
Port=177
AllowRoot=true
AllowRemoteRoot=true
AllowRemoteAutoLogin=true
red-hat 6.3
1. Open /etc/gdm/custom.conf and edit the security and xdmcp section like the followings:
[security]
DisallowTCP=false
[xdmcp]
Enable=true 其实只添加这行也可以
Port=177
2. Add UDP port 177 to the Allow list on firewall.
本文详细介绍了如何修改Linux系统中的关键配置文件,包括inittab文件、hosts文件,以及如何关闭防火墙和SELinux。同时,对于Red Hat 5.3与Red Hat 6.3之间的配置差异进行了对比,并提供了gdm配置文件与Red Hat 6.3系统中对防火墙和gdm配置的调整方法。
1万+

被折叠的 条评论
为什么被折叠?



