복사되었습니다!
OS 환경 : Oracle Linux 8.7 (64bit)
DB 환경 : Oracle Database 19.27.0.0
방법 : 오라클 19c 설치 시 gui 창 띄우는 방법
오라클 설치를 진행할때 gui를 제대로 띄우지 못하는 경우가 종종 발생함
본문과 같이 mobaxterm을 사용하면 gui를 간편하게 띄울 수 있음
먼저 mobaxterm 설치
참고 : MobaXterm 설치 가이드 ( https://positivemh.tistory.com/1114 )
xauth 패키지 설치 확인
|
1
2
|
# rpm -qa |grep xauth
xorg-x11-xauth-1.0.9-12.el8.x86_64
|
패키지가 없다면 설치가 필요함
|
1
|
# dnf install -y xauth
|
mobaxterm으로 서버에 접속 할 때 X11-forwarding 부분이 체크되어있는지 확인
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
┌──────────────────────────────────────────────────────────────────────┐
│ • MobaXterm Personal Edition v23.2 • │
│ (SSH client, X server and network tools) │
│ │
│ ⮞ SSH session to root@192.168.137.50 │
│ • Direct SSH : ✓ │
│ • SSH compression : ✓ │
│ • SSH-browser : ✓ │
│ • X11-forwarding : ✓ (remote display is forwarded through SSH) │
│ │
│ ⮞ For more info, ctrl+click on help or visit our website. │
└──────────────────────────────────────────────────────────────────────┘
[oracle@ora19fs ~]$
|
만약 X로 표시되는 경우 /etc/ssh/sshd_config의 X11Forwarding을 Yes 로 변경해줘야함
|
1
2
3
4
5
6
|
# vi /etc/ssh/sshd_config
#기존
X11Forwarding no
#변경
X11Forwarding yes
|
이후 sshd 재시작
|
1
|
# systemctl restart sshd
|
mobaxterm에서 root 유저가 아닌 oracle 유저로 직접 접속
(서버 우클릭 - Connect as ... 선택 - oracle 입력 후 접속)

echo $DISPLAY을 수행한 뒤 localhost:16:0과 같은 텍스트가 나온 상태에서
runInstaller 또는 dbca를 수행하면 정상적으로 gui가 나타남
|
1
2
3
4
|
$ echo $DISPLAY
localhost:16.0
$ dbca
(gui 표시됨)
|

만약 .bash_profile에 DISPLAY 설정값이 존재한다면 주석처리 또는 제거 후 다시 oracle 유저로 직접 접속한뒤 수행해야함
참조 :
Linux 7 Gui 실행 문제 No protocol specified ( https://positivemh.tistory.com/1218 )
'ORACLE > Install' 카테고리의 다른 글
| 오라클 26ai AutoUpgrade를 이용해 엔진 설치 방법 (0) | 2026.05.12 |
|---|---|
| Oracle 26ai Single DB RU(Release Update) 패치 가이드 (0) | 2026.05.01 |
| VirtualBox에 Oracle 26ai Free 로드 가이드 (0) | 2026.04.06 |
| Oracle Linux 9.6에 Oracle 26ai Free RPM 설치 가이드 (0) | 2026.03.25 |
| Oracle Linux 9.6에 Oracle 26ai 설치 가이드 (2) | 2026.01.30 |
