본문 바로가기

IT

버추얼박스(VirtualBox)의 라즈베리파이 데스크톱(Raspberry Pi Desktop) 설치 및 설정 메모 (특히 해상도변경)

2019년 11월20일 추기

팀뷰어(TeamViewer)를 그동안 잘 써왔습니다만 "상업적 사용 감지됨"를 더 이상 견딜 수 없어 대체 프로그램을 찾아보던 중 등잔 밑에서 발견했습니다. 바로 "Chrome 원격 데스크톱"입니다. 단순히 윈도우즈 원격 데스크톱의 클라이언트 프로그램인줄만 알았는데 팀뷰어(TeamViewer)를 완벽히 대체하는 프로그램이었습니다.

Chrome(크롬)을 사용하고 Google(구글) 어카운트가 있다면 간단한 설치,설정으로 바로 사용가능합니다.

개인적으로는 팀뷰어(TeamViewer)보다 더 간단하고, 편리합니다.

https://remotedesktop.google.com/home




팀뷰어(TeamViewer) '상업적 사용 감지됨'의 대응책으로 잘 쓰고 있는 라즈베리파이 데스크톱(Raspberry Pi Desktop) 입니다만 오늘은 갑자기 해상도가 갑자기 너무 작아져 버렸습니다.

작은 화면 안에서 팀뷰어(TeamViewer)로 또 다른 PC에 접속하기에는 무리가 있어 얼른 해결을 해야했습니다.


1. 재부팅

--------------------------

운좋게 해결될 때도 있지만..불안합니다.

--------------------------


2. 버추얼박스(VirtualBox)의 Guest Additions CDImages를 재 설치

--------------------------

VirualBox >> Devices >> Insert Guest Additions CD Images

(VM의 저장장치에서 컨트롤러:IDE에 광학장치를 (비워두기) 추가해야 합니다.)

라즈베리파이 데스크톱(Raspberry Pi Desktop) 의 터미널에서

sudo bash /media/cdrom/VBoxLinuxAdditions.run

를 실행하고 재부팅 합니다.

--------------------------

여기까지의 처리로 거의 해결된 것 같은데 가끔 애매하게 조금 남을때가 있습니다.

1680X1050 해상도의 모니터인데 꽉 차지않고 조금씩 작습니다.


3. 스크린사이즈 직접변경

--------------------------

라즈베리파이 데스크톱(Raspberry Pi Desktop) 의 터미널에서

xrandr -s 1680x1050


매번 적용 되게 하려면 홈디렉토리의 .profile에 추가하면 되겠습니다.

--------------------------

엄밀하게 말하면 해결은 아닙니다.

VM의 윈도우창의 사이즈를 변경하면 라즈베리파이 데스크톱(Raspberry Pi Desktop) 의 화면사이즈도 자동으로 맞춰서 조정이 되야하는데 되지 않습니다. 일단 풀스크린(Full Screen)상태가 모니터를 꽉 채우는 것으로 만족이기에..해결로 ...합니다.


정리한 김에 예전에 참고했던 버추얼박스(VirtualBox)에 라즈베리파이 데스크톱(Raspberry Pi Desktop) 설치 및 설정 메모입니다.


라즈베리파이 데스크톱(Raspberry Pi Desktop) 다운로드

DEBIAN STRETCH WITH RASPBERRY PI DESKTOP 을 다운로드

https://www.raspberrypi.org/downloads/raspberry-pi-desktop/


버추얼박스(VirtualBox)에 가상머신추가

Machine>>New

----------

Name: RaspberryPiDesktop (자유)

Type:Linux

Version:Debian(64-bit)

Memory Size: 1024MB(자유)

Hard disk: Create a virtual hard disk now >> VID(VirtualBox Disk Image) >> Dynamically allocated >> 16 GB(자유)

System : Processor : 2개(자유)

Storage : 위에서 다운로드한 ISO이미지를 선택

----------


라즈베리파이 데스크톱(Raspberry Pi Desktop) 설치

Debian GNU/Linux boot menu: Graphical install

Configure the keyboard : Korean(자유)

Partition disks: Guided - use entire disk >> 디스크선택 >> All files in one partition(recommended for new users)(자유)

>> Finish partitioning and write changes to disk >> Yes

Install the GRUB boot loader on a hard disk : Yes >> /dev/sda 를 선택

Finish the installation : Continue클릭


라즈베리파이 데스크톱(Raspberry Pi Desktop) 설치완료 부팅 후

패키지갱신

터미널에서 sudo sh -c 'apt update && apt upgrade -y && reboot'


한글설치/설정

터미널에서

sudo apt-get install ibus

sudo apt-get install ibus-hangul

sudo apt-get install ttf-unfonts-core

(뭐라고 에러나는데 에러 내용보고 따라하면 해결되었습니다. 패키지가 변경 되었던 기억입니다.)


Menu >> Preferences >> Respberry Pi Configuration >> Localisation >> Set Locale

Language : ko(Korean)

Country : KR(Republic of Korea)

Character Set : UTF-8


Menu >> Preferences >> Respberry Pi Configuration >> Localisation >> Set Keyboard

Country: Korea, Republic of

Variant : Korean(101/104 key ..)

반응형