开启SUSE 10.1 Xmanager远端登入

vi /etc/opt/gnome/gdm/gdm.conf

此设定档与大部分相同,以下为我更动过的选项

[security]
# If any distributions ship with this one off, they should be shot
# this is only local, so it’s only for say kiosk use, when you
# want to minimize possibility of breakin
AllowRoot=true
# If you want to be paranoid, turn this one off
AllowRemoteRoot=true
# If true this will basically append -nolisten tcp to every X command line,
# a good default to have (why is this a “negative” setting? because if
# it is false, you could still not allow it by setting command line of
# any particular server). It’s probably better to ship with this on
# since most users will not need this and it’s more of a security risk
# then anything else.
# Note: Anytime we find a -query or -indirect on the command line we do
# not add a “-nolisten tcp”, as then the query just wouldn’t work, so
# this setting only affects truly local sessions.
DisallowTCP=false
AllowShutdown=true
# Whether you need the root password to shut down from GDM and logout dialog.
SecureShutdown=true

[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=true
# The port. 177 is the standard port so better keep it that way
Port=177


设定完成后
/etc/init.d/xdm restart
即可连线。

linux

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/f8af79b8a898a0a28d570326b309c2c2.html