TW 20230131 - breaks xrdp because of pam changes
Today I update from TW 20230104 to 20230131 and found that xrdp is no longer working Attempts to connect get connecting to sesman on 127.0.0.1:3350 sesman connect ok sending login info to session manager. Please wait... login failed for user joe The problem is related to the pam config location change from /etc/pam.d to /usr/lib/pam.d for the xrdp-sesman configuration file. If I copy the file back to /etc/pam.d then xrdp works fine. Which component should I select in bugzilla to report this as I don't see xrdp or pam and component options?
On 2/3/23 06:07, Joe Salmeri wrote:
Today I update from TW 20230104 to 20230131 and found that xrdp is no longer working
Attempts to connect get
connecting to sesman on 127.0.0.1:3350 sesman connect ok sending login info to session manager. Please wait... login failed for user joe
The problem is related to the pam config location change from /etc/pam.d to /usr/lib/pam.d for the xrdp-sesman configuration file.
If I copy the file back to /etc/pam.d then xrdp works fine.
Which component should I select in bugzilla to report this as I don't see xrdp or pam and component options?
Probably one of the desktop components, as long as you make it clear its a bug in xrdp it should wind up with the right person. Cheers -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B
I just spent an hour working with a friend in the #opensuse-chat irc channel only to find i might be having this same issue. here is the last bit we did that is kinda pointing towards the same issue. sudo tail -f /var/log/xrdp* ==> /var/log/xrdp.log <== [20230213-20:05:18] [ERROR] Cannot read certificate file /etc/xrdp/cert.pem: No such file or directory [20230213-20:05:18] [ERROR] Cannot read private key file /etc/xrdp/key.pem: No such file or directory [20230213-20:07:49] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed [20230213-20:08:14] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed [20230213-20:09:19] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed [20230213-20:09:19] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed [20230213-20:14:47] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed [20230213-20:15:01] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed [20230213-20:15:01] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed [20230213-20:15:35] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed ==> /var/log/xrdp-sesman.log <== [20230213-19:43:55] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans [20230213-19:56:05] [ERROR] pam_authenticate failed: Authentication failure [20230213-19:56:05] [ERROR] sesman_data_in: scp_process_msg failed [20230213-19:56:05] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans [20230213-20:07:39] [ERROR] pam_authenticate failed: Authentication failure [20230213-20:07:40] [ERROR] sesman_data_in: scp_process_msg failed [20230213-20:07:40] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans [20230213-20:14:39] [ERROR] pam_authenticate failed: Authentication failure [20230213-20:14:39] [ERROR] sesman_data_in: scp_process_msg failed [20230213-20:14:39] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans [20230213-20:23:18] [ERROR] pam_authenticate failed: Authentication failure [20230213-20:23:18] [ERROR] sesman_data_in: scp_process_msg failed [20230213-20:23:18] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans Hope this helps Mir
Hi Patrick, FYI - Joe had a bug report and we are tracing the issue here: https://bugzilla.opensuse.org/show_bug.cgi?id=1208121 Best wishes, Yifan On Tue, Feb 14, 2023 at 04:36:16AM -0000, Patrick Finie wrote:
I just spent an hour working with a friend in the #opensuse-chat irc channel only to find i might be having this same issue.
here is the last bit we did that is kinda pointing towards the same issue.
sudo tail -f /var/log/xrdp* ==> /var/log/xrdp.log <== [20230213-20:05:18] [ERROR] Cannot read certificate file /etc/xrdp/cert.pem: No such file or directory [20230213-20:05:18] [ERROR] Cannot read private key file /etc/xrdp/key.pem: No such file or directory [20230213-20:07:49] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed [20230213-20:08:14] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed [20230213-20:09:19] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed [20230213-20:09:19] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed [20230213-20:14:47] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed [20230213-20:15:01] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed [20230213-20:15:01] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed [20230213-20:15:35] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed
==> /var/log/xrdp-sesman.log <== [20230213-19:43:55] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans [20230213-19:56:05] [ERROR] pam_authenticate failed: Authentication failure [20230213-19:56:05] [ERROR] sesman_data_in: scp_process_msg failed [20230213-19:56:05] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans [20230213-20:07:39] [ERROR] pam_authenticate failed: Authentication failure [20230213-20:07:40] [ERROR] sesman_data_in: scp_process_msg failed [20230213-20:07:40] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans [20230213-20:14:39] [ERROR] pam_authenticate failed: Authentication failure [20230213-20:14:39] [ERROR] sesman_data_in: scp_process_msg failed [20230213-20:14:39] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans [20230213-20:23:18] [ERROR] pam_authenticate failed: Authentication failure [20230213-20:23:18] [ERROR] sesman_data_in: scp_process_msg failed [20230213-20:23:18] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
Hope this helps
Mir
- Yifan
participants (4)
-
Joe Salmeri
-
Patrick Finie
-
Simon Lees
-
Yifan Jiang