On miércoles, 26 de julio de 2017 23:55:02 -03 Steve McIntyre wrote:
> On Wed, Jul 26, 2017 at 12:56:17PM +0300, Алексей Шилин wrote:
> >Hi,
> >
> >I've investigated this issue a bit, and it looks like there are actually
two things to look at:
> > 1. Live user doesn't log in automatically.
> >
> > This is due to autologin not being configured for SDDM by live-config
> > scripts. In fact, there is no script to configure SDDM at all.
> >
> > 2. When one enters the password ("live" by default), session startup
> > fails.
> >
> > Looks like this is connected to the previous one. As there is no
> > script which configures SDDM, nothing prevents xinit configuration
> > script (/lib/live/config/0140-xinit) from being run, which installs
> > the following snippet to>
> > /etc/profile.d/:
> > if [ -z "${DISPLAY}" ] && [ $(tty) = /dev/tty1 ]
> > then
> >
> > while true
> > do
> >
> > if grep -qs quiet /proc/cmdline
> > then
> >
> > startx > /dev/null 2>&1
> >
> > else
> >
> > startx
> >
> > fi
> >
> > done
> >
> > fi
> >
> > Given that console autologin is enabled by default, this script tries
> > to start the X server in infinite loop. Under certain circumstances
> > this interferes with normal session startup by the display manager,
> > leading to the issue described above.
> >
> > Indeed, if one starts the system with "nottyautologin" boot option,
> > the issue vanishes, and it becomes possible to successfully log in
> > after typing the default live user password.
> >
> >I've attached a patch for live-config which adds SDDM configuration script.
> >It *should* solve both issues. However, testing is required.
>
> Thanks very much, this seems to be exactly the fix needed. I've just
> tested it now... :-)
Great!
--
"Los promotores del software privativo demonizan algo tan básico y ético como
el hecho de compartir imponiendo términos como el de 'pirata'. Equiparan
ayudar al prójimo con atacar barcos. Cuando me preguntan qué pienso de la
piratería musical e informática digo que atacar barcos es muy malo y,
que yo sepa, los piratas no usan computadoras.”
Richard Stallman, 05/11/2008, anexo de la Cámara de Diputados, Argentina
Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/
Attachment:
signature.asc
Description: This is a digitally signed message part.