From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-April/013960.html | 113 ++++++++++++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-April/013960.html (limited to 'zarb-ml/mageia-dev/2012-April/013960.html') diff --git a/zarb-ml/mageia-dev/2012-April/013960.html b/zarb-ml/mageia-dev/2012-April/013960.html new file mode 100644 index 000000000..99e9259ec --- /dev/null +++ b/zarb-ml/mageia-dev/2012-April/013960.html @@ -0,0 +1,113 @@ + + + + [Mageia-dev] A note on autologin and startx + + + + + + + + + +

[Mageia-dev] A note on autologin and startx

+ Colin Guthrie + mageia at colin.guthr.ie +
+ Fri Apr 6 18:14:04 CEST 2012 +

+
+ +
Hi,
+
+OK, so the autologin package was a bit broken. I've fixed it up but my
+patches are a bit hacky.
+
+My patch always assumes tty1+vt1 for X which is a reasonable assumption.
+It might however be better to get the current tty by reading
+/sys/class/tty/tty0/active or calling ctermid(). This would have to be
+passed through to the startx command as a vt number.
+
+Overall, however, the autologin code is pretty broken. I *should*
+register a graphical login after starting X (the same way gdm does it),
+that way it will remain active and there won't be vt switch related issues.
+
+
+Also, as per previous discussions, I've made startx reuse the current
+tty when starting x (if you don't supply a vtN argument) which should
+keep the login permissions. It's still a bit fugly, but it's better than
+not working at all IMO.
+
+Col
+
+
+
+-- 
+
+Colin Guthrie
+colin(at)mageia.org
+http://colin.guthr.ie/
+
+Day Job:
+  Tribalogic Limited http://www.tribalogic.net/
+Open Source:
+  Mageia Contributor http://www.mageia.org/
+  PulseAudio Hacker http://www.pulseaudio.org/
+  Trac Hacker http://trac.edgewall.org/
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1