[LightDM] Multiple sessions on a single seat
Robert Ancell
robert.ancell at gmail.com
Sat Oct 15 05:03:21 UTC 2016
Hi Diego,
The only available configuration is the user and the session they use. So
on startup you could run a boot script that calls dm-tool to start two
sessions. What you can't do is autologin them both though, so you have to
have them configured to log in without passwords to have them both start
instead of just seeing a greeter. If you appropriately configured PAM you
could get around this, but I suspect it would be a big hack.
Note you can't configure different greeters for the same seat as there's
only supposed to be one instance of it.
It's not clear to me the advantage of running two sessions on startup
though - is this just to save time?
--Robert
On Sat, 15 Oct 2016 at 01:16 Diego Alvarez <dpe.alvarez at gmail.com> wrote:
Hey Robert,
Switching sessions on demand could work, but I'd be more convenient to have
both start on boot. Still, even if I do switch to them on demand I cannot
configure the new session, it always starts with the same parameters as the
first one or goes straight to the greeter with some sort of default
parameters that I cannot configure (depending on the method used to start
the new session).
I'd like to be able to for example, run a remote X session on a VT and a
local one on another, or set up a different DE on each VT.
On Wed, Oct 12, 2016 at 11:48 PM, Robert Ancell <robert.ancell at gmail.com>
wrote:
Hi Diego,
This was never intended to work that way. What is the reason to have
multiple sessions start automatically instead of just switching to them on
demand?
--Robert
On Sun, 11 Sep 2016 at 12:56 Diego Alvarez <dpe.alvarez at gmail.com> wrote:
Hello folks,
I'm having some trouble with a LightDM configuration I want to set-up, so
maybe someone here knows how to do this.
What I want to do is, when booting, have multiple sessions running at on
different VTs on a single seat. I mean, only one monitor/keyboard but have
one user logged in on VT7 and another user on VT8 using another DE and such.
This was possible on older versions of LightDM, before integrating logind's
seat detection. I just used the [Seat:x] configuration in
/etc/lightdm/lightdm.conf and it did exactly what I wanted.
Problem is that now LightDM uses logind to handle detecting the seats, but
it seems to ignore the fact one may want to run multiple sessions with one
seat only. Configuration for the first session works fine, but I can no
longer tell LightDM to start other X sessions on another VT.
I can use 'dm-tool' to start another session, but I cannot make it so
LightDM does that automatically on startup nor configure the new session
(i.e. autologin, which greeter to use, etc).
Does anyone know how I can make this set up work?
_______________________________________________
LightDM mailing list
LightDM at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/lightdm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/lightdm/attachments/20161015/e798f427/attachment.html>
More information about the LightDM
mailing list