42
系统
1.
将文件
/usr/share/confifig/kdm/kdmrc
中的
[Xdmcp]
字段
“Enable=false”
改为
“Enable=true”
vim /usr/share/config/kdm/kdmrc
......
[Xdmcp]
# Whether KDM should listen to incoming XDMCP requests.
# Default is true
Enable=true
# The UDP port on which KDM should listen for XDMCP requests. Do not change.
# Default is 177
# Port=177
......
2.
重启图形服务生效
/etc/init.d/kdm restart
3.
注释
/etc/resolv.conf
文件里面的全部内容
vim /etc/resolv.conf
# # /etc/resolv.conf: resolver configuration file
# search in.linx
# nameserver 114.114.114.114
# domain in.linx
#
# # End of file
60
系统
1.
在
/etc/gdm3/daemon.conf
文件里
[xdmcp]
字段的下一行添加
"Enable=true"
vim /etc/gdm3/daemon.conf
......
[security]
AllowRootLogin=true
DisallowTCP=false
[xdmcp]
Enable=true
[greeter]
[chooser]
[debug]
2.
重启图形服务生效
/etc/init.d/gdm3 restart
3.
注释
/etc/resolv.conf
文件里面的全部内容
vim /etc/resolv.conf
# search unassigned-domain
# nameserver 192.168.1.1
80
系统
1.
修改文件
/etc/lightdm/lightdm.conf
,将
[XDMCPServer]
字段下的
“enabled=false”
改为 “enabled=true”
vim /etc/lightdm/lightdm.conf
......
# it can be a word and the first 7 characters are used as the key.
#
[XDMCPServer]
enabled=true
#port=177
#key=
#
# VNC Server configuration
......
2.
连接
xmanager
后,若需要使用
root
账户登录,需要继续修改文件
/etc/lightdm/lightdm.conf
,将 字段"greeter-show-manual-login=false"
改为
"greeter-show-manual-login=true"
vim /etc/lightdm/lightdm.conf
#unity-compositor-command=unity-system-compositor
#unity-compositor-timeout=60 #greeter-session=example-gtk-gnome
#greeter-hide-users=false
#greeter-allow-guest=true
#greeter-show-manual-login=false
greeter-show-manual-login=true
#greeter-show-remote-login=true #user-session=default
#allow-user-switching=true
#allow-guest=true #guest-session=
#session-wrapper=lightdm-session
#greeter-wrapper=
......
3.
重启图形服务生效
/etc/init.d/lightdm restart
4.
文件
/etc/resolv.conf
里面若有内容,则需要全部注释
cat /etc/resolv.conf
#search unassigned-domain
#nameserver 192.168.11.254
注:本文章内容非原创,如有侵权,请联系删除。