You are not logged in.

#1 2024-11-12 19:16:15

mimmo2001
Member
Registered: 2024-11-12
Posts: 1

xrdp connection issue

Hello, I've recently installed xrdp on my pc, from the aur withouth any helper. When I connect from another pc it gets to the login screen, but after typing in the credential it gaves me this error:
Connection Log

connecting to sesman on sesman.socket

sesman connect ok

Performing login request for user

sending login info to session manager, please wait ...

login was successful - creating session

sending create session request to session manager. Please

it ...

Can't create session for user - X server could not be

started.

After this i've installed xorgxrdp skipping the keys thinking it wouldn't hurt anything but after that with remmina, creshes even before login, and with windows rdp it only gives me the error trough xvnc and trough xorg just crashes. Any solutions??

Offline

#2 2024-11-18 18:57:29

concrete3vidence
Member
Registered: 2024-11-18
Posts: 1

Re: xrdp connection issue

Hello,

I have this same issue.

Installed xrdp from AUR following archwiki instructions.

The Arch installation has been done with archinstall found in 2024.11.01 ISO. Installed packages with the installer are gnome group, nvidia-open drivers (now switched to properiaty nvidia drivers).

https://wiki.archlinux.org/title/Xrdp section 3.4 instructs about Xwrapper.conf, this file did not exist so I created if and inserted the content in it.

journal -r below

