2가지 방법
================================================================ Edited /etc/gdm/custom.conf file and added the foolowing entries: [xdmcp] Enable=true
[security] DisallowTCP=false AllowRemoteRoot=true
Rebooted RHEL7.
On the X server, tried XDMCP connection to RHEL7 host, got back message: "Oh no! Something has gone wrong. A problem has occurred and the system can't recover. Please log out and try again."
Thank you for your attention.
====================================================================================
redhat Enterprise Linux(RHEL) 7.3, 7.2, 7.1, 7.0에서 XDMCP 접속을 위한 안내입니다.
RHEL 7의 기본 사용자 환경인 Gnome은 그래픽 렌더링을 위해 하드웨어를 직접 사용합니다. 그래서 Xmanager와 같이 원격에서 접속하는 경우에는 사용자 환경에 접속하지 못하거나 접속을 하더라도 매우 느립니다.
그러므로 RHEL 7을 사용할 경우에는 Gnome 사용자 환경과 XDMCP 데몬인 gdm을 사용할 수 없고 다른 XDMCP 데몬과 다른 사용자 환경을 사용해야 합니다.
다음은 XDMCP 데몬으로 gdm이 아닌 lightdm을, Gnome 사용자 환경 대신 Xfce나 KDE를 설치하고 사용하는 방법에 대한 안내입니다. 인터넷 접속 여부 등 실제 사용 환경과 다소 차이가 있을 수 있으며 다음 안내에 따라 변경한 시스템에서 생기는 문제에 대해서는 전적으로 사용자에게 있습니다.
다음은 모두 root의 권한으로 진행합니다.
XDMCP 데몬 교체 : gdm -> lightdm
1. lightdm 설치
저장소 정보 설치
# yum install http://download.netsarang.co.kr/files/etc/epel-release-7-0.2.noarch.rpm
# yum install lightdm
2. lightdm 설정
# vi /etc/lightdm/lightdm.conf
(파일이 없는 경우 새로 생성합니다.)
위 파일에서 다음과 같이 되도록 수정합니다.
[XDMCPServer] enabled=true
3. 기본 Display Manager인 gdm 해지 및 중지
# systemctl disable gdm ; systemctl stop gdm
4. 새 Display Manager로서 lightdm 지정 및 시동
# systemctl enable lightdm; systemctl start lightdm
5. 방화벽 해제(방화벽 규칙에서 UDP 177번 등록에 대한 내용은 해당 OS의 사용자 매뉴얼을 참고하세요)
# systemctl stop firewalld.service
링크 https://www.netsarang.co.kr/faq/xmanager/11910
|