[LightDM] [systemd-devel] loginctl - multi-seats - lightdm - Xorg

poma pomidorabelisima at gmail.com
Thu May 14 09:48:41 PDT 2015


To conclude.

$ loginctl 
   SESSION        UID USER             SEAT            
         1       1000 poma                             
        c3        105 lightdm          seat1         
        c4        105 lightdm          seat0           

3 sessions listed.

$ ps ax | grep [X]org
 1344 ?        Sl     0:00 /usr/libexec/Xorg :0 -seat seat1 -sharevts -auth /var/run/lightdm/root/:0 -nolisten tcp
 1347 tty1     Ss+    0:00 /usr/libexec/Xorg :1 -seat seat0 -auth /var/run/lightdm/root/:1 -nolisten tcp vt1 -novtswitch


$ grep -i LoadModule /var/log/Xorg.0.log
… (II) LoadModule: "glx"
… (II) LoadModule: "modesetting"  <--
… (II) LoadModule: "fbdev"
… (II) UnloadModule: "fbdev"
… (II) LoadModule: "vesa"
… (II) UnloadModule: "vesa"
… (II) LoadModule: "glamoregl"
… (II) LoadModule: "fb"

$ fbset -i -fb /dev/fb1 | grep Name
    Name        : udldrmfb


$ grep -i LoadModule /var/log/Xorg.1.log
… (II) LoadModule: "glx"
… (II) LoadModule: "nouveau"  <--
… (II) LoadModule: "nv"
… (II) UnloadModule: "nv"
… (II) LoadModule: "modesetting"
… (II) LoadModule: "fbdev"
… (II) UnloadModule: "fbdev"
… (II) LoadModule: "vesa"
… (II) UnloadModule: "vesa"
… (II) LoadModule: "dri2"
… (II) LoadModule: "fb"
… (II) LoadModule: "shadowfb"
… (II) UnloadModule: "modesetting"
… (II) LoadModule: "exa"
… (II) LoadModule: "evdev"

$ fbset -i | grep Name
    Name        : nouveaufb


# Xorg -version

X.Org X Server 1.17.1
Release Date: 2015-02-10
X Protocol Version 11, Revision 0
...
Build ID: xorg-x11-server 1.17.1-12.fc21 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

All in all, 
in X.Org X Server 1.17.1 modules are automatically induced in multi-seat environment,
therefore additional configuration files for Xorg X server are no longer necessary,
and overall *minimum* lightdm's config is:
~~~~~~~~~~~~~~~~~~~~~

$ lightdm --show-config
   [LightDM]
A  minimum-vt=1

   [SeatDefaults]
A  session-wrapper=/etc/X11/xinit/Xsession

~~~~~~~~
Sources:
A  /etc/lightdm/lightdm.conf

~~~~~~~~~~~~~~~~~~~~~~~~~~~~

$ lightdm --version
lightdm 1.14.0


That's super cool, isn't it.




More information about the LightDM mailing list