配置文件位置:/usr/share/gdm/:[xdmcp]段DisplaysPerHost=101、Enable=true //257行2、Port=177//284行[security]段3、AllowRemoteRoot=true //214行 替换原来最后一行为/etc/inittab文件最后一行为x:5:respawn:/usr/bin/gdm使用命令gdm-restart重启gdm;stat-nltpu|grep177xmanager连接不上,可能关闭RedHat防火墙serviceiptablesstop二、如果允许Root用户连接到XMANAGER需要修改以下内容: #vi/usr/share/gdm/ [security]#Allowroottologin. Itmakessensetoturnthisoffforkioskuse,when#=true#AllowloginasrootviaXDMCP. Thisvaluewillbeoverriddenandsetto#falseifthe/etc/default/loginfileexistsandcontains#"CONSOLE=/dev/login",andsettotrueifthe/etc/default/loginfileexists#=true#=false#0isthemostrestrictive,1allo #vi/etc/securetty......tty2tty3tty4tty5tty6tty7tty8tty9tty10tty11pts/0pts/1pts/2pts/3pts/4 添加这一些。 #vi/etc/ #%PAM-#auth[user_unknown=ess=okignore=ignoredefault=bad] include system-ount required include system-authpassword include system-auth# required include system-authsession required optional #
redhat5开启xManager方法 来自淘豆网m.daumloan.com转载请标明出处.