"이 포스팅은 쿠팡 파트너스 활동의 일환으로, 이에 따른 일정액의 수수료를 제공받습니다."


[Linux] 우분투 20.04 원격접속 시 오류 해결하기
728x90

 

 

우분투 20.04에서 xrdp로 원격 접속 시 Authentication Required를 계속 요구하는 오류 해결 방법을 알아보겠습니다.

 

원격접속 시 Authentication is required to create a color managed device 메시지가 나오며 인증을 요구하는 경우가 있습니다.

root 패스워드를 입력하면 인증이 되고 창이 없어집니다. 그런데 재로그인 시 Authentication is required to create a color profile 메시지와 함께 인증을 요구하는 창이 뜨고 인증을 해도 창이 없어지지 않는 현상이 발생합니다.

 

이때 다음과 같이 color 프로파일을 생성해주면 인증창이 뜨지 않습니다.

 

 

color 프로파일 생성하기

polkit-1 디렉토리를 확인해보면 관련 프로파일이 없음을 볼 수 있습니다.

 

아래 위치에 color.pkla 파일을 생성합니다.

$ sudo vi /etc/polkit-1/localauthority/50-local.d/color.pkla

 

아래 내용을 입력하고 파일을 저장합니다.

[Allow colord for all users]
Identity=unix-user:*
Action=org.freedesktop.color-manager.create-device;org.freedesktop.color-manager.create-profile;org.freedesktop.color-manager.delete-device;org.freedesktop.color-manager.delete-profile;org.freedesktop.color-manager.modify-device;org.freedesktop.color-manager.modify-profile
ResultAny=yes
ResultInactive=yes
ResultActive=yes

 

로그아웃하고 다시 로그인하면 해당 창이 사라지고 다시 인증을 묻는 창이 뜨지 않습니다.

 

 

728x90
728x90
LIST