Ubuntu10.04默认不支持root直接登录,
下面来解决一下:
修改如下文件;
sudo /etc/gdm/gdm.schemas
找到如下内容:
<schema> <key>greeter/Include</key> <signature>s</signature> <default></default> </schema> <schema> <key>greeter/Exclude</key> <signature>s</signature> <default>bin,root,daemon,adm,lp,sync,shutdown,halt,mail,news,uucp,operator,nobody,nobody4,noaccess,postgres,pvm,rpm,nfsnobody,pcap</default> </schema>
|
<schema>
<key>greeter/Include</key>
<signature>s</signature>
<default></default>
</schema>
<schema>
<key>greeter/Exclude</key>
<signature>s</signature>
<default>bin,root,daemon,adm,lp,sync,shutdown,halt,mail,news,uucp,operator,nobody,nobody4,noaccess,postgres,pvm,rpm,nfsnobody,pcap</default>
</schema>
修改为:
<schema>
<key>greeter/Include</key>
<signature>s</signature>
<default>root</default>
</schema>
<schema>
<key>greeter/Exclude</key>
<signature>s</signature>
<default>bin,daemon,adm,lp,sync,shutdown,halt,mail,news,uucp,operator,nobody,nobody4,noaccess,postgres,pvm,rpm,nfsnobody,pcap</default>
</schema>