firefox 브라우저에서 설치하는 것이 크롬브라우저보다 에러가 덜 난다.
sudo dpkg -i [크롬원격데스크톱파일].deb
혹시 의존성 에러 나면, 의존성이 필요한 패키지를 모두 설치할것
현재는 구글원격데스크톱 화면에 '사용'버튼이 보이지 않음
mkdir ~/.config/chrome-remote-desktop
구글원격데스크톱 화면에 '사용'버튼이 보이게 된다.
2. Home 디렉토리에 ".chrome-remote-desktop-session" 이라는 세션 파일 만들기 안해도 된다.
cd
vi .chrome-remote-desktop-session
3-1. 세션 파일 수정
startxfce4
입력 후 닫기
3-2 '사용' 버튼 클릭해서 정보 입력
'사용'버튼 클릭, 사용자이름,PIN번호 입력
/opt/google/chrome-remote-desktop/chrome-remote-desktop --stop
sudo cp /opt/google/chrome-remote-desktop/chrome-remote-desktop /opt/google/chrome-remote-desktop/chrome-remote-desktop.org
sudo vi /opt/google/chrome-remote-desktop/chrome-remote-desktop
"FIRST_X_DISPLAY_NUMBER"를 찾아서 아래와 같이 수정
FIRST_X_DISPLAY_NUMBER=0
6-1다음 코드를 찾아 주석 처리 한다. 주석 처리는 문장 앞에 #을 추가하면 된다.
#while os.path.exists(X_LOCK_FILE_TEMPLATE % display):
# display += 1
6-2 launch_session 함수를 찾아 수정한다 _launch_x_server()와 _launch_x_session()을 주석처리 해서 새로운 display가 생성되지 않게 한다. 그리고 두 줄의 코드를 추가하여 기존의 디스플레이를 사용한다. 이제 파일을 저장하고 편집 툴을 종료한다
def launch_session(self, x_args):
self._init_child_env()
self._setup_pulseaudio()
self._setup_gnubby()
self.child_env["DISPLAY"]= ":%d" % display
#self._launch_x_server(x_args)
#self._launch_x_session()
display = self.get_unused_display_number() # 추가
self.child_env["DISPLAY"] = ":%d" % display # 추가
def launch_session(self, server_args, backoff_time):
"""Launches process required for session and records the backoff time
for inhibitors so that process restarts are not attempted again until
that time has passed."""
logging.info("Setting up and launching session")
self._init_child_env()
self.setup_audio()
self._setup_gnubby()
#self._launch_server(server_args) #주석처리
#if not self._launch_pre_session(): #주석처리
# If there was no pre-session script, launch the session immediately.
#self.launch_desktop_session() #주석처리
self.server_inhibitor.record_started(MINIMUM_PROCESS_LIFETIME,
backoff_time)
self.session_inhibitor.record_started(MINIMUM_PROCESS_LIFETIME,
backoff_time)
display = self.get_unused_display_number() #추가
self.child_env["DISPLAY"] = ":%d" % display #추가
/opt/google/chrome-remote-desktop/chrome-remote-desktop --start