View Issue Details

IDProjectCategoryView StatusLast Update
0003914Kali LinuxKali Package Bugpublic2018-02-21 09:42
ReporterTwo2FourPT Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionopen 
Product Version2016.2 
Summary0003914: xrdp-sesman errors when trying to bind to a port
Description

Performed an apt-get update && apt-get dist-upgrade today, and lost xrdp functionality. Seems that xrdp.service starts fine and is bound to :::3389, but xrdp-sesman.service fails to start, making login via rdp impossible.

uname -a: Linux kali 4.0.0-kali2-amd64 0000001 SMP Debian 4.9.13-1kali1 (2017-03-01) x86_64 GNU/Linux

xrdp: 0.9.1-7

Steps To Reproduce

service xrdp start
service xrdp-sesman start

Additional Information

Output of 'service xrdp-sesman status':

● xrdp-sesman.service - xrdp session manager
Loaded: loaded (/lib/systemd/system/xrdp-sesman.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2017-03-08 15:18:18 CST; 1min 47s ago
Docs: man:xrdp-sesman(8)
man:sesman.ini(5)
Process: 1838 ExecStop=/usr/sbin/xrdp-sesman $SESMAN_OPTIONS --kill (code=exited, status=1/FAILURE)
Process: 1835 ExecStart=/usr/sbin/xrdp-sesman $SESMAN_OPTIONS (code=exited, status=0/SUCCESS)
Main PID: 1836 (code=exited, status=0/SUCCESS)

Mar 08 15:18:18 kali systemd[1]: Starting xrdp session manager...
Mar 08 15:18:18 kali xrdp-sesman[1835]: (1835)(139708917359936)[DEBUG] libscp initialized
Mar 08 15:18:18 kali systemd[1]: Started xrdp session manager.
Mar 08 15:18:18 kali xrdp-sesman[1836]: (1836)(139708917359936)[INFO ] starting xrdp-sesman with pid 1836
Mar 08 15:18:18 kali xrdp-sesman[1836]: (1836)(139708917359936)[ERROR] bind error on port '3351': 99 (Cannot assign requested address)
Mar 08 15:18:18 kali xrdp-sesman[1836]: (1836)(139708917359936)[DEBUG] Closed socket 7 (AF_INET6 :: port 0)
Mar 08 15:18:18 kali systemd[1]: xrdp-sesman.service: Control process exited, code=exited status=1
Mar 08 15:18:18 kali systemd[1]: xrdp-sesman.service: Unit entered failed state.
Mar 08 15:18:18 kali systemd[1]: xrdp-sesman.service: Failed with result 'exit-code'.

Output from 'journalctl -xe':

-- Unit xrdp.service has begun starting up.
Mar 08 13:17:30 kali xrdp-sesman[11426]: (11426)(140124146775360)[INFO ] starting xrdp-sesman with pid 11426
Mar 08 13:17:30 kali systemd[1]: xrdp.service: PID file /run/xrdp/xrdp.pid not readable (yet?) after start: No such file or directory
Mar 08 13:17:30 kali xrdp-sesman[11426]: (11426)(140124146775360)[ERROR] bind error on port '3350': 99 (Cannot assign requested address)
Mar 08 13:17:30 kali xrdp-sesman[11426]: (11426)(140124146775360)[DEBUG] Closed socket 7 (AF_INET6 :: port 0)
Mar 08 13:17:30 kali systemd[1]: xrdp-sesman.service: Control process exited, code=exited status=1
Mar 08 13:17:30 kali systemd[1]: xrdp-sesman.service: Unit entered failed state.
Mar 08 13:17:30 kali systemd[1]: xrdp-sesman.service: Failed with result 'exit-code'.
Mar 08 13:17:32 kali xrdp[11439]: (11439)(139878580214592)[INFO ] starting xrdp with pid 11439
Mar 08 13:17:32 kali xrdp[11439]: (11439)(139878580214592)[INFO ] listening to port 3389 on 0.0.0.0
Mar 08 13:19:00 kali systemd[1]: xrdp.service: Start operation timed out. Terminating.
Mar 08 13:19:00 kali xrdp[11439]: (11439)(139878580214592)[DEBUG] Closed socket 11 (AF_INET6 :: port 3389)
Mar 08 13:19:00 kali systemd[1]: Failed to start xrdp daemon.
-- Subject: Unit xrdp.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit xrdp.service has failed.

Activities

g0tmi1k

g0tmi1k

2018-02-21 09:42

administrator   ~0008744

Due to the age of the OS (Kali Moto [v1], Kali Safi [v2], Kali Rolling 2016.x/2017.1), these legacy versions are no longer supported.
We will be closing this ticket due to inactivity.

Please could you see if you are able to replicate this issue with the latest version of Kali Linux - https://www.kali.org/downloads/)?

If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing,and also give information about your setup?
For more information, please read: https://kali.training/topic/filing-a-good-bug-report/

Issue History

Date Modified Username Field Change
2017-03-08 22:09 Two2FourPT New Issue
2018-02-21 09:42 g0tmi1k Note Added: 0008744
2018-02-21 09:42 g0tmi1k Status new => closed