1.修改/etc/sysconfig/displaymanager
DISPLAYMANAGER_REMOTE_ACCESS="yes"
DISPLAYMANAGER_ROOT_LOGIN_REMOTE="yes"
DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="yes"
2.配置/etc/gdm/custom.conf
# GDM configuration storage
[xdmcp]
# SuSEconfig: displaymanager:DISPLAYMANAGER_REMOTE_ACCESS
Enable=true
Port=177
[chooser]
[security]
# SuSEconfig: displaymanager:~DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN
DisallowTCP=false
# SuSEconfig: displaymanager:DISPLAYMANAGER_ROOT_LOGIN_REMOTE
AllowRemoteRoot=true
[debug]
3.更改/etc/X11/xdm/xdm-config
注消 DisplayManager.requestPort: 0 只需在前面加“!”
DISPLAYMANAGER_REMOTE_ACCESS="yes"
DISPLAYMANAGER_ROOT_LOGIN_REMOTE="yes"
DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="yes"
2.配置/etc/gdm/custom.conf
# GDM configuration storage
[xdmcp]
# SuSEconfig: displaymanager:DISPLAYMANAGER_REMOTE_ACCESS
Enable=true
Port=177
[chooser]
[security]
# SuSEconfig: displaymanager:~DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN
DisallowTCP=false
# SuSEconfig: displaymanager:DISPLAYMANAGER_ROOT_LOGIN_REMOTE
AllowRemoteRoot=true
[debug]
3.更改/etc/X11/xdm/xdm-config
注消 DisplayManager.requestPort: 0 只需在前面加“!”
本文档详细介绍了如何通过编辑配置文件实现Linux系统的远程桌面访问功能。主要步骤包括:修改displaymanager配置允许远程访问、调整gdm配置文件启用相关设置及修改xdm-config确保远程连接正常工作。

3611

被折叠的 条评论
为什么被折叠?



