Skip to content

xrdp breaks iso, live and installation

Starting from a clean pull, and adding only the xrdp package to kali-config/variant-xfce/package-lists/kali.list.chroot causes mouse/keyboard to break in virtualbox/vmware workstation. Ultimately, I am trying to make an ISO with xrdp preinstalled for usage with Hyper-V.

I tested both the live system, and the system installed from the created ISO. Neither can be interacted at all with mouse or keyboard.

Every other package I've added works out-of-the-box. Is there something special about xrdp that I need to account for? Is it related to these messages from the log? Any help is greatly appreciated: Running in chroot, ignoring request. All runlevel operations denied by policy

Contents of kali-config/variant-xfce/package-lists/kali.list.chroot:

# Live image
# You always want these:
kali-linux-core
kali-desktop-live

# Graphical desktop
kali-desktop-xfce

# Kali applications
#<package>
xrdp

Build command used: sudo ./build.sh --arch amd64 --variant xfce --verbose

The relevant part of ./images/kali-linux-rolling-live-xfce-amd64.log:

Setting up xrdp (0.9.12-1.1) ...

Generating 2048 bit rsa key...

ssl_gen_key_xrdp1 ok

saving to /etc/xrdp/rsakeys.ini

update-rc.d: We have no instructions for the xrdp init script.
update-rc.d: It looks like a network service, we disable it.
Running in chroot, ignoring request.
All runlevel operations denied by policy

For reference, installing xrdp manually afterwards produces this output:

Setting up xrdp (0.9.12-1.1) ...

Generating 2048 bit rsa key...

ssl_gen_key_xrdp1 ok

saving to /etc/xrdp/rsakeys.ini

update-rc.d: We have no instructions for the xrdp init script.
update-rc.d: It looks like a network service, we disable it.
xrdp-sesman.service is a disabled or a static unit, not starting it.
xrdp.service is a disabled or a static unit, not starting it.
Setting up xorgxrdp (1:0.2.12-1) ...
Processing triggers for libc-bin (2.31-11) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for kali-menu (2021.2.3) ...
Edited by Shane Bennett