marras 18 20:49:58 arch-desktop systemd-logind[615]: Removed session 5.
marras 18 20:49:58 arch-desktop systemd-logind[615]: Session 5 logged out. Waiting for processes to exit.
marras 18 20:49:58 arch-desktop systemd[1]: session-5.scope: Deactivated successfully.
marras 18 20:49:58 arch-desktop xrdp-sesexec[2508]: pam_unix(xrdp-sesman:session): session closed for user kale
marras 18 20:49:58 arch-desktop xrdp[2503]: [INFO ] xrdp_wm_log_msg: Can't create session for user kale - X server could not be started
marras 18 20:49:58 arch-desktop xrdp-sesman[666]: [INFO ] Session on display 10 has finished.
marras 18 20:49:58 arch-desktop xrdp-sesexec[2508]: [ERROR] X server failed to start
marras 18 20:49:58 arch-desktop xrdp-sesexec[2508]: [ERROR] waitforx: Unable to open display :10
marras 18 20:49:50 arch-desktop tailscaled[665]: open-conn-track: timeout opening (TCP 100.94.169.125:48206 => 95.216.195.133:80); no associated peer node
marras 18 20:49:48 arch-desktop tailscaled[665]: portmapper: failed to get PCP mapping: PCP response not ok, code 7
marras 18 20:49:48 arch-desktop tailscaled[665]: portmapper: PMP probe failed due result code: {OpCode:128 ResultCode:NetworkFailure SecondsSinceEpoch:438115792 MappingValidSeconds:0 InternalPort:0 ExternalPort:0 PublicAddr:invalid IP}
marras 18 20:49:48 arch-desktop tailscaled[665]: portmapper: failed to get PCP mapping: PCP response not ok, code 7
marras 18 20:49:48 arch-desktop xrdp-sesman[2513]: (EE) Server terminated with error (1). Closing log file.
marras 18 20:49:48 arch-desktop xrdp-sesman[2513]: (EE)
marras 18 20:49:48 arch-desktop xrdp-sesman[2513]: (EE) Please also check the log file at ".xorgxrdp.10.log" for additional information.
marras 18 20:49:48 arch-desktop xrdp-sesman[2513]:  for help.
marras 18 20:49:48 arch-desktop xrdp-sesman[2513]:          at http://wiki.x.org
marras 18 20:49:48 arch-desktop xrdp-sesman[2513]: Please consult the The X.Org Foundation support
marras 18 20:49:48 arch-desktop xrdp-sesman[2513]: (EE)
marras 18 20:49:48 arch-desktop xrdp-sesman[2513]: (EE)
marras 18 20:49:48 arch-desktop xrdp-sesman[2513]: (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
marras 18 20:49:48 arch-desktop xrdp-sesman[2513]: Fatal server error:
marras 18 20:49:48 arch-desktop xrdp-sesman[2513]: (EE)
marras 18 20:49:48 arch-desktop xrdp-sesman[2513]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
marras 18 20:49:48 arch-desktop xrdp-sesman[2513]: (==) Using config directory: "/etc/X11/xorg.conf.d"
marras 18 20:49:48 arch-desktop xrdp-sesman[2513]: (++) Log file: ".xorgxrdp.10.log", Time: Mon Nov 18 20:49:48 2024
marras 18 20:49:48 arch-desktop xrdp-sesman[2513]:         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
marras 18 20:49:48 arch-desktop xrdp-sesman[2513]:         (++) from command line, (!!) notice, (II) informational,
marras 18 20:49:48 arch-desktop xrdp-sesman[2513]: Markers: (--) probed, (**) from config file, (==) default setting,
marras 18 20:49:48 arch-desktop xrdp-sesman[2513]:         to make sure that you have the latest version.
marras 18 20:49:48 arch-desktop xrdp-sesman[2513]:         Before reporting problems, check http://wiki.x.org
marras 18 20:49:48 arch-desktop xrdp-sesman[2513]: Current version of pixman: 0.44.0
marras 18 20:49:48 arch-desktop xrdp-sesman[2513]:  
marras 18 20:49:48 arch-desktop xrdp-sesman[2513]: Kernel command line: initrd=\initramfs-linux.img root=PARTUUID=4a7a5a4f-2078-4edd-a098-6806ea5a1165 zswap.enabled=0 rootflags=subvol=@ rw rootfstype=btrfs
marras 18 20:49:48 arch-desktop xrdp-sesman[2513]: Current Operating System: Linux arch-desktop 6.11.8-arch1-2 #1 SMP PREEMPT_DYNAMIC Fri, 15 Nov 2024 15:35:07 +0000 x86_64
marras 18 20:49:48 arch-desktop xrdp-sesman[2513]: X Protocol Version 11, Revision 0
marras 18 20:49:48 arch-desktop xrdp-sesman[2513]: X.Org X Server 1.21.1.14
marras 18 20:49:48 arch-desktop xrdp-sesexec[2513]: [INFO ] Starting X server on display 10: /usr/lib/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log
marras 18 20:49:48 arch-desktop xrdp-sesman[2514]: sh: line 1: xauth: command not found
marras 18 20:49:48 arch-desktop xrdp-sesexec[2508]: gkr-pam: unlocked login keyring
marras 18 20:49:48 arch-desktop systemd[1]: Started Session 5 of User kale.
marras 18 20:49:48 arch-desktop systemd-logind[615]: New session 5 of user kale.
marras 18 20:49:48 arch-desktop xrdp-sesexec[2508]: pam_unix(xrdp-sesman:session): session opened for user kale(uid=1000) by kale(uid=0)
marras 18 20:49:48 arch-desktop xrdp-sesman[666]: [INFO ] Received request from xrdp to create a session for user kale
marras 18 20:49:48 arch-desktop xrdp-sesman[666]: [INFO ] Received sys login status for kale : logged in
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ] xrdp_wm_log_msg: login was successful - creating session
marras 18 20:49:48 arch-desktop xrdp-sesexec[2508]: [INFO ] Access permitted for user: kale
marras 18 20:49:48 arch-desktop xrdp-sesexec[2508]: [INFO ] TerminalServerUsers group tsusers doesn't exist. Access granted for kale
marras 18 20:49:48 arch-desktop xrdp-sesexec[2508]: gkr-pam: stashed password to try later in open session
marras 18 20:49:48 arch-desktop xrdp-sesexec[2508]: gkr-pam: unable to locate daemon control file
marras 18 20:49:48 arch-desktop xrdp-sesexec[2508]: [INFO ] starting xrdp-sesexec with pid 2508
marras 18 20:49:48 arch-desktop xrdp-sesman[666]: [INFO ] Received system login request from xrdp for user: kale IP: ::ffff:100.66.96.101
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ] xrdp_wm_log_msg: Performing login request for kale
marras 18 20:49:48 arch-desktop xrdp-sesman[666]: [INFO ] Socket 13: connection accepted from AF_UNIX
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ] xrdp_wm_log_msg: sesman connect ok
marras 18 20:49:48 arch-desktop xrdp[2503]: [WARN ] Ignoring obsolete SCP port value '3350'
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ] xrdp_mm_egfx_caps_advertise: egfx created.
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ] xrdp_mm_egfx_invalidate_wm_screen:
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ] xrdp_encoder_create: starting gfx rfx pro codec session
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ] xrdp_mm_egfx_create_surfaces: map surface_id 0 left 0 top 0 width 1440 height 900
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ] xrdp_mm_egfx_caps_advertise: xrdp_egfx_send_reset_graphics error 0 monitorCount 0
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ] xrdp_egfx_reset_graphics: width 1440 height 900 monitorcount 1
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ] xrdp_egfx_reset_graphics:
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ] xrdp_mm_egfx_caps_advertise: xrdp_egfx_send_capsconfirm error 0 best_index 6
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ]   replying version 0x000a0701 flags 0x00000082
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ] unknown version 0x000b0101
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ]   version 0x000b0101 flags 0x00000082 (index: 7)
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ]   version 0x000a0701 flags 0x00000082 (index: 6)
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ]   version 0x000a0400 flags 0x00000002 (index: 5)
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ]   version 0x000a0301 flags 0x00000020 (index: 4)
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ]   version 0x000a0200 flags 0x00000022 (index: 3)
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ]   version 0x000a0002 flags 0x00000022 (index: 2)
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ]   version 0x00080105 flags 0x00000002 (index: 1)
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ]   version 0x00080004 flags 0x00000002 (index: 0)
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ] xrdp_mm_egfx_caps_advertise:
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ] xrdp_egfx_create: error 0 channel_id 1
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ] Login screen monitor height is 900 pixels over 179 mm (127 DPI)
marras 18 20:49:48 arch-desktop xrdp[2503]: [WARN ] local keymap file for 0x0000040b found and doesn't match built in keymap, using local keymap file
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ] Loading keymap file /etc/xrdp/km-0000040b.ini
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ] Client Capability: LARGE_POINTER_FLAG_96x96 supported
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ] xrdp_caps_process_codecs: NSCodec(CA8D1BB9-000F-154F-589F-AE2D1A87E2D6), codec id [1], properties len [3]
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ] xrdp_process_offscreen_bmpcache: support level 0 cache size 0 MB cache entries 0
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ] xrdp_caps_process_pointer: client supports new(color) cursor
marras 18 20:49:48 arch-desktop xrdp[2503]: [INFO ] Client supports single-screen resizes by xrdp
marras 18 20:49:47 arch-desktop xrdp[2503]: [INFO ] TLS connection established from [::ffff:100.66.96.101]:52392 TLSv1.3 with cipher TLS_AES_256_GCM_SHA384
marras 18 20:49:47 arch-desktop xrdp[2503]: [INFO ] xrdp_load_keyboard_layout: model [] variant [] layout [fi] options []
marras 18 20:49:47 arch-desktop xrdp[2503]: [INFO ] xrdp_load_keyboard_layout: Keyboard information sent by the RDP client, keyboard_type:[0x04], keyboard_subtype:[0x00], keylayout:[0x0000040B]
marras 18 20:49:47 arch-desktop xrdp[2503]: [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc00a is unknown (ignored)
marras 18 20:49:47 arch-desktop xrdp[2503]: [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc006 is unknown (ignored)
marras 18 20:49:47 arch-desktop xrdp[2503]: [INFO ] client supports gfx protocol
marras 18 20:49:47 arch-desktop xrdp[2503]: [INFO ] Connected client computer name: C3-MacbookAirM1
marras 18 20:49:45 arch-desktop xrdp[2503]: [INFO ] Security protocol: configured [SSL|RDP], requested [SSL|HYBRID|HYBRID_EX|RDP], selected [SSL]
marras 18 20:49:45 arch-desktop xrdp[2503]: [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
marras 18 20:49:45 arch-desktop xrdp[2503]: [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
marras 18 20:49:45 arch-desktop xrdp[671]: [INFO ] Socket 14: connection accepted from [::ffff:100.66.96.101]:52392

Last edited by concrete3vidence (2024-11-18 19:01:30)

Offline

Board footer

Powered by FluxBB