AWS EC2 Ubuntu GUI 연결

Remote Desktop 이용해 AWS EC2 Ubuntu GUI 연결 하기

Server - AWS EC2 Ubuntu 22.04

EC2 설정

# 패키지 매니저 업데이트
sudo apt update

## 패키지 설치
sudo apt install ubuntu-desktop
sudo apt install xrdp

## 접속하려는 계정 암호 설정
sudo passwd ubuntu

AWS EC2 보안그룹 인바운드 규칙에서 RDP 3389 포트 추가

💡 (참고) xrdp 관련 설정
xrdp 설정파일 위치는 `/etc/xrdp/sesman.ini` 
해당 파일에서 포트, 루트로그인, 세션 등 설정

Local PC

Microsoft Remote Desktop 설치
Add PC 클릭 후 접속하려는 서버 IP 기입 → 계정과 패스워드 입력 후 연결

요렇게 GUI 환경으로도 사용이 가능 합니다.

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!