凝思系统配置xmanager连接方法

 如上,可以看到,凝思的各种版本,本机系统版本在开机桌面上会显示。

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

xmanager 使用 secure XDMCP模式连接才会看到远程桌面。

————————————————
版权声明:本文为CSDN博主「caoyangzzZ」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/caoyangzzZ/article/details/118558384


 

猜你喜欢

转载自blog.csdn.net/modi000/article/details/123417434
今日推荐