View Issue Details

IDProjectCategoryView StatusLast Update
0009781Kali LinuxKali Package Bugpublic2026-07-12 08:28
Reportercohst Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Summary0009781: xRDP package fails to start due to missing configuration file (/etc/xrdp/xrdp.ini) — configuration not generated by postinst scr
Description

On a fully updated Kali Rolling system, the xrdp package (version 0.10.6.1-2+kali1) fails to start because the configuration file /etc/xrdp/xrdp.ini is not created during installation. The service exits immediately with a log configuration error.

This issue is reproducible even when completely purging xRDP and reinstalling.
It also affects the previous version (0.10.6-1+kali1) when /etc/xrdp/ has been removed before installation.
This strongly suggests a packaging or postinst regression.

Environment:

Kali Rolling (fully updated)

xRDP versions tested:

0.10.6.1-2+kali1

0.10.6-1+kali1

STRATO KVM virtual server (Debian 12 → Kali migration)

XFCE, LightDM, Xorg all functioning normally

No local console available (STRATO limitation), but Xorg and XFCE sessions are healthy

Steps to reproduce:

sudo apt purge xrdp xorgxrdp

Remove /etc/xrdp/ completely

Install either version:

sudo apt install xrdp

or sudo apt install ./xrdp_0.10.6-1+kali1_amd64.deb

Start the service:
sudo systemctl start xrdp

Actual result:
xRDP fails to start:

Code
We could not open the configuration file to read log parameters
Error reading configuration for log based on config: /etc/xrdp/xrdp.ini
log_start error
Systemd status:

Code
xrdp.service: Main process exited, code=exited, status=1/FAILURE
xrdp.service: Failed with result 'exit-code'
Expected result:
The postinst script should generate a valid /etc/xrdp/xrdp.ini (and related files), allowing the service to start normally.

Additional notes:

The directory /etc/xrdp/ is created, but the configuration file is not.

Manually creating an INI file does not resolve the issue because the package expects a version‑specific configuration layout.

Xorg, LightDM, and XFCE are fully functional; the issue is isolated to the xRDP package.

This appears to be a regression in the Kali packaging scripts.

Request:
Please review the xRDP packaging and postinst logic to ensure that /etc/xrdp/xrdp.ini and related configuration files are generated correctly during installation.

Attached Files
Capture.JPG (35,644 bytes)   
Capture.JPG (35,644 bytes)   
Capture2.JPG (84,988 bytes)   
Capture2.JPG (84,988 bytes)   

Activities

Issue History

Date Modified Username Field Change
2026-07-12 08:28 cohst New Issue
2026-07-12 08:28 cohst File Added: Capture.JPG
2026-07-12 08:28 cohst File Added: Capture2.JPG