Skip to content

Instantly share code, notes, and snippets.

@joyk50
Last active May 15, 2020 00:16
Show Gist options
  • Save joyk50/424b72b0dfbb415c5dd80d33876c9d7c to your computer and use it in GitHub Desktop.
Save joyk50/424b72b0dfbb415c5dd80d33876c9d7c to your computer and use it in GitHub Desktop.
터미널로 서버(데비안 계열)에 크롬원격데스크톱 서비스를 설정하는 방법

터미널로 서버(데비안 계열)에 크롬원격데스크톱 서비스를 설정

  1. https://remotedesktop.google.com/headless/

  2. 서비스 프로그램 다운로드 및 설치 (wget 사용)

윈도우와 데비안 계열 리눅스에 지원, 데비안 계열 리눅스의 경우 sudo dpkg -i 파일이름 으로 설치가 가능

  1. systemd 서비스 설정까지 해줌, enable로 등록만 하자
  • sudo systemctl enable chrome-remote-desktop

필요 의존 모듈: sudo apt install xvfb xbase-clients python-psutil

  1. 크롬 브라우저 상에서 디스플레이 설정 및 인증
  • 접속할 계정으로 로그인후 안내되는 명령어로 디스플레이 설정과 인증을 완료 해주면 컴퓨터 이름과 핀 번호를 설정할 수 있는 상태로 터미널이 바뀐다.
DISPLAY= /opt/google/chrome-remote-desktop/start-host --code="해쉬값" --redirect-url="https://remotedesktop.google.com/_/oauthredirect" --name=
  1. 설정 끝
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment