I observed a strange behaviour on my new XUbuntu installation.
I had the intention of experimenting two different remote desktop solutions (one at a time); the local computer (display/keyboard/mouse) had to be a Windows machine, the remote computer (apps) had to be XUbuntu:
remote X Server (XMing on Windows + XDMCP on XUbuntu)
I am an (old) newbie, and I was planning to experiment without SSH tunneling, behind my modem/router, for sake of simplicity in the beginning; to add SSH (and enforce tunneling) later, before opening an access from the general Internet.
I could not find any simple recipe on the web (many throwing inside SSH from the beginning, none specifically addressed to lightdm)
=== What I did:
I defined my fresh XUbuntu installation for one user without the need of logging in; and this was working normally. Via the GUI I added a second user (with the vague idea it could help soon or later). As first experiment I copied the file /etc/lightdm/lightdm.conf to /etc/lightdm/lightdm.conf.my, edited the copy, ensured the two files had same owner/group and access right and then "renamed" (mv) /etc/lightdm/lightdm.conf to /etc/lightdm.conf.orig and /etc/lightdm/lightdm.conf.my to /etc/lightdm/lightdm.conf.
I did so to avoid to alter the original file. Rebooted the system. System did not reach the graphic run level. It was anyway possible to login in text mode. Tried startx.
I can't remember exactly what happened then. Anyway I was not happy and I tried to go back: renamed the files in the opposite direction in order to revert to the original setup. Reboot.
==== What I got:
The system was not restored to its original behaviour. It was displaying the graphic login window (this was not the original behaviour). Anyway the user proposed at login was correct. I Typed the password. After some seconds the graphic login reappeared without any error message. With control-alt-F1 I got the textual login again, and there I was able to login (with the same username/password "failed" in the graphic login). Tried this again (reboot / graphic login) with same result. Rechecked the mentioned configuration files.
==== Question: What could have happened to change the System behavior, even if I restored the previous configuration files? Note that I did no other modifications, not messed up password etc etc; as far as I understand the presence of additional files in the Desktop (I have parked there a copy of the file extracted from /usr/share/doc/lightdm/lightdm.conf) should not disturb in any way; and also additional files not ending in ".conf" in the folder /etc/lightdm (I have left there some) should not disturb...
Additional question: where can I find some explanation of the concept of "Seat" (a keyword that appears in the lightdm conf files)?
==== Additional info:
I am not sure if the modification I tried in the /etc/lightdm/lightdm.conf make sense; again I think this should be immaterial after the operated restore; anyway: I had tried to add the following lines:
[Seat:1] type=xremote [XDMCPServer] enabled=true [VNCServer] enabled=true