xmanager配置(1)

上一篇 / 下一篇  2009-07-17 14:09:57

1、vi /etc/X11/xdm/Xaccess

#*                                       #any host can get a login window
修改为:
*                                       #any host can get a login window
2、vi /etc/X11/xdm/xdm-config

DisplayManager.requestPort:     0
修改为:
#DisplayManager.requestPort:     0
3、vi /etc/opt/gnome/gdm/gdm.conf
[xdmcp]
# Distributions: Ship with this off.  It is never a safe thing to leave
# out on the net.  Setting up /etc/hosts.allow and /etc/hosts.deny to only
# allow local access is another alternative but not the safest.
# Firewalling port 177 is the safest if you wish to have xdmcp on.
# Read the manual for more notes on the security of XDMCP.
Enable=false  修改为Enable=true
# Honour indirect queries, we run a chooser for these, and then redirect
# the user to the chosen host.  Otherwise we just log the user in locally.
HonorIndirect=true
# Maximum pending requests
#MaxPending=4
#MaxPendingIndirect=4
# Maximum open XDMCP sessions at any point in time
#MaxSessions=16
# Maximum wait times
#MaxWait=15
#MaxWaitIndirect=15
# How many times can a person log in from a single host.  Usually better to
# keep low to fend off DoS attacks by running many logins from a single
# host.  This is now set at 2 since if the server crashes then gdm doesn't
# know for some time and wouldn't allow another session.
#DisplaysPerHost=2
# The number of seconds after which a non-responsive session is logged off.
# Better keep this low.
#PingIntervalSeconds=15
# The port.  177 is the standard port so better keep it that way
#Port=177   修改为Port=177

TAG:

 

评分:0

我来说两句

Open Toolbar