<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] A note on autologin and startx
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20A%20note%20on%20autologin%20and%20startx&In-Reply-To=%3CCA%2Bh4nj5Jyu2t3O5KVDfaW30u2s-hashe%2BvbcVaMempaG_%3Dw6ow%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="014016.html">
   <LINK REL="Next"  HREF="014023.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] A note on autologin and startx</H1>
    <B>Wolfgang Bornath</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20A%20note%20on%20autologin%20and%20startx&In-Reply-To=%3CCA%2Bh4nj5Jyu2t3O5KVDfaW30u2s-hashe%2BvbcVaMempaG_%3Dw6ow%40mail.gmail.com%3E"
       TITLE="[Mageia-dev] A note on autologin and startx">molch.b at googlemail.com
       </A><BR>
    <I>Sun Apr  8 18:39:46 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="014016.html">[Mageia-dev] A note on autologin and startx
</A></li>
        <LI>Next message: <A HREF="014023.html">[Mageia-dev] A note on autologin and startx
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#14021">[ date ]</a>
              <a href="thread.html#14021">[ thread ]</a>
              <a href="subject.html#14021">[ subject ]</a>
              <a href="author.html#14021">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>2012/4/8 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 07/04/12 08:50 did gyre and gimble:
</I>&gt;&gt;<i> 2012/4/7 Jose Jorge &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">lists.jjorge at free.fr</A>&gt;:
</I>&gt;&gt;&gt;<i> Le 06/04/2012 22:53, Colin Guthrie a &#233;crit :
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> Couldn't agree more. I'd say we can happily provide a tool to configure
</I>&gt;&gt;&gt;&gt;<i> autologin, but if that is configured, it basically just sets the DM to
</I>&gt;&gt;&gt;&gt;<i> gdm, and lets' it do the autologin.
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> The fact that gdm is used should be mostly hidden from users.
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i> From what I've seen, gdm seems to be the best implementation of the
</I>&gt;&gt;&gt;&gt;<i> whole pam and authentication stuff, so this would be my personal
</I>&gt;&gt;&gt;&gt;<i> favourite.
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> Col
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> Please note that autologin is lightweight and fast, so I use it for very old
</I>&gt;&gt;&gt;<i> systems, where even the 30Mb of RAM eaten by gdm count.
</I>&gt;&gt;&gt;<i> But I just can agree that if no one has time to fix it, we can drop it. I'll
</I>&gt;&gt;&gt;<i> be away from computers for &#160;15 days ...
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Does GDM provide change of desktop as KDM does?
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> My scenario: I have KDE and Gnome and Xfce installed. For system start
</I>&gt;&gt;<i> I have autologin set to start KDE.
</I>&gt;<i>
</I>&gt;<i> I'm guessing you've configured this inside KDE tools rather than inside
</I>&gt;<i> the drak* tools? You'll see why I presume that below:
</I>
No, I always use the draktools for system configuration. I am one of
those who would like to differ between system configuration and
desktop configuration.

&gt;&gt;<i> But when I am in a KDE session I
</I>&gt;&gt;<i> sometimes logout and use the upcoming KDM to start a Gnome or Xfce
</I>&gt;&gt;<i> session or even a session on a vt.
</I>&gt;<i>
</I>&gt;<i> If you use the autologin package, if you logout, you log back in again
</I>&gt;<i> straight away (it's a hook inside prefdm which starts the display
</I>&gt;<i> manager and it simply runs autologin if it's configured!)
</I>&gt;<i>
</I>&gt;<i> Now I'd be tempted to make this a &quot;one time operation&quot; e.g. if autologin
</I>&gt;<i> works and exits, then we should write a flag somewhere to say &quot;don't
</I>&gt;<i> autologin again&quot; i.e. make it only work once.
</I>&gt;<i>
</I>&gt;<i> This would solve this problem.
</I>
Yes. That's what I want. I have autologin for the first start. If I
log out it is mostly to change desktop or change user, so I can not
use autologin for that.

&gt;&gt;<i> Does this work with GDM as well? If so I'm all in.
</I>&gt;<i>
</I>&gt;<i> Yeah, but keep in mind, we wouldn't be forcing users to use gdm all the
</I>&gt;<i> time anyway. What I'd propose (and this is for mga3 remember), is that
</I>&gt;<i> if autologin was configured, we'd simply make gdm kick in and process
</I>&gt;<i> that autologin.
</I>&gt;<i>
</I>&gt;<i> If autologin is not configured, or the user has already logged in and
</I>&gt;<i> has now logged out, we would just dump you to your chosen DM (i.e. KDM).
</I>
Good.

&gt;<i> So we'd only be using GDM as a tool here, not really for it's GUI
</I>&gt;<i> specifically. That said, we may have to ensure that when we use gdm in
</I>&gt;<i> this way that it exits after the user session rather than reverting back
</I>&gt;<i> to it's login screen, allowing the prefdm process to be automatically
</I>&gt;<i> restarted and thus giving you your chosen DM.
</I>&gt;<i>
</I>&gt;<i> Anyway, this can be discussed in more depth after mga2 is out the door :)
</I>
Yes, I was not aware of this being a mga3 plan.

-- 
wobo
</PRE>








<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="014016.html">[Mageia-dev] A note on autologin and startx
</A></li>
	<LI>Next message: <A HREF="014023.html">[Mageia-dev] A note on autologin and startx
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#14021">[ date ]</a>
              <a href="thread.html#14021">[ thread ]</a>
              <a href="subject.html#14021">[ subject ]</a>
              <a href="author.html#14021">[ 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>