对很多应用来说,需要连接linux远程桌面来操作应用:
1.首先连接远程桌面需要系统处于 run-level5
# who -r 或 runlevel //查看运行级别
2.修改配置文件 /etc/gdm/customer.conf
[security]
DisallowTCP=false
[xdmcp]
Enable=true
3.重启并检查gdm服务
Redhat6 # pkill -f gdm-binary
Redhat7 # systemctl restart gdm.service
# lsof -Pi :177
RHEL7远程桌面黑屏问题:
•When a user try to launch any application(Eg: Firefox, GNOME-Terminal and GNOME-Control-Center etc..) in the XDMCP session, the application windows is complete black.
•Every GUI application is showing same behaviour in the XDMCP session.
•The problem is reproducible only when the user connects to the RHEL7.6 system via xdmcp from the other system in the network.
解决:
Update the Mesa package to the latest version (mesa-18.0.5-4.el7_6) to fix the issue.