하모니카 묻고답하기

2020.05.26 14:09

xrdp 구글 otp 사용

조회 수 699 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

안녕하세요

 

xrdp를 통해 구글 otp 설정을 해보려고 인터넷으로 찾아보고 여러가지로 노력해 보았으니 잘 안돼 질문을 드립니다.

 

아래 링크에 나와 있는 설정 부분들은 참조했는데 되지 않습니다.

 

로컬 콘솔 접속은 구글 otp로 정상 로그인 됩니다.

 

xrdp로 원격 접속 시 되지 않습니다.

 

https://github.com/google/google-authenticator-libpam/issues/110

 

설정 파일 

/etc/pam.d/xrdp-sesman 

#%PAM-1.0

#@include common-auth

#@include common-account

#@include common-session

#@include common-password

auth required pam_google_authenticator.so 

 

/etc/xrdp/xrdp.ini

otp=ask 추가 

 

 

* 서버 로그

/var/log/syslog

May 26 14:06:08 lino-VirtualBox xrdp[2311]: (2311)(139924954040128)[INFO ] xrdp_wm_log_msg: sesman connect ok

May 26 14:06:08 lino-VirtualBox xrdp[2311]: (2311)(139924954040128)[DEBUG] xrdp_wm_log_msg: sending login info to session manager, please wait...

May 26 14:06:08 lino-VirtualBox xrdp[2311]: (2311)(139924954040128)[DEBUG] return value from xrdp_mm_connect 0

May 26 14:06:08 lino-VirtualBox xrdp[2311]: (2311)(139924954040128)[INFO ] xrdp_wm_log_msg: login failed for display 0

May 26 14:06:08 lino-VirtualBox xrdp[2311]: (2311)(139924954040128)[DEBUG] xrdp_mm_module_cleanup

May 26 14:06:08 lino-VirtualBox xrdp[2311]: (2311)(139924954040128)[DEBUG] Closed socket 16 (AF_INET6 ::1 port 37952)

 

/var/log/auth.log

May 26 14:06:08 lino-VirtualBox xrdp-sesman(pam_google_authenticator)[2299]: Invalid verification code for lino

May 26 14:06:08 lino-VirtualBox xrdp-sesman[2299]: (2299)(139948263089472)[DEBUG] Closed socket 8 (AF_INET6 ::1 port 3350)

 

 

구글 검색을 해 보았는데 해결책을 찾지 못했습니다.

구글 otp로 xrdp 연동하신 분 계신지 모르겠습니다.

도움 부탁드립니다. 감사합니다.

 


List of Articles
번호 제목 추천 수 글쓴이 날짜 조회 수
공지 게시판에 질문하기 전 읽기 - 어떻게 질문을 하는 것이 좋을까? 1 0 Kevin 2019.11.18 13008
1976 [소식] 데비안 GNU/Linux 8.4 제시 다운로드 게시.... 1 file 0 행복한펭귄 2016.04.08 4229
1975 [소식] 우분투 16.04 지니얼 제루스 기본 바탕화면 공개... file 0 행복한펭귄 2016.04.08 4246
1974 [소식] 리브레 오피스 5.1.2 정식 릴리즈 (80개의 버그 수정 및 개선) file 0 행복한펭귄 2016.04.08 2823
1973 [소식] 오픈소스 AMDGPU 리눅스 드라이버가 업그레이드되었습니다 1 file 0 행복한펭귄 2016.04.08 3495
1972 [소식] Adobe Flash Player 11.2.202.616 발표 file 0 행복한펭귄 2016.04.08 3022
1971 [안내] King James Pure Bible Search file 0 행복한펭귄 2016.04.08 2657
1970 vivaldi 설치가 되지 않습니다.... 3 0 기즈모 2016.04.08 5280
1969 [소식] MATE 1.14 데스크탑 환경 발표 file 0 행복한펭귄 2016.04.09 2881
1968 [소식] 우분투 리눅스 인포그래픽 안내 file 0 행복한펭귄 2016.04.09 2912
1967 [소식] KDE 어플리케이션 16.04 (4월 20일 발표 예정) file 0 행복한펭귄 2016.04.09 2737
1966 [소식] ubuntuBSD 15.10 Beta 4 Released with Xfe as the Default File Manager 2 file 0 행복한펭귄 2016.04.09 3373
1965 [소식] GNOME Tweak Tool 3.18.1 발표 file 0 행복한펭귄 2016.04.09 2984
1964 [소식] man pages v4.05 엡데이트 발표 3 file 0 행복한펭귄 2016.04.09 5309
1963 radio를 어떻게 들으시나요~? 3 0 식혜고양이 2016.04.10 5888
1962 [소식] Krita 3.0 오픈소스 디지탈 페인팅 툴 5월 1일 첫번째 알파 발표 준비 중 file 0 행복한펭귄 2016.04.10 3284
1961 하모니카 XCOM2후기 5 0 kunash 2016.04.10 5499
1960 [뉴스] 리눅스가 대세다 0 행복한펭귄 2016.04.11 5505
1959 [소식] Linux Mint 18 to Offer Cinnamon 3.0 and MATE 1.14 Flavors, Arc GTK-Based Theme file 0 행복한펭귄 2016.04.11 3799
1958 [소식] Linux Kernel 4.6 Release Candidate 3 Is Now Available to Download file 0 행복한펭귄 2016.04.11 3028
1957 [소식] Vivaldi 1.1 Web Browser in the Works, First Snapshot Build Adds New Tab Options file 0 행복한펭귄 2016.04.11 2972
Board Pagination Prev 1 ... 20 21 22 23 24 25 26 27 28 29 ... 123 Next
/ 123
CLOSE