On 21/01/2014 04:16 μμ, Armin K. wrote: > On 21.1.2014 14:41, Thanos Baloukas wrote: >> I setup systemd-208 with pam and polkit and user can shutdown, reboot >> and has access to devices without being member of audio and video >> groups. To have these rights in my xfce session started with >> startxfce4 I needed to make it start on the same vt I login, >> making ~/.xserverrc like >> exec /usr/bin/X -nolisten tcp -layout "us,gr" vt01 >> >> I have two questions. Is autologin to virtual console possible >> on this setup, and if it is how can this be done? >> Has anyone installed a login/display manager on this setup? >> I have never installed one, so some info would be helpful. >> >> Thanks >> > > I don't know about autologin, but I have installed and I'm currently > using lightdm display manager and it works fine. > > The script in attachment will build and install lightdm using destdir > method to a DEST dir defined at the beginning of the file. It creates > INSTALL file in the DEST dir which you simply execute and environment > gets set up correctly. > > Deps: > > itstool, libxklavier, polkit > > Maybe optional, look for switches - my script build all by default: > > qt4, qt5, accountsservice (runtime), gobject-introspection > > You also need a greeter. Default one is ligthdm-gtk-greeter, a GTK+3 > variant but can be built as GTK+2 variant too, just look for the right > switch. > > https://launchpad.net/lightdm-gtk-greeter > > Install it in /usr, I forgot if it's cmake or autotools setup. I don't > have a script for it. > > After everything is done, just run "systemctl enable lightdm" > > Most of the files created by the script are taken from archlinux lightdm > package. > > Note that lightdm uses even/odd stable/unstable versioning. Latest > lightdm stable is 1.8.x and latest lightdm-gtk-greeter stable is 1.6.x > > There's also kde greeter, but that depends on KDE and Qt4 library from > lightdm. >
It installed and started OK. the only dep I needed was libgcrypt. It isn't mentioned on arch because it seems that it's pulled in by systemd. I don't know pam yet and I hesitated to install lightdm following the instructions on arch, before your post, being afraid that it wouldn't work because of different pam setups between arch and BLFS. I'm in search for a nice gtk2 theme for the greeter. Thanks a lot -- Thanos -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
