X server could not be start #3523
Replies: 1 comment 5 replies
-
Almost certainly #3299. Check |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.5 LTS (Jammy Jellyfish)"
I am currently on Ubuntu 22.04 and have compiled and installed xrdp from source, version v0.10.3. After installation, when I try to connect via RDP from Windows, I receive the error "Can't create session for user ubuntu - X server could not be started." I would like to request assistance.Thanks
The logs from /var/log/xrdp-sesman.log are as follows:
[2025-05-08T11:45:18.207+0000] [INFO ] sesman_main_loop: sesman asked to terminate
[2025-05-08T11:45:18.220+0000] [INFO ] starting xrdp-sesman with pid 11905
[2025-05-08T11:45:18.225+0000] [INFO ] Sesman now listening on /var/run/xrdp/sesman.socket
[2025-05-08T11:45:22.163+0000] [INFO ] sesman_main_loop: sesman asked to terminate
[2025-05-08T11:45:22.179+0000] [INFO ] starting xrdp-sesman with pid 11915
[2025-05-08T11:45:22.183+0000] [INFO ] Sesman now listening on /var/run/xrdp/sesman.socket
[2025-05-08T11:45:26.583+0000] [INFO ] Socket 13: connection accepted from AF_UNIX
[2025-05-08T11:45:26.642+0000] [INFO ] Received system login request from xrdp for user: ubuntu IP: 10.130.240.42
[2025-05-08T11:45:26.709+0000] [INFO ] starting xrdp-sesexec with pid 11924
[2025-05-08T11:45:26.127+0000] [INFO ] TerminalServerUsers group tsusers doesn't exist. Access granted for ubuntu
[2025-05-08T11:45:26.130+0000] [INFO ] Access permitted for user: ubuntu
[2025-05-08T11:45:26.133+0000] [INFO ] Received sys login status for ubuntu : logged in
[2025-05-08T11:45:26.137+0000] [INFO ] Received request from xrdp to create a session for user ubuntu
[2025-05-08T11:45:26.140+0000] [INFO ] Found X server running at 6010
[2025-05-08T11:45:26.142+0000] [INFO ] Found X server running at /tmp/.X11-unix/X11
[2025-05-08T11:45:26.148+0000] [INFO ] PAM: Last login: Thu May 8 11:39:10 UTC 2025 from 10.130.240.42 on :12
[2025-05-08T11:45:26.213+0000] [INFO ] Starting X server on display 12: Xorg :12 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log /usr/lib/xorg/Xorg
[2025-05-08T11:45:36.216+0000] [ERROR] waitforx: Unable to open display :12
[2025-05-08T11:45:36.221+0000] [ERROR] X server failed to start
[2025-05-08T11:45:36.225+0000] [INFO ] Session on display 12 has finished.
[2025-05-08T11:51:04.608+0000] [INFO ] Socket 13: connection accepted from AF_UNIX
[2025-05-08T11:51:04.614+0000] [INFO ] Received system login request from xrdp for user: ubuntu IP: 10.130.240.42
[2025-05-08T11:51:04.623+0000] [INFO ] starting xrdp-sesexec with pid 14105
[2025-05-08T11:51:04.684+0000] [INFO ] TerminalServerUsers group tsusers doesn't exist. Access granted for ubuntu
[2025-05-08T11:51:04.687+0000] [INFO ] Access permitted for user: ubuntu
[2025-05-08T11:51:04.690+0000] [INFO ] Received sys login status for ubuntu : logged in
[2025-05-08T11:51:04.694+0000] [INFO ] Received request from xrdp to create a session for user ubuntu
[2025-05-08T11:51:04.697+0000] [INFO ] Found X server running at 6010
[2025-05-08T11:51:04.702+0000] [INFO ] PAM: Last login: Thu May 8 11:45:26 UTC 2025 from 10.130.240.42 on :12
[2025-05-08T11:51:04.768+0000] [INFO ] Starting X server on display 11: Xorg :11 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log /usr/lib/xorg/Xorg
[2025-05-08T11:51:14.771+0000] [ERROR] waitforx: Unable to open display :11
[2025-05-08T11:51:14.774+0000] [ERROR] X server failed to start
[2025-05-08T11:51:14.777+0000] [INFO ] Session on display 11 has finished.
[2025-05-08T11:53:53.871+0000] [INFO ] Socket 13: connection accepted from AF_UNIX
[2025-05-08T11:53:53.877+0000] [INFO ] Received system login request from xrdp for user: ubuntu IP: 10.130.240.42
[2025-05-08T11:53:53.884+0000] [INFO ] starting xrdp-sesexec with pid 18450
[2025-05-08T11:53:53.939+0000] [INFO ] TerminalServerUsers group tsusers doesn't exist. Access granted for ubuntu
[2025-05-08T11:53:53.942+0000] [INFO ] Access permitted for user: ubuntu
[2025-05-08T11:53:53.945+0000] [INFO ] Received sys login status for ubuntu : logged in
[2025-05-08T11:53:53.948+0000] [INFO ] Received request from xrdp to create a session for user ubuntu
[2025-05-08T11:53:53.951+0000] [INFO ] Found X server running at 6010
[2025-05-08T11:53:53.954+0000] [INFO ] Found X server running at /tmp/.X11-unix/X11
[2025-05-08T11:53:53.959+0000] [INFO ] PAM: Last login: Thu May 8 11:51:04 UTC 2025 from 10.130.240.42 on :11
[2025-05-08T11:53:54.364+0000] [INFO ] Starting X server on display 12: Xorg :12 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log /usr/lib/xorg/Xorg
[2025-05-08T11:54:04.432+0000] [ERROR] waitforx: Unable to open display :12
[2025-05-08T11:54:04.471+0000] [ERROR] X server failed to start
[2025-05-08T11:54:04.502+0000] [INFO ] Session on display 12 has finished.
Beta Was this translation helpful? Give feedback.
All reactions