하모니카 묻고답하기

2020.05.26 14:09

xrdp 구글 otp 사용

조회 수 698 추천 수 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 13005
513 [소식] 구글 크롭 50 릴리즈 안내 file 0 행복한펭귄 2016.04.14 5217
512 [소식] Enlightenment 0.21 데스크탑 환경 업그레이드 안내 file 0 행복한펭귄 2016.04.14 4994
511 [소식] 우분투 지원 PC 발표 file 0 행복한펭귄 2016.04.14 4804
510 MS의 ‘반쪽자리’ 오픈소스 사랑 1 0 legoboss 2016.04.14 5083
509 하모니카 실사용 2일차 - 낮은 해상도에서의 창(윈도우) 버튼 확인문제. 4 file 0 maumc 2016.04.14 5494
508 메인노트북 하모니카 실사용 1일차 - 블루투스 연결 문제 3 file 0 maumc 2016.04.13 5644
507 [소식] Epiphany Browser Updated for GNOME 3.20, Always Stores Passwords in Web App Mode file 0 행복한펭귄 2016.04.12 3233
506 [소식] Evolution Email and Groupware Client Updated Ahead of the GNOME 3.20.1 Release file 0 행복한펭귄 2016.04.12 2926
505 [소식] MythTV 0.28 Media Center Arrives with FFmpeg 3.0, H.265 and VP9 Support file 0 행복한펭귄 2016.04.12 2852
504 [소식] MPV 0.17.0 Open-Source Video Player Adds a Direct3D11 Video Acceleration Decoder file 0 행복한펭귄 2016.04.12 2851
503 [소식] Cinnamon 3.0 Desktop Environment to Let Users Rename Battery-Powered Devices file 0 행복한펭귄 2016.04.12 2824
502 [소식] Mozilla Firefox 45.0.2 Released for Linux, Windows & Mac OS X with More Bugfixes file 0 행복한펭귄 2016.04.12 2820
501 [문의] 업데이트 실패 W:Failed to fetch http://kr.archive.ubuntu.... 4 0 루카쓰 2016.04.11 5725
500 [소식] Vivaldi 1.1 Web Browser in the Works, First Snapshot Build Adds New Tab Options file 0 행복한펭귄 2016.04.11 2972
499 [소식] Linux Kernel 4.6 Release Candidate 3 Is Now Available to Download file 0 행복한펭귄 2016.04.11 3028
498 [소식] Linux Mint 18 to Offer Cinnamon 3.0 and MATE 1.14 Flavors, Arc GTK-Based Theme file 0 행복한펭귄 2016.04.11 3799
497 [뉴스] 리눅스가 대세다 0 행복한펭귄 2016.04.11 5505
496 하모니카 XCOM2후기 5 0 kunash 2016.04.10 5499
495 [소식] Krita 3.0 오픈소스 디지탈 페인팅 툴 5월 1일 첫번째 알파 발표 준비 중 file 0 행복한펭귄 2016.04.10 3284
494 radio를 어떻게 들으시나요~? 3 0 식혜고양이 2016.04.10 5888
Board Pagination Prev 1 ... 93 94 95 96 97 98 99 100 101 102 ... 123 Next
/ 123
CLOSE