summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-September/007853.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2011-September/007853.html')
-rw-r--r--zarb-ml/mageia-dev/2011-September/007853.html190
1 files changed, 190 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-September/007853.html b/zarb-ml/mageia-dev/2011-September/007853.html
new file mode 100644
index 000000000..d55db3123
--- /dev/null
+++ b/zarb-ml/mageia-dev/2011-September/007853.html
@@ -0,0 +1,190 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] Problem with gdm metacity again
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Problem%20with%20gdm%20metacity%20again&In-Reply-To=%3C20110907191830.53705c0b%40werewolf.home%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="007841.html">
+ <LINK REL="Next" HREF="007860.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] Problem with gdm metacity again</H1>
+ <B>JA Magallon</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Problem%20with%20gdm%20metacity%20again&In-Reply-To=%3C20110907191830.53705c0b%40werewolf.home%3E"
+ TITLE="[Mageia-dev] Problem with gdm metacity again">jamagallon at ono.com
+ </A><BR>
+ <I>Wed Sep 7 19:18:30 CEST 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="007841.html">[Mageia-dev] Problem with gdm metacity again
+</A></li>
+ <LI>Next message: <A HREF="007860.html">[Mageia-dev] Problem with gdm metacity again
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#7853">[ date ]</a>
+ <a href="thread.html#7853">[ thread ]</a>
+ <a href="subject.html#7853">[ subject ]</a>
+ <a href="author.html#7853">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On Wed, 07 Sep 2011 13:27:05 +0100
+Colin Guthrie &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>&gt; wrote:
+
+&gt;<i> 'Twas brillig, and JA Magallon at 07/09/11 12:03 did gyre and gimble:
+</I>&gt;<i> &gt; On Wed, 7 Sep 2011 13:01:39 +0300
+</I>&gt;<i> &gt; Shlomi Fish &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">shlomif at shlomifish.org</A>&gt; wrote:
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt;&gt; Hi J. A.,
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; On Wed, 7 Sep 2011 11:42:33 +0200
+</I>&gt;<i> &gt;&gt; JA Magallon &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">jamagallon at ono.com</A>&gt; wrote:
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt; On Wed, 7 Sep 2011 11:15:21 +0200
+</I>&gt;<i> &gt;&gt;&gt; JA Magallon &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">jamagallon at ono.com</A>&gt; wrote:
+</I>&gt;<i> &gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt;&gt; Hi...
+</I>&gt;<i> &gt;&gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt;&gt; This old problem has surfaced again:
+</I>&gt;<i> &gt;&gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt;&gt; .xsession-errors:
+</I>&gt;<i> &gt;&gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt;&gt; ...
+</I>&gt;<i> &gt;&gt;&gt;&gt; Window manager warning: Screen 0 on display &quot;:0&quot; already has a window manager; try using the --replace option to replace the current window manager.
+</I>&gt;<i> &gt;&gt;&gt;&gt; Window manager warning: Screen 0 on display &quot;:0&quot; already has a window manager; try using the --replace option to replace the current window manager.
+</I>&gt;<i> &gt;&gt;&gt;&gt; ...
+</I>&gt;<i> &gt;&gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt;&gt; I get only the nautilus desktop, with two black bars on top and bottom of the screen.
+</I>&gt;<i> &gt;&gt;&gt;&gt; If I launch a terminal, 'gnome-shell --replace' works fine.
+</I>&gt;<i> &gt;&gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; I reported this bug here:
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; <A HREF="https://bugs.mageia.org/show_bug.cgi?id=2628">https://bugs.mageia.org/show_bug.cgi?id=2628</A>
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; I can reproduce it here on my x86-64 Mageia Linux Cauldron laptop.
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; Regards,
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; Shlomi Fish
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt;&gt; Any idea ?
+</I>&gt;<i> &gt;&gt;&gt;&gt; Can it be some personal setting ?
+</I>&gt;<i> &gt;&gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt;&gt; TIA
+</I>&gt;<i> &gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt; Digging a bit more, something is wrong detecting acceleration.
+</I>&gt;<i> &gt;&gt;&gt; In GDM log:
+</I>&gt;<i> &gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt; gnome-session[4752]: DEBUG(+): fill: *** Looking if /usr/share/gnome-session/sessions/gdm-shell.session is a valid session file
+</I>&gt;<i> &gt;&gt;&gt; gnome-session[4752]: DEBUG(+): fill: *** Launching helper 'bash -c &quot;gnome-shell --help | grep -q gdm-mode &amp;&amp; /usr/lib64/gnome-session-check-accelerated&quot;' to know if session is runnable
+</I>&gt;<i> &gt;&gt;&gt; gnome-session-is-accelerated: No hardware 3D support.
+</I>&gt;<i> &gt;&gt;&gt; gnome-session-check-accelerated: Helper exited with code 256
+</I>&gt;<i> &gt;&gt;&gt; gnome-session[4752]: WARNING: Session 'gdm-shell' runnable check failed: Exited with code 1
+</I>&gt;<i> &gt;&gt;&gt; gnome-session[4752]: DEBUG(+): fill: *** Session is not runnable
+</I>&gt;<i> &gt;&gt;&gt; gnome-session[4752]: DEBUG(+): fill: *** Getting session 'gdm-fallback'
+</I>&gt;<i> &gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt; This is for GDM's own session.
+</I>&gt;<i> &gt;&gt;&gt; The same happens for user.
+</I>&gt;<i> &gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt; Any ideas ? How can I check why this fails ?
+</I>&gt;<i> &gt;&gt;&gt; Its a netbook with Intel graphics, so it uses Mesa.
+</I>&gt;<i> &gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt; Will check on an nvidia system too.
+</I>&gt;<i> &gt;&gt;&gt;
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; I did, and everything works fine. I even discovered that GDM looks different
+</I>&gt;<i> &gt; when acceleration is available ;)).
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; So these are two separate problems:
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; - Acceleration detection on some systems, from my limited tests, it works on
+</I>&gt;<i> &gt; nVidia (32bit, will check 64 shortly), and fails on intel (mesa???) graphics.
+</I>&gt;<i> &gt; This can be a bug report for gnome-session (/usr/lib64/gnome-session-check-accelerated*)
+</I>&gt;<i> &gt; or for Mesa if it's it what breaks things.
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; - In full mode, gnome-shell from the user replaces gnome-shell from gdm.
+</I>&gt;<i> &gt; But in fallback mode, gnome-shell can't replace GDM's metacity.
+</I>&gt;<i>
+</I>&gt;<i> It's almost certainly a permissions thing.
+</I>&gt;<i>
+</I>
+Yup, thats the problem.
+Booting into systemd gives this:
+
+one:~# ll /dev/dri*
+total 0
+crw-rw----+ 1 root video 226, 0 2011.09.07 15:12 card0
+crw-rw-rw- 1 root video 226, 64 2011.09.07 15:12 controlD64
+one:~# getfacl /dev/dri/card0
+getfacl: Removing leading '/' from absolute path names
+# file: dev/dri/card0
+# owner: root
+# group: video
+user::rw-
+user:gdm:rw-
+group::rw-
+mask::rw-
+other::---
+
+But with init, card0 has no acl.
+
+As a quick hack,
+
+one:/dev/dri# service dm stop
+Stopping display manager: [ OK ]
+one:/dev/dri# chmod 666 card0
+one:/dev/dri# ll
+total 0
+crw-rw-rw- 1 root video 226, 0 2011.09.07 19:15 card0
+crw-rw-rw- 1 root video 226, 64 2011.09.07 19:15 controlD64
+one:/dev/dri# service dm start
+Starting display manager: [ OK ]
+one:/dev/dri#
+
+made it work!
+
+&gt;<i> I'm not sure GDM registers itself with consolekit anymore. And
+</I>&gt;<i> in-so-doing, will not get permissions on the DRI device and thus will
+</I>&gt;<i> not be able to run the nice new shell.
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> If you run systemd then all should be well.
+</I>&gt;<i>
+</I>&gt;<i> Col
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i>
+</I>
+</PRE>
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="007841.html">[Mageia-dev] Problem with gdm metacity again
+</A></li>
+ <LI>Next message: <A HREF="007860.html">[Mageia-dev] Problem with gdm metacity again
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#7853">[ date ]</a>
+ <a href="thread.html#7853">[ thread ]</a>
+ <a href="subject.html#7853">[ subject ]</a>
+ <a href="author.html#7853">[ 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>