CLIEN

본문 바로가기 메뉴 바로가기 보기설정 테마설정
톺아보기 공감글
커뮤니티 커뮤니티전체 C 모두의광장 F 모두의공원 I 사진게시판 Q 아무거나질문 D 정보와자료 N 새로운소식 T 유용한사이트 P 자료실 E 강좌/사용기 L 팁과강좌 U 사용기 · 체험단사용기 W 사고팔고 J 알뜰구매 S 회원중고장터 B 직접홍보 · 보험상담실 H 클리앙홈
소모임 소모임전체 ·굴러간당 ·아이포니앙 ·주식한당 ·MaClien ·방탄소년당 ·일본산당 ·소시당 ·개발한당 ·자전거당 ·이륜차당 ·AI당 ·안드로메당 ·소셜게임한당 ·골프당 ·바다건너당 ·걸그룹당 ·곰돌이당 ·나스당 ·콘솔한당 ·가상화폐당 ·키보드당 ·클다방 ·패스오브엑자일당 ·리눅서당 ·퐁당퐁당 ·물고기당 ·전기자전거당 ·노젓는당 ·디아블로당 ·찰칵찍당 ·라즈베리파이당 ·3D메이킹 ·X세대당 ·ADHD당 ·AI그림당 ·날아간당 ·사과시계당 ·육아당 ·배드민턴당 ·야구당 ·농구당 ·블랙베리당 ·비어있당 ·FM당구당 ·블록체인당 ·보드게임당 ·활자중독당 ·볼링친당 ·캠핑간당 ·냐옹이당 ·문명하셨당 ·클래시앙 ·요리한당 ·쿠키런당 ·대구당 ·DANGER당 ·뚝딱뚝당 ·개판이당 ·동숲한당 ·날아올랑 ·e북본당 ·갖고다닌당 ·이브한당 ·패셔니앙 ·도시어부당 ·FM한당 ·맛있겠당 ·포뮬러당 ·젬워한당 ·안경쓴당 ·차턴당 ·총쏜당 ·땀흘린당 ·하스스톤한당 ·히어로즈한당 ·인스타한당 ·IoT당 ·KARA당 ·꼬들한당 ·덕질한당 ·어학당 ·가죽당 ·레고당 ·LOLien ·Mabinogien ·임시소모임 ·미드당 ·밀리터리당 ·땅판당 ·헌팅한당 ·오른당 ·영화본당 ·MTG한당 ·소리당 ·노키앙 ·적는당 ·방송한당 ·PC튜닝한당 ·그림그린당 ·소풍간당 ·심는당 ·품앱이당 ·리듬탄당 ·달린당 ·Sea마당 ·SimSim하당 ·심야식당 ·윈태블릿당 ·미끄러진당 ·축구당 ·나혼자산당 ·스타한당 ·스팀한당 ·파도탄당 ·테니스친당 ·테스트당 ·빨콩이당 ·공대시계당 ·여행을떠난당 ·터치패드당 ·트윗당 ·창업한당 ·VR당 ·시계찬당 ·WebOs당 ·위스키당 ·와인마신당 ·WOW당 ·윈폰이당
임시소모임
고객지원
  • 게시물 삭제 요청
  • 불법촬영물등 신고
  • 쪽지 신고
  • 닉네임 신고
  • 제보 및 기타 제안
© CLIEN.NET
공지[점검] 잠시후 서비스 점검을 위해 약 30분간 접속이 차단됩니다. (금일 18:15 ~ 18:45)

리눅서당

서버/넷트웍 아치리눅스에서 xrdp 접속 질문 6

2022-12-22 17:33:30 수정일 : 2022-12-22 17:34:30 221.♡.145.243
김원철

xrdp 설치 후 접속을 시도하면 초록색 화면만 나오네요.

정확히는 맥OS에서 Microsoft Remote Desktop 앱으로 아치리눅스에 xrdp 접속을 시도했습니다.


아래 로그 메시지를 보면 로그인 자체는 되는 것 같습니다:


12월 22 17:17:37 ICL xrdp[1444]: [INFO ] connecting to sesman on 127.0.0.1:3350

