diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-March/012748.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-March/012748.html | 160 |
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: +><i> Hello Colin, +</I>><i> +</I>><i> On Wed, 07 Mar 2012 11:15:29 +0000 +</I>><i> Colin Guthrie <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>> wrote: +</I>><i> +</I>>><i> 'Twas brillig, and Wolfgang Bornath at 07/03/12 10:13 did gyre and gimble: +</I>>>><i> 2012/3/7 Guillaume Rousse <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">guillomovitch at gmail.com</A>>: +</I>>>>><i> Le 07/03/2012 10:26, Colin Guthrie a écrit : +</I>>>>>><i> +</I>>>>>><i> Hi, +</I>>>>>><i> +</I>>>>>><i> Unless someone comes along and does a reasonable amount of coding before +</I>>>>>><i> mga2, I think we'll have to deprecate supporting startx (it can still be +</I>>>>>><i> used in some circumstances, but audio and accelerated graphics will not +</I>>>>>><i> be available). +</I>>>>>><i> +</I>>>>>><i> See this comment (and the link therein) for more info on the issue: +</I>>>>>><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>>>>><i> +</I>>>>><i> What is the operational translation of 'deprecating support of foo' ? +</I>>>>><i> automatic answer "no support" to any user reporting issue with it ? removing +</I>>>>><i> it from the distribution ? +</I>>>>><i> +</I>>>>><i> While I don't care about the first one, I do care about the second +</I>>>>><i> interpretation. Given the very high fragility of the gnome environment +</I>>>>><i> nowadays, using old-days tools to workaround those various issues is +</I>>>>><i> frequently useful. +</I>>>><i> +</I>>>><i> Different from Guillaume I do care about the impact for the user. +</I>>>><i> There are many out there who are used to startx and also docs and +</I>>>><i> howtos which use it. Therefore we will need an explanation for +</I>>>><i> switching off startx. An explanation to be used in forums, which is a +</I>>>><i> bit more than just a link to a bug report. In other words: to be +</I>>>><i> understood by non-techie users. +</I>>><i> +</I>>><i> To answer Guillaume's question, I wasn't personally planning on removing +</I>>><i> it fully. Just documenting that it is broken and that users should not +</I>>><i> use this as a mechanism for starting X. +</I>>><i> +</I>>><i> I would propose just putting in "echo 'startx is deprecated. Here is +</I>>><i> why..... Press any key to continue anyway.' >&2; read -n 1" in the +</I>>><i> startx script such that users using it will be warned. Does this seem +</I>>><i> sensible? +</I>><i> +</I>><i> Having to press this every time will drive me nuts. If you are going to do it, +</I>><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) + +><i> Luckily for me (and for Mageia) I am a programmer and can write the required +</I>><i> code to make startx play nice with the rest of systemd again. I'll read the URL +</I>><i> of the bug and see what is needed and hopefully with some guidance from the +</I>><i> people on Freenode, will make it work. If anyone wants to help, I'm "rindolf" +</I>><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> |