歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> 開啟SUSE 10.1 Xmanager遠端登入

開啟SUSE 10.1 Xmanager遠端登入

日期:2017/2/28 16:54:16   编辑:Linux教程

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
即可連線。

Copyright © Linux教程網 All Rights Reserved