12월 22 17:17:37 ICL xrdp[1444]: [INFO ] xrdp_wm_log_msg: sesman connect ok

12월 22 17:17:37 ICL xrdp[1444]: [INFO ] sesman connect ok

12월 22 17:17:38 ICL xrdp[1444]: [INFO ] sending login info to session manager. Please wait...

12월 22 17:17:38 ICL xrdp[1444]: [INFO ] xrdp_wm_log_msg: login successful for user woncheol on display 10

12월 22 17:17:38 ICL xrdp[1444]: [INFO ] login successful for user woncheol on display 10

12월 22 17:17:38 ICL xrdp[1444]: [INFO ] loaded module 'libxup.so' ok, interface size 10296, version 4

12월 22 17:17:38 ICL xrdp[1444]: [INFO ] started connecting

12월 22 17:17:38 ICL xrdp[1444]: [INFO ] lib_mod_connect: connecting via UNIX socket


아래 링크를 보면 초록 화면은 아니고 '검은 화면' 증상에 대해 나오는데요:

https://wiki.archlinux.org/title/Xrdp


If you get a black screen and you use a desktop environment, it may be a result of D-Bus not being properly initialized. Try running the desktop environment with dbus-launch --exit-with-session in your ~/.xinitrc file. For KDE Plasma, you can use the command /usr/lib/plasma-dbus-run-session-if-needed startplasma-x11.


이게 도대체 뭔 소린지 모르겠습니다.


~/.xinitrc 파일을 편집해서 dbus-launch --exit-with-session 라는 문구를 써넣으라는 얘기일까요? 아무 데나 써넣으면 되나요? 맨 마지막에 넣어 봤더니 증상이 그냥 똑같네요.


desktop environment는 xfce 입니다.

그리고 이런 로그 파일도 생성되네요:


.xorgxrdp.10.log


[  3485.723] 

X.Org X Server 1.21.1.6

X Protocol Version 11, Revision 0

[  3485.723] Current Operating System: Linux ICL 6.0.12-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 08 Dec 2022 11:03:38 +0000 x86_64

[  3485.723] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=37cd5b54-a2e2-4c2f-9eaf-de5454f1c77a rw resume=UUID=d1d27a8e-6899-4da4-90dc-b4706980cb11 loglevel=3 nowatchdog nvme_load=YES

[  3485.723]  

[  3485.723] Current version of pixman: 0.42.2

[  3485.723]  Before reporting problems, check http://wiki.x.org

  to make sure that you have the latest version.

[  3485.723] Markers: (--) probed, (**) from config file, (==) default setting,

  (++) from command line, (!!) notice, (II) informational,

  (WW) warning, (EE) error, (NI) not implemented, (??) unknown.

[  3485.723] (++) Log file: ".xorgxrdp.10.log", Time: Thu Dec 22 17:29:16 2022

[  3485.723] (EE) Unable to locate/open config file: "xrdp/xorg.conf"

[  3485.723] (==) Using config directory: "/etc/X11/xorg.conf.d"

[  3485.723] (==) Using system config directory "/usr/share/X11/xorg.conf.d"

[  3485.723] (==) No Layout section.  Using the first Screen section.

[  3485.723] (==) No screen section available. Using defaults.

[  3485.723] (**) |-->Screen "Default Screen Section" (0)

[  3485.723] (**) |   |-->Monitor "<default monitor>"

[  3485.724] (==) No monitor specified for screen "Default Screen Section".

  Using a default monitor configuration.

[  3485.724] (==) Automatically adding devices

[  3485.724] (==) Automatically enabling devices

[  3485.724] (==) Automatically adding GPU devices

[  3485.724] (==) Automatically binding GPU devices

[  3485.724] (==) Max clients allowed: 256, resource mask: 0x1fffff

[  3485.724] (WW) The directory "/usr/share/fonts/misc" does not exist.

[  3485.724]  Entry deleted from font path.

[  3485.724] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF".

[  3485.724]  Entry deleted from font path.

[  3485.724]  (Run 'mkfontdir' on "/usr/share/fonts/TTF").

[  3485.724] (WW) The directory "/usr/share/fonts/OTF" does not exist.

[  3485.724]  Entry deleted from font path.

[  3485.724] (WW) The directory "/usr/share/fonts/Type1" does not exist.

[  3485.724]  Entry deleted from font path.

[  3485.724] (WW) The directory "/usr/share/fonts/100dpi" does not exist.

[  3485.724]  Entry deleted from font path.

[  3485.724] (WW) The directory "/usr/share/fonts/75dpi" does not exist.

[  3485.724]  Entry deleted from font path.

[  3485.724] (==) FontPath set to:

  

[  3485.724] (==) ModulePath set to "/usr/lib/xorg/modules"

[  3485.724] (II) The server relies on udev to provide the list of input devices.

  If no devices become available, reconfigure udev or disable AutoAddDevices.

[  3485.724] (II) Module ABI versions:

[  3485.724]  X.Org ANSI C Emulation: 0.4

[  3485.724]  X.Org Video Driver: 25.2

[  3485.724]  X.Org XInput driver : 24.4

[  3485.724]  X.Org Server Extension : 10.0

[  3485.726] (EE) systemd-logind: failed to get session: PID 1634 does not belong to any known session

[  3485.727] (II) xfree86: Adding drm device (/dev/dri/card0)

[  3485.727] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0

[  3485.729] (--) PCI:*(0@0:2:0) 8086:0152:144d:b091 rev 9, Mem @ 0xf7800000/4194304, 0xe0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072

[  3485.729] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)

[  3485.729] (II) LoadModule: "glx"

[  3485.729] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so

[  3485.731] (II) Module glx: vendor="X.Org Foundation"

[  3485.731]  compiled for 1.21.1.6, module version = 1.0.0

[  3485.731]  ABI class: X.Org Server Extension, version 10.0

[  3485.731] (==) Matched intel as autoconfigured driver 0

[  3485.731] (==) Matched modesetting as autoconfigured driver 1

[  3485.731] (==) Matched fbdev as autoconfigured driver 2

[  3485.731] (==) Matched vesa as autoconfigured driver 3

[  3485.731] (==) Assigned the driver to the xf86ConfigLayout

[  3485.731] (II) LoadModule: "intel"

[  3485.731] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so

[  3485.731] (II) Module intel: vendor="X.Org Foundation"

[  3485.731]  compiled for 1.21.1.1, module version = 2.99.917

[  3485.731]  Module class: X.Org Video Driver

[  3485.731]  ABI class: X.Org Video Driver, version 25.2

[  3485.731] (II) LoadModule: "modesetting"

[  3485.731] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so

[  3485.732] (II) Module modesetting: vendor="X.Org Foundation"

[  3485.732]  compiled for 1.21.1.6, module version = 1.21.1

[  3485.732]  Module class: X.Org Video Driver

[  3485.732]  ABI class: X.Org Video Driver, version 25.2

[  3485.732] (II) LoadModule: "fbdev"

[  3485.732] (WW) Warning, couldn't open module fbdev

[  3485.732] (EE) Failed to load module "fbdev" (module does not exist, 0)

[  3485.732] (II) LoadModule: "vesa"

[  3485.732] (WW) Warning, couldn't open module vesa

[  3485.732] (EE) Failed to load module "vesa" (module does not exist, 0)

[  3485.732] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:

  i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,

  915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,

  Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,

  GM45, 4 Series, G45/G43, Q45/Q43, G41, B43

[  3485.733] (II) intel: Driver for Intel(R) HD Graphics

[  3485.733] (II) intel: Driver for Intel(R) Iris(TM) Graphics

[  3485.733] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics

[  3485.733] (II) modesetting: Driver for Modesetting Kernel Drivers: kms

[  3485.733] (EE) 

Fatal server error:

[  3485.733] (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)

[  3485.733] (EE) 

[  3485.733] (EE) 

Please consult the The X.Org Foundation support 

   at http://wiki.x.org

 for help. 

[  3485.733] (EE) Please also check the log file at ".xorgxrdp.10.log" for additional information.

[  3485.733] (EE) 

[  3485.733] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor

[  3485.733] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor

[  3485.733] (EE) Server terminated with error (1). Closing log file.


김원철 님의 게시글 댓글
  • 주소복사
  • Facebook
  • X(Twitter)
댓글 • [6]
ProNAS
IP 211.♡.13.205
12-22 2022-12-22 17:39:48
·
잘 안될땐 다시 설치 하면 됩니다.
고치는 시간 보다 빨라요..
김원철
IP 221.♡.145.243
12-22 2022-12-22 17:49:15
·
@ProNAS님 다시 설치해도 마찬가지입니다.
Realtime
IP 220.♡.20.169
12-22 2022-12-22 19:02:04
·
일단 원격 말고 기기 자체에서 디스플레이매니저와 xfce는 잘 뜨고 사용하는데 지장이 없으신거죠?
둘째로는 어떤 문서를 보고 설치 하셨는지 공유 해주시면 도움 받기 좋으실 것 같아요. 저 같은 경우 xrdp에 퍼미션을 몇가지 주곤 합니다, 스크립트를 통해 설치하면서요. 이런 식이죠.

$ sudo adduser xrdp ssl-cert
$ sudo adduser xrdp video
$ sudo adduser xrdp lightdm
김원철
IP 211.♡.164.181
12-23 2022-12-23 09:23:37
·
@Realtime님

감사합니다. 아치리눅스와는 경우가 좀 다른 것 같지만, ssl-cert 키워드를 넣고 검색하다가 제대로 된 해결책을 제시하는 글을 찾았습니다.

https://www.adamlabay.net/2021/08/28/xrdp-on-manjaro-fixing-the-blank-screen-issue/

이거 따라하니까 잘되네요. 아오...
토리7
IP 106.♡.203.123
12-22 2022-12-22 19:24:49
·
우분투 기준이긴 합니다만... http://c-nergy.be/blog/?p=12043
* xrdp 를 이미 설치하여 접속이 안되는 사용자는

$ sudo apt-get install xserver-xorg-core
$ sudo apt-get install xorgxrdp
$ sudo apt-get -y install xserver-xorg-input-all

$ sudo vi /etc/polkit-1/localauthority/50-local.d/45-allow-colord.pkla
# 아래와 같이 입력한다.
[Allow Colord 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=no
ResultInactive=no
ResultActive=yes

# 입력 후 서비스 재구동 또는 리부팅
$ sudo reboot

비슷할듯 합니다...
김원철
IP 211.♡.164.181
12-23 2022-12-23 09:24:45
·
@토리7님 감사합니다. 아치리눅스와는 좀 경우가 다른 것 같지만, xorgxrdp 설치하는 건 마찬가지로 필요했던 것 같습니다. 바로 위 댓글에 제대로 된 해결책을 제시하는 게시 글 링크해 뒀습니다.
새로운 댓글이 없습니다.
이미지 최대 업로드 용량 15 MB / 업로드 가능 확장자 jpg,gif,png,jpeg,webp
지나치게 큰 이미지의 크기는 조정될 수 있습니다.
목록으로
글쓰기
글쓰기
목록으로 댓글보기 이전글 다음글
아이디  ·  비밀번호 찾기 회원가입
이용규칙 운영알림판 운영소통 재검토요청 도움말 버그신고
개인정보처리방침 이용약관 책임의 한계와 법적고지 청소년 보호정책
©   •  CLIEN.NET
보안 강화를 위한 이메일 인증
안전한 서비스 이용을 위해 이메일 인증을 완료해 주세요. 현재 회원님은 이메일 인증이 완료되지 않은 상태입니다.
최근 급증하는 해킹 및 도용 시도로부터 계정을 보호하기 위해 인증 절차가 강화되었습니다.

  • 이메일 미인증 시 글쓰기, 댓글 작성 등 게시판 활동이 제한됩니다.
  • 이후 새로운 기기에서 로그인할 때마다 반드시 이메일 인증을 거쳐야 합니다.
  • 2단계 인증 사용 회원도 최초 1회는 반드시 인증하여야 합니다.
  • 개인정보에서도 이메일 인증을 할 수 있습니다.
지금 이메일 인증하기
등록된 이메일 주소를 확인하고 인증번호를 입력하여
인증을 완료해 주세요.