[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Switching to XDM fails in Kubuntu (and a workaround)
From:       Jordan Gigov <coladict () gmail ! com>
Date:       2014-08-20 6:24:45
Message-ID: CA+nBocB070WAZ4BFG+hrc+CW0Sm9JsJRC9Smuh7WMoFjr4OB2A () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


The problem:
The first time I tried switching from Kubuntu's default (I think it was
LightDM)  to X Display Manager it just failed to load, with the Plymouth
splash screen being stuck in front. It was a fresh install, so not having
anything to lose, I re-installed the whole system again.

The workaround:
After some time I tried that migration again, but this time I found out I
could switch to a terminal with alt+arrow keys. I could log in from there
and start it manually, but that created multiple user sessions. Looking
online for solutions, I found only suggestions, that didn't work, but they
did guide me where to look. In the Upstart configuration file
/etc/init/plymouth-stop.conf they said I should add xdm to the conditions
in the pre-start script. That didn't help, but I saw the command it used
there "exec /bin/plymouth quit". I wrote a little Upstart configuration for
XDM, because some logs (I forget which) seemed to indicate that that XDM
could not allocate the monitor, because it was already taken-up by the
Plymouth splash screen. This is what I have in /etc/init/xdm.conf

start on runlevel [2345]
task
pre-start exec /bin/plymouth quit


After rebooting several times it seems to work consistently.

The reason I'm writing this:
A similar solution needs to be integrated in future versions. There is
probably a more proper way to do it, but I'm not that invested in it. If
this solution will not make it into a distribution, then it should at least
be featured in an FAQ or Troubleshooting guide.

[Attachment #5 (text/html)]

<div dir="ltr"><div>The problem:</div>The first time I tried switching from \
Kubuntu&#39;s default (I think it was LightDM)   to X Display Manager it just failed \
to load, with the Plymouth splash screen being stuck in front. It was a fresh \
install, so not having anything to lose, I re-installed the whole system again.<div>

<br></div><div>The workaround:</div><div>After some time I tried that migration \
again, but this time I found out I could switch to a terminal with alt+arrow keys. I \
could log in from there and start it manually, but that created multiple user \
sessions. Looking online for solutions, I found only suggestions, that didn&#39;t \
work, but they did guide me where to look. In the Upstart configuration file \
/etc/init/plymouth-stop.conf they said I should add xdm to the conditions in the \
pre-start script. That didn&#39;t help, but I saw the command it used there \
&quot;exec /bin/plymouth quit&quot;. I wrote a little Upstart configuration for XDM, \
because some logs (I forget which) seemed to indicate that that XDM could not \
allocate the monitor, because it was already taken-up by the Plymouth splash screen. \
This is what I have in /etc/init/xdm.conf<br>

</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>start \
on runlevel [2345]</div></div><div><div>task</div></div><div><div>pre-start exec \
/bin/plymouth quit</div></div></blockquote><div><br></div>

<div>After rebooting several times it seems to work \
consistently.</div><div><br></div><div>The reason I&#39;m writing this:</div><div>A \
similar solution needs to be integrated in future versions. There is probably a more \
proper way to do it, but I&#39;m not that invested in it. If this solution will not \
make it into a distribution, then it should at least be featured in an FAQ or \
Troubleshooting guide.</div>

</div>



_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic