suse下面远程root图形登陆设置

阅读更多
在suse下面默认是不能远程使用root登陆图形界面的。要修改以下的文件:
vi /etc/opt/kde3/share/config/kdm/kdmrc
修改类似字段成如下:
[Xdmcp]
# Whether KDM should listen to XDMCP requests. Default is true.
Enable=true
# The UDP port KDM should listen on for XDMCP requests. Don't change the 177.
Port=177

vi /etc/rc.config
增加ROOT_LOGIN_REMOTE="yes"

vi /etc/sysconfig/displaymanager
改变下面的字段DISPLAYMANAGER_REMOTE_ACCESS="yes"
suse9下/etc/sysconfig/displaymanager需增加修改
DISPLAYMANAGER_ROOT_LOGIN_REMOTE="yes"

之后运行:
rckdm restart
就可以远程使用root登陆图形了。







Suse10下面远程root图形登陆设置

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
即可连线。

你可能感兴趣的:(SuSE,Security,Access,UP,.net)