summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-March/012748.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-March/012748.html')
-rw-r--r--zarb-ml/mageia-dev/2012-March/012748.html160
1 files changed, 160 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-March/012748.html b/zarb-ml/mageia-dev/2012-March/012748.html
new file mode 100644
index 000000000..4cb58e02f
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-March/012748.html
@@ -0,0 +1,160 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] Deprecating startx
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Deprecating%20startx&In-Reply-To=%3C4F577560.5080308%40colin.guthr.ie%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="012747.html">
+ <LINK REL="Next" HREF="012730.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] Deprecating startx</H1>
+ <B>Colin Guthrie</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Deprecating%20startx&In-Reply-To=%3C4F577560.5080308%40colin.guthr.ie%3E"
+ TITLE="[Mageia-dev] Deprecating startx">mageia at colin.guthr.ie
+ </A><BR>
+ <I>Wed Mar 7 15:49:04 CET 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="012747.html">[Mageia-dev] Deprecating startx
+</A></li>
+ <LI>Next message: <A HREF="012730.html">[Mageia-dev] Deprecating startx
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#12748">[ date ]</a>
+ <a href="thread.html#12748">[ thread ]</a>
+ <a href="subject.html#12748">[ subject ]</a>
+ <a href="author.html#12748">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>'Twas brillig, and Shlomi Fish at 07/03/12 14:09 did gyre and gimble:
+&gt;<i> Hello Colin,
+</I>&gt;<i>
+</I>&gt;<i> On Wed, 07 Mar 2012 11:15:29 +0000
+</I>&gt;<i> Colin Guthrie &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>&gt; wrote:
+</I>&gt;<i>
+</I>&gt;&gt;<i> 'Twas brillig, and Wolfgang Bornath at 07/03/12 10:13 did gyre and gimble:
+</I>&gt;&gt;&gt;<i> 2012/3/7 Guillaume Rousse &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">guillomovitch at gmail.com</A>&gt;:
+</I>&gt;&gt;&gt;&gt;<i> Le 07/03/2012 10:26, Colin Guthrie a &#233;crit :
+</I>&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;<i> Hi,
+</I>&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;<i> Unless someone comes along and does a reasonable amount of coding before
+</I>&gt;&gt;&gt;&gt;&gt;<i> mga2, I think we'll have to deprecate supporting startx (it can still be
+</I>&gt;&gt;&gt;&gt;&gt;<i> used in some circumstances, but audio and accelerated graphics will not
+</I>&gt;&gt;&gt;&gt;&gt;<i> be available).
+</I>&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;<i> See this comment (and the link therein) for more info on the issue:
+</I>&gt;&gt;&gt;&gt;&gt;<i> <A HREF="https://bugs.mageia.org/show_bug.cgi?id=4652#c9">https://bugs.mageia.org/show_bug.cgi?id=4652#c9</A>
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> What is the operational translation of 'deprecating support of foo' ?
+</I>&gt;&gt;&gt;&gt;<i> automatic answer &quot;no support&quot; to any user reporting issue with it ? removing
+</I>&gt;&gt;&gt;&gt;<i> it from the distribution ?
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> While I don't care about the first one, I do care about the second
+</I>&gt;&gt;&gt;&gt;<i> interpretation. Given the very high fragility of the gnome environment
+</I>&gt;&gt;&gt;&gt;<i> nowadays, using old-days tools to workaround those various issues is
+</I>&gt;&gt;&gt;&gt;<i> frequently useful.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> Different from Guillaume I do care about the impact for the user.
+</I>&gt;&gt;&gt;<i> There are many out there who are used to startx and also docs and
+</I>&gt;&gt;&gt;<i> howtos which use it. Therefore we will need an explanation for
+</I>&gt;&gt;&gt;<i> switching off startx. An explanation to be used in forums, which is a
+</I>&gt;&gt;&gt;<i> bit more than just a link to a bug report. In other words: to be
+</I>&gt;&gt;&gt;<i> understood by non-techie users.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> To answer Guillaume's question, I wasn't personally planning on removing
+</I>&gt;&gt;<i> it fully. Just documenting that it is broken and that users should not
+</I>&gt;&gt;<i> use this as a mechanism for starting X.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> I would propose just putting in &quot;echo 'startx is deprecated. Here is
+</I>&gt;&gt;<i> why..... Press any key to continue anyway.' &gt;&amp;2; read -n 1&quot; in the
+</I>&gt;&gt;<i> startx script such that users using it will be warned. Does this seem
+</I>&gt;&gt;<i> sensible?
+</I>&gt;<i>
+</I>&gt;<i> Having to press this every time will drive me nuts. If you are going to do it,
+</I>&gt;<i> please also use an optional environment variable to trigger it off.
+</I>
+Env var or a switch to pass to it (and you could then put alias
+startx='startx --no-session-warning' or similar in your bashrc? Thinking
+about this, it might make more sense to warn the user AFTER they have
+logged in... e.g. via zenity or knotify or similar. But again with the
+option to hide it still)
+
+&gt;<i> Luckily for me (and for Mageia) I am a programmer and can write the required
+</I>&gt;<i> code to make startx play nice with the rest of systemd again. I'll read the URL
+</I>&gt;<i> of the bug and see what is needed and hopefully with some guidance from the
+</I>&gt;<i> people on Freenode, will make it work. If anyone wants to help, I'm &quot;rindolf&quot;
+</I>&gt;<i> there and I'm also reachable by other forms of IM and by other means:
+</I>
+It would be nice if you wanted to take on this project. Basically you'd
+be writing a DM (like gdm) which is able to talk to PAM and do all those
+things needed for proper session management. Of course your DM would be
+very much cut down - i.e. it would not actually have any UI, but just
+implement and autologin system.
+
+I'd imagine how it would work is that your program would be installed as
+setuid, thus regular users can run it, it can find the username who run
+it and store that, then call the necessary commands to gain root
+privileges, do the whole pam conversation and then login the user. This
+will require a specific PAM config (e.g. /etc/pam.d/startx) to allow
+passwordless authentication for your user.
+
+This is just a very rough overview of what would be needed.
+
+Good luck :)
+
+Col
+
+
+
+
+
+--
+
+Colin Guthrie
+colin(at)mageia.org
+<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A>
+
+Day Job:
+ Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A>
+Open Source:
+ Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A>
+ PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A>
+ Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A>
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="012747.html">[Mageia-dev] Deprecating startx
+</A></li>
+ <LI>Next message: <A HREF="012730.html">[Mageia-dev] Deprecating startx
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#12748">[ date ]</a>
+ <a href="thread.html#12748">[ thread ]</a>
+ <a href="subject.html#12748">[ subject ]</a>
+ <a href="author.html#12748">[ 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>