<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] Minimum install of cauldron don't start console
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Minimum%20install%20of%20cauldron%20don%27t%20start%20console&In-Reply-To=%3CCA%2Bh4nj4SxjaHmrxDCByrS0MUj_9ZvoFOSceXX4wT5RcsO8nWTA%40mail.gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="012690.html">
   <LINK REL="Next"  HREF="012695.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Minimum install of cauldron don't start console</H1>
    <B>Wolfgang Bornath</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Minimum%20install%20of%20cauldron%20don%27t%20start%20console&In-Reply-To=%3CCA%2Bh4nj4SxjaHmrxDCByrS0MUj_9ZvoFOSceXX4wT5RcsO8nWTA%40mail.gmail.com%3E"
       TITLE="[Mageia-dev] Minimum install of cauldron don't start console">molch.b at googlemail.com
       </A><BR>
    <I>Tue Mar  6 19:45:40 CET 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="012690.html">[Mageia-dev] Minimum install of cauldron don't start console
</A></li>
        <LI>Next message: <A HREF="012695.html">[Mageia-dev] Minimum install of cauldron don't start console
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#12691">[ date ]</a>
              <a href="thread.html#12691">[ thread ]</a>
              <a href="subject.html#12691">[ subject ]</a>
              <a href="author.html#12691">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>2012/3/6 Colin Guthrie &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>&gt;:
&gt;<i> 'Twas brillig, and Wolfgang Bornath at 06/03/12 17:57 did gyre and gimble:
</I>&gt;&gt;<i> 2012/3/6 Colin Guthrie &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>&gt;:
</I>&gt;&gt;&gt;<i> 'Twas brillig, and Wolfgang Bornath at 06/03/12 16:56 did gyre and gimble:
</I>&gt;&gt;&gt;&gt;<i> 2012/3/6 Frank Griffin &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">ftg at roadrunner.com</A>&gt;:
</I>&gt;&gt;&gt;&gt;&gt;<i> On 03/06/2012 11:22 AM, Wolfgang Bornath wrote:
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> If you want to address the novice user, what do you think makes support in
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> case of a failing x server easier for the helper AND the novice user, a
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> black screen, a screen without a prompt but with a hanging list of messages
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> instead - or a login prompt from where he can be directed to a solution (or
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> given instructions to provide more information)?
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i> Probably a better solution, if you know that X is supposed to come up but
</I>&gt;&gt;&gt;&gt;&gt;<i> isn't, is to automatically log him in as some new ID whose shell is a script
</I>&gt;&gt;&gt;&gt;&gt;<i> something like the rescue console script. &#160;The first thing it does is su him
</I>&gt;&gt;&gt;&gt;&gt;<i> to prompt for the root password, and then presents a character-based dialog
</I>&gt;&gt;&gt;&gt;&gt;<i> explaining his options, offering to run XFdrake, maybe running rpm/urpmi to
</I>&gt;&gt;&gt;&gt;&gt;<i> see if all needed packages are installed, and giving him to option to exit
</I>&gt;&gt;&gt;&gt;&gt;<i> to a real shell if he wants.
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> Yes, that would be the next step on the road to user-friendly desaster
</I>&gt;&gt;&gt;&gt;<i> management.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> Well, that's my whole point!!!
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> As long as we do not have this a login prompt is better than nothing.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> So I should spend my time doing this, only to undo it later for a
</I>&gt;&gt;&gt;<i> different solution?
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> I'm sorry, but I'm not willing to waste time on this until it's decided
</I>&gt;&gt;&gt;<i> that this is the all we're going to do and what we'll ship.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> As far as things stand I see it as tangential to what I'd like to
</I>&gt;&gt;&gt;<i> achieve so I'd rather spend what limited time I have working on that
</I>&gt;&gt;&gt;<i> than something that could ultimately be thrown away later.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Ah, ok, I understand your point now.
</I>&gt;&gt;<i> The big question is: What is the time span we are talking about here?
</I>&gt;&gt;<i> A week, month? Would you think you can achieve this better solution
</I>&gt;&gt;<i> until Mageia 2 RC?
</I>&gt;<i>
</I>&gt;<i> Perhaps by beta2, but more likely by RC. I'll certainly make sure that
</I>&gt;<i> for beta2 a minimal install will properly present itself with
</I>&gt;<i> multi-user.target by default such that a getty will be shown on tty1 (as
</I>&gt;<i> already outlined, the getty on tty1 is only suppressed when there is
</I>&gt;<i> supposed to be a graphical login - and only a problem when that fails!).
</I>&gt;<i>
</I>&gt;&gt;<i> If so, I am totally ok with that. If you think it
</I>&gt;&gt;<i> will take longer than that, I do not think we can let this issue leave
</I>&gt;&gt;<i> hanging in the air when we approach Mageia 2 final, wasted work or
</I>&gt;&gt;<i> not.
</I>&gt;<i>
</I>&gt;<i> Yeah. I would agree there has to be a limit. I'd say RC2 should be that
</I>&gt;<i> limit. If I've not found a better way of doing things by then, I'll do
</I>&gt;<i> whatever is needed to make a getty appear...
</I>&gt;<i>
</I>&gt;<i> [Just to explain further, displaying a tty on failure is tricky due to
</I>&gt;<i> the complex interplay of different and conflicting configurations. I
</I>&gt;<i> *could* just run agetty manually at the end of the /etc/X11/prefdm
</I>&gt;<i> script, but then this then this would be considered by systemd as being
</I>&gt;<i> part of the prefdm service and thus if you login and restart prefdm
</I>&gt;<i> (which might be common) it would first of all kill the getty itself as
</I>&gt;<i> part of the &quot;stopping&quot; procedure! Now if it fails the user would be
</I>&gt;<i> dumped back at a login prompt again... not really very user friendly!
</I>&gt;<i> Hence, to solve this properly it would really be a matter of changing
</I>&gt;<i> the current target (aka runlevel) from default.target (which will be an
</I>&gt;<i> alias for graphical.target) to multi-user.target, but this may have
</I>&gt;<i> other consequences. I think this latter solution (changing target) is
</I>&gt;<i> the correct solution, but it really needs to be played out and tested
</I>&gt;<i> thoroughly. I'm also not sure what consequences there are (if any) of
</I>&gt;<i> running a command to change the target while running a specific service.
</I>&gt;<i> I think all will be fine, but all the same I'd need to investigate. And
</I>&gt;<i> after all that of course, we're supposed to still support sysvinit too
</I>&gt;<i> so we I'll have to at least look into things mostly working there (I
</I>&gt;<i> won't aim for sysvinit to be fully quirk free as it is clearly on the
</I>&gt;<i> way out and thus (being realistic) won't get as much time dedicated to
</I>&gt;<i> it). So it's not just a five or ten minute job!]
</I>&gt;<i>
</I>&gt;<i> Col
</I>
The force be with you, it will !

-- 
wobo
</PRE>


















<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="012690.html">[Mageia-dev] Minimum install of cauldron don't start console
</A></li>
	<LI>Next message: <A HREF="012695.html">[Mageia-dev] Minimum install of cauldron don't start console
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#12691">[ date ]</a>
              <a href="thread.html#12691">[ thread ]</a>
              <a href="subject.html#12691">[ subject ]</a>
              <a href="author.html#12691">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>