I decided to give LightDM a try. It is supposed to also support XDMC. Unfortunately, the openSuse version doesn’t to seem to work with VNC. Or at least not out of the box. Can anyone help?
When accessing the box directly, LightDM clearly works, I was able to log in to my usual account. But when accessed by VNC, same working setup as with GDM, using Windows TigerVNC client, it does not work. It clearly connects, but all I get is a second lasting black window with a “X” cursor, so “something” is happening, but then the client window is automatically closed with a failure message.
I’ve been using GDM with VNC for a long time and it still works well. My setup is a home “terminal server”, a box without peripherals, intended to be used via VNC and SSH and as a file server. So I need display manager with XDMC support so I can log in using VNC. I also use VNC Manager to manage the sessions. I didn’t have to configure GDM in any way, to make it work with remote logging; it worked with VNC out of the box.
I switched DM following manual https://en.opensuse.org/SDB:Change_Display_Manager:
upadte-alternatives --config default-displaymanager
According to https://wiki.archlinux.org/index.php/LightDM, there should be conf file /etc/lightdm/lightdm.conf with vital settings:
[VNCServer]
enabled=true
...
[XDMCPServer]
enabled=true
...
But no such file exists in openSuse version.
I read somewhere else that openSuse provides modified (patched) versions of popular DMs in order to make them to source some setting from /etc/sysconfig/displaymanager. Assuming that they have a bug there, and VNCServer/XDMCPServer are not being correctly, is there a way I can provide this settings directly to LightDM? Can I create lightdm.conf? And would openSuse’s LightDM recognize it?
I have reported this as a possible bug, https://bugzilla.opensuse.org/show_bug.cgi?id=1151530, but I thought someone here might have some ideas, perhaps facing the same issue too, so I am sharing it here too.