summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-September/007860.html
blob: 30cd543701624b15c605f29894c1f1499aca0caf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<!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=%3C4E689FF4.4020407%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="007853.html">
   <LINK REL="Next"  HREF="007894.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Problem with gdm metacity again</H1>
    <B>Colin Guthrie</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Problem%20with%20gdm%20metacity%20again&In-Reply-To=%3C4E689FF4.4020407%40colin.guthr.ie%3E"
       TITLE="[Mageia-dev] Problem with gdm metacity again">mageia at colin.guthr.ie
       </A><BR>
    <I>Thu Sep  8 12:59:00 CEST 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="007853.html">[Mageia-dev] Problem with gdm metacity again
</A></li>
        <LI>Next message: <A HREF="007894.html">[Mageia-dev] Problem with gdm metacity again
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#7860">[ date ]</a>
              <a href="thread.html#7860">[ thread ]</a>
              <a href="subject.html#7860">[ subject ]</a>
              <a href="author.html#7860">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>'Twas brillig, and JA Magallon at 07/09/11 18:18 did gyre and gimble:
&gt;<i> On Wed, 07 Sep 2011 13:27:05 +0100
</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 JA Magallon at 07/09/11 12:03 did gyre and gimble:
</I>&gt;&gt;&gt;<i> On Wed, 7 Sep 2011 13:01:39 +0300
</I>&gt;&gt;&gt;<i> Shlomi Fish &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">shlomif at shlomifish.org</A>&gt; wrote:
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> Hi J. A.,
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> On Wed, 7 Sep 2011 11:42:33 +0200
</I>&gt;&gt;&gt;&gt;<i> JA Magallon &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">jamagallon at ono.com</A>&gt; wrote:
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i> On Wed, 7 Sep 2011 11:15:21 +0200
</I>&gt;&gt;&gt;&gt;&gt;<i> JA Magallon &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">jamagallon at ono.com</A>&gt; wrote:
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> Hi...
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> This old problem has surfaced again:
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> .xsession-errors:
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> ...
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> 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;&gt;&gt;&gt;&gt;&gt;<i> 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;&gt;&gt;&gt;&gt;&gt;<i> ...
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> I get only the nautilus desktop, with two black bars on top and bottom of the screen.
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> If I launch a terminal, 'gnome-shell --replace' works fine.
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> I reported this bug here:
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> <A HREF="https://bugs.mageia.org/show_bug.cgi?id=2628">https://bugs.mageia.org/show_bug.cgi?id=2628</A>
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> I can reproduce it here on my x86-64 Mageia Linux Cauldron laptop.
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> Regards,
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> 	Shlomi Fish
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> Any idea ?
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> Can it be some personal setting ?
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> TIA
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i> Digging a bit more, something is wrong detecting acceleration.
</I>&gt;&gt;&gt;&gt;&gt;<i> In GDM log:
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i> gnome-session[4752]: DEBUG(+): fill: *** Looking if /usr/share/gnome-session/sessions/gdm-shell.session is a valid session file
</I>&gt;&gt;&gt;&gt;&gt;<i> 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;&gt;&gt;&gt;&gt;<i> gnome-session-is-accelerated: No hardware 3D support.
</I>&gt;&gt;&gt;&gt;&gt;<i> gnome-session-check-accelerated: Helper exited with code 256
</I>&gt;&gt;&gt;&gt;&gt;<i> gnome-session[4752]: WARNING: Session 'gdm-shell' runnable check failed: Exited with code 1
</I>&gt;&gt;&gt;&gt;&gt;<i> gnome-session[4752]: DEBUG(+): fill: *** Session is not runnable
</I>&gt;&gt;&gt;&gt;&gt;<i> gnome-session[4752]: DEBUG(+): fill: *** Getting session 'gdm-fallback'
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i> This is for GDM's own session.
</I>&gt;&gt;&gt;&gt;&gt;<i> The same happens for user.
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i> Any ideas ? How can I check why this fails ?
</I>&gt;&gt;&gt;&gt;&gt;<i> Its a netbook with Intel graphics, so it uses Mesa.
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i> Will check on an nvidia system too.
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> I did, and everything works fine. I even discovered that GDM looks different
</I>&gt;&gt;&gt;<i> when acceleration is available ;)).
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> So these are two separate problems:
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> - Acceleration detection on some systems, from my limited tests, it works on
</I>&gt;&gt;&gt;<i>   nVidia (32bit, will check 64 shortly), and fails on intel (mesa???) graphics.
</I>&gt;&gt;&gt;<i>   This can be a bug report for gnome-session (/usr/lib64/gnome-session-check-accelerated*)
</I>&gt;&gt;&gt;<i>   or for Mesa if it's it what breaks things.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> - In full mode, gnome-shell from the user replaces gnome-shell from gdm.
</I>&gt;&gt;&gt;<i>   But in fallback mode, gnome-shell can't replace GDM's metacity.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> It's almost certainly a permissions thing.
</I>&gt;&gt;<i>
</I>&gt;<i> 
</I>&gt;<i> Yup, thats the problem.
</I>&gt;<i> Booting into systemd gives this:
</I>&gt;<i> 
</I>&gt;<i> one:~# ll /dev/dri*
</I>&gt;<i> total 0
</I>&gt;<i> crw-rw----+ 1 root video 226,  0 2011.09.07 15:12 card0
</I>&gt;<i> crw-rw-rw-  1 root video 226, 64 2011.09.07 15:12 controlD64
</I>&gt;<i> one:~# getfacl /dev/dri/card0
</I>&gt;<i> getfacl: Removing leading '/' from absolute path names
</I>&gt;<i> # file: dev/dri/card0
</I>&gt;<i> # owner: root
</I>&gt;<i> # group: video
</I>&gt;<i> user::rw-
</I>&gt;<i> user:gdm:rw-
</I>&gt;<i> group::rw-
</I>&gt;<i> mask::rw-
</I>&gt;<i> other::---
</I>&gt;<i> 
</I>
OK, can you try this:

Can you edit and add the line: /etc/pam.d/gdm-welcome

-session    optional     pam_ck_connector.so

BEFORE the line:

session    include     system-auth

And then reboot... see if that helps?

Col

-- 

Colin Guthrie
mageia(at)colin.guthr.ie
<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="007853.html">[Mageia-dev] Problem with gdm metacity again
</A></li>
	<LI>Next message: <A HREF="007894.html">[Mageia-dev] Problem with gdm metacity again
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#7860">[ date ]</a>
              <a href="thread.html#7860">[ thread ]</a>
              <a href="subject.html#7860">[ subject ]</a>
              <a href="author.html#7860">[ 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>