You are not logged in.

#1 2025-10-09 16:43:23

Rex0916
Member
Registered: 2025-10-09
Posts: 1

LightDM failed to start session when login through VNC

Hi!

I got a problem with GNOME and LightDM setup
I can login a GNOME session locally, but not through VNC, The only thing I got is a message "Failed to start session"

I checked lightdm logs and found this error. Does anybody have any idea how to fix this issue

[+1370.52s] DEBUG: Seat vnc3: Creating display server of type wayland
[+1370.52s] CRITICAL: session_set_display_server: assertion 'display_server != NULL' failed
[+1370.52s] CRITICAL: display_server_get_is_ready: assertion 'server != NULL' failed
[+1370.52s] CRITICAL: display_server_start: assertion 'server != NULL' failed
[+1370.52s] DEBUG: Seat vnc3: Failed to start display server for new session

the following is my lightdm configuration

$ lightdm --show-config                                                                                                                                              ─╯
   [LightDM]
A  run-directory=/run/lightdm

   [Seat:*]
A  session-wrapper=/etc/lightdm/Xsession

   [VNCServer]
A  enabled=true
A  command=Xvnc -SecurityTypes None
A  port=5900
A  width=1920
A  height=1080
A  depth=24

Sources:
A  /etc/lightdm/lightdm.conf

Offline

Board footer

Powered by FluxBB