Skip to content

X Server Could Not Be Started #3620

@Corior48

Description

@Corior48

xrdp version

0.10.4.1

Detailed xrdp version, build options

[corior48@testbench ~]$ xrdp --version
xrdp 0.10.4.1
  A Remote Desktop Protocol Server.
  Copyright (C) 2004-2025 Jay Sorg, Neutrino Labs, and all contributors.
  See https://github.com/neutrinolabs/xrdp for more information.

  Configure options:
      --prefix=/usr
      --sysconfdir=/etc
      --libexecdir=/usr/lib
      --localstatedir=/var
      --sbindir=/usr/bin
      --with-systemdsystemunitdir=/usr/lib/systemd/system
      --enable-jpeg
      --enable-tjpeg
      --enable-fuse
      --enable-fdkaac
      --enable-opus
      --enable-rfxcodec
      --enable-mp3lame
      --enable-pixman
      --enable-painter
      --enable-vsock
      --enable-ipv6
      --enable-pam-config=arch
      --enable-rdpsndaudin
      --with-imlib2
      --enable-x264
      CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/corior48/.cache/yay/xrdp/src=/usr/src/debug/xrdp -flto=auto
      LDFLAGS=-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs -flto=auto
      CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/corior48/.cache/yay/xrdp/src=/usr/src/debug/xrdp -flto=auto

  Compiled with OpenSSL 3.5.2 5 Aug 2025

Operating system & version

Arch Linux

Installation method

dnf / apt / zypper / pkg / etc

Which backend do you use?

xorgxrdp

What desktop environment do you use?

Plasma KDE

Environment xrdp running on

Physical PC with MSI Geforce 210

What's your client?

Windows 11 Pro's Remote Desktop Protocol / Microsoft's Official Windows App for macOS

Area(s) with issue?

Session manager (sesman)

Steps to reproduce

Remote into the computer and log into the user.

✔️ Expected Behavior

Log into the user and load the desktop environment

❌ Actual Behavior

Spits out "Cannot create session for user - X server could not be started."

Anything else?

I have tried all of the session options, same error, I have tried multiple clients, from Windows 11 Pro to macOS 15.3.1, and i've had no luck getting into the xrdp server. I have added

allowed_users=
needs_root_rights=

to etc/X11/Xwrapper.conf and didn't work

attached below is xrdp.log, xrdp-sesman.log, and xorg.conf

xrdp.log
xrdp-sesman.log
xorg.conf.txt

NOTE: github told me .conf was not allowed, so i added .txt to the file extension to be attached, let me know if it still wont open for you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions