canonical / lightdm

Display Manager
GNU General Public License v3.0
827 stars 138 forks source link

BUG : LightDM for KUbuntu 22.04 Alpha - XDMCP Session Fails no session start - XDMCP attempts wayland session... should not. #235

Open ScanCaster opened 2 years ago

ScanCaster commented 2 years ago

Testing LightDM on Kubuntu 22.04 Daily Builds for XDMCP use with my setups...

****UPDATED: 3/12/22 - BUG - XDMCP attemps wayland session, which it should not, as its not supported.

Found in ligthdm.log that LightDM was attempting to start a wayland session when doing this XDMCP. SETTING it to X11 setting in the greeter, allows an XDMCP session to proceed to the desktop as it should

LightDM when an XDMCP session is attempted should only attempt an X11 session.

options to FORCE ONLY X11 sessions for lightdm.conf? ? ? Options for same to default to x11????****

After triage on the initial catastrophe (hypervisor related, weird, but OK), I have a working VM (Hosts and all Guests are Linux! We don't do winslopper!) with LightDM working. Headless or Physically or RDP via the hypervisor is fine... a normal X session starts.

Remote X or XForwading via SSH, works, did a quickie test of firefox --no-remote | No issues performs as expected Same with a LibreOffice session too... | No issues

LightDM installed via synaptic lightdm and lightdm-gtk-greeter installed 218 packages and removed 1

liblightdm-gobject-1-0:amd64 1.30.0-0ubuntu5 amd64 LightDM GObject client library lightdm 1.30.0-0ubuntu5 amd64 Display Manager lightdm-gtk-greeter 2.0.8-2ubuntu1 amd64 simple display manager (GTK+ greeter)

Clients are ALL Kubuntu 20.04 xserver-xephyr 2:1.20.13-1ubuntu1~20.04.2

XDMCPFAILS to START A SESSION - a GREETER DOES COME UP, thats the end of the line.

Get a greeter (using lightdm-gtk-greeter) when doing :

Direct to the box:

~$ Xephyr -retro -screen 1368x768 :1 -query 192.168.0.50

Or via SSH into the box: and using local Xephyr loopback

me@me-Jammy2204:~$ Xephyr -retro -screen 1368x768 :1 -query 127.0.01

Enter password "Failed to Start Session"

Reverts to greeter after a while.