root用户自动登录
编辑文件: /etc/gdm/custom.conf的内容:
1 # GDM configuration storage
2
3 [daemon]
4 #GtkModulesList=gail:atk-bridge:/usr/lib/gtk-2.0/modules/libkeymouselistener:/usr/lib/gtk-2.0/mo dules/libdwellmouselistener
5 #AddGtkModules=true
6 #RemoteGreeter=/usr/libexec/gdmgreeter
7 #AutomaticLoginEnable=true
8 #AutomaticLogin=zzr
9 #TimedLoginEnable=true
10 #TimedLogin=zzr
11 #TimedLoginDelay=1
12
13 AutomaticLoginEnable=true
14 AutomaticLogin=root
15 TimedLoginEnable=true
16 TimedLogin=root
17 TimedLoginDelay=5
18
19 [security]
20 AllowRoot=true
21
22 [xdmcp]
23
24 [greeter]
25
26 [chooser]
27
28 [debug]
29