xrdp: Unable to use xrdp on Alpine Linux V3.15

Hi! I have a fresh install of Linux Alpine 3.15.0 with XFCE. I try to enable xrdp on it like this:

apk add  xrdp
rc-service xrdp start
rc-service xrdp-sesman start

From a windows, i use mstcs.exe to access my server. I get login screen. But when i validate, credentials popup disappears then nothing happens during few minutes. Then, I get connection log popup indicating “connection problem, giving up”

My /var/log/xrdp-sesman.log indicate: [20220316-16:24:10] [WARN ] Window manager (pid 3251, display 10) exited quickly (0 secs). This could indicate a window manager config problem

And here are errors in my .xorgxrdp10.log:


[  1808.287] (EE) Unable to locate/open config file: "xrdp/xorg.conf"
[  1808.348] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  1808.348] (EE) Failed to load module "vesa" (module does not exist, 0)
[  1808.449] (EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/swrast_dri.so failed (Error loading shared library /usr/lib/xorg/modules/dri/swrast_dri.so: No such file or directory)
[  1808.449] (EE) AIGLX error: unable to load driver swrast
[  1808.449] (EE) GLX: could not load software renderer

Any clue of what could be the problem?

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

@Cyanat - my apologies. I didn’t quite realise what state things were in.

xrdp 0.9.18-r0 is in edge:-

https://pkgs.alpinelinux.org/package/edge/community/x86_64/xrdp

V3.15 has the older version:-

https://pkgs.alpinelinux.org/package/v3.15/community/x86_64/xrdp

I didn’t actually realise xrdp 0.9.18 hadn’t made it into v3.15/community - sorry. I was working on the package with the Alpine guys and so my Alpine VM is a bit of a mess.

You could temporarily add edge/community to /etc/apk/repositories and update just xrdp. That should work. But as you say, it’s safer to just down load startwm.sh from here which I think should fix things for you.