suse 15 sp3 for sap 配置xdmcp


1.修改/etc/sysconfig/displaymanager文件

vi /etc/sysconfig/displaymanager

DISPLAYMANAGER_ROOT_LOGIN_REMOTE="yes"

DISPLAYMANAGER_STARTS_XSERVER="yes"

DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="no"

DISPLAYMANAGER_AUTOLOGIN=""

DISPLAYMANAGER_PASSWORD_LESS_LOGIN="no"

DISPLAYMANAGER_AD_INTEGRATION="no"

DISPLAYMANAGER_SHUTDOWN="root"

DISPLAYMANAGER_XSERVER="Xorg"

2.修改/etc/X11/xdm/xdm-config

vi /etc/X11/xdm/xdm-config

DisplayManager.requestPort: 0

3.修改/etc/gdm/custom.conf

 vi /etc/gdm/custom.conf

[daemon]

[security]

[xdmcp]

[greeter]

[chooser]

[debug]

4.重启

systemctl restart xdm

5.防火墙开启

vi /etc/sysconfig/SuSEfirewall2

W_SERVICES_EXT_TCP="22 177"

防火墙关停操作

systemctl start/stop/disable/status SuSEfirewall2.service