summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-September/018879.html
blob: 504ef319a2266fba6ccd54f5173547c4bdddddba (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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] Problems with gnome-shell and polkit
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Problems%20with%20gnome-shell%20and%20polkit&In-Reply-To=%3C50603AFF.4030105%40ono.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="018870.html">
   <LINK REL="Next"  HREF="018890.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Problems with gnome-shell and polkit</H1>
    <B>JA Magall&#243;n</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Problems%20with%20gnome-shell%20and%20polkit&In-Reply-To=%3C50603AFF.4030105%40ono.com%3E"
       TITLE="[Mageia-dev] Problems with gnome-shell and polkit">jamagallon at ono.com
       </A><BR>
    <I>Mon Sep 24 12:50:39 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="018870.html">[Mageia-dev] Problems with gnome-shell and polkit
</A></li>
        <LI>Next message: <A HREF="018890.html">[Mageia-dev] Problems with gnome-shell and polkit
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#18879">[ date ]</a>
              <a href="thread.html#18879">[ thread ]</a>
              <a href="subject.html#18879">[ subject ]</a>
              <a href="author.html#18879">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On 09/24/2012 12:42 AM, JA Magall&#243;n wrote:
&gt;<i> Hi...
</I>&gt;<i>
</I>&gt;<i> After latest updates GDM works again, but
</I>&gt;<i> I get a sad-computer-screen-of-death when I try to log in in Gnome.
</I>&gt;<i> The culprit seems to be the gnome-shell / polkit interaction.
</I>&gt;<i> With startx from vconsole I get this on .xsession-errors:
</I>&gt;<i>
</I>&gt;<i> Window manager warning: Log level 16: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists for the given subject
</I>&gt;<i>      JS ERROR: !!!   Exception was: Polkit.Error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists for the given subject
</I>&gt;<i>      JS ERROR: !!!     message = '&quot;GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists for the given subject&quot;'
</I>&gt;<i>      JS ERROR: !!!     fileName = '&quot;/usr/share/gnome-shell/js/ui/components/polkitAgent.js&quot;'
</I>&gt;<i>      JS ERROR: !!!     lineNumber = '329'
</I>&gt;<i>      JS ERROR: !!!     stack = '&quot;0 anonymous()@/usr/share/gnome-shell/js/ui/components/polkitAgent.js:329
</I>&gt;<i> 1 wrapper()@/usr/share/gjs-1.0/lang.js:204
</I>&gt;<i> 2 anonymous(&quot;name&quot; = &quot;&quot;polkitAgent&quot;&quot;)@/usr/share/gnome-shell/js/ui/components/__init__.js:56
</I>&gt;<i> 3 wrapper(&quot;&quot;polkitAgent&quot;&quot;)@/usr/share/gjs-1.0/lang.js:204
</I>&gt;<i> 4 anonymous(&quot;name&quot; = &quot;&quot;polkitAgent&quot;&quot;, 1, [object Array])@/usr/share/gnome-shell/js/ui/components/__init__.js:22
</I>&gt;<i> 5 anonymous()@/usr/share/gnome-shell/js/ui/components/__init__.js:21
</I>&gt;<i> 6 wrapper()@/usr/share/gjs-1.0/lang.js:204
</I>&gt;<i> 7 anonymous()@/usr/share/gnome-shell/js/ui/components/__init__.js:13
</I>&gt;<i> 8 wrapper()@/usr/share/gjs-1.0/lang.js:204
</I>&gt;<i> 9 anonymous()@/usr/share/gjs-1.0/lang.js:145
</I>&gt;<i> 10 anonymous()@/usr/share/gjs-1.0/lang.js:239
</I>&gt;<i> 11 start()@/usr/share/gnome-shell/js/ui/main.js:150
</I>&gt;<i> 12 &lt;TOP LEVEL&gt;@&lt;main&gt;:1
</I>&gt;<i> &quot;'
</I>&gt;<i>
</I>&gt;<i> If I comment this in /usr/share/gnome-shell/js/ui/components/polkitAgent.js, at least I
</I>&gt;<i> can log in again:
</I>&gt;<i>
</I>&gt;<i>      enable: function() {
</I>&gt;<i>          //this._native.register();
</I>&gt;<i>      },
</I>&gt;<i>
</I>&gt;<i>      disable: function() {
</I>&gt;<i>          //this._native.unregister();
</I>&gt;<i>      },
</I>&gt;<i>
</I>&gt;<i> I have this versions of polkit:
</I>&gt;<i>
</I>&gt;<i> lib64polkit1_0-0.107-1.mga3 x86_64
</I>&gt;<i> lib64polkit-gir1.0-0.107-1.mga3 x86_64
</I>&gt;<i> polkit-0.107-1.mga3 x86_64
</I>&gt;<i> polkit-desktop-policy-0.107-1.mga3 noarch
</I>&gt;<i> polkit-gnome-0.105-1.mga2 x86_64
</I>&gt;<i>
</I>&gt;<i> Perhaps polkit-gnome is out of sync ?
</I>&gt;<i>
</I>&gt;<i> TIA
</I>&gt;<i>
</I>
 From what I looked in Google, they are all the latest versions.
I solved the issue uncomenting those lines and adding this:

AutostartCondition=GNOME3 unless-session gnome

in /etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop, as
explained here:

<A HREF="http://www.linuxfromscratch.org/blfs/view/svn/gnome/polkit-gnome.html">http://www.linuxfromscratch.org/blfs/view/svn/gnome/polkit-gnome.html</A>

Is this right for Mageia, or should the tags &quot;GNOME3&quot; and &quot;gnome&quot; changed
to something else ? Is this worth a bug report ?

TIA

-- 
J.A. Magallon &lt;jamagallon()ono!com&gt;        \               Winter is coming...
</PRE>





































<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="018870.html">[Mageia-dev] Problems with gnome-shell and polkit
</A></li>
	<LI>Next message: <A HREF="018890.html">[Mageia-dev] Problems with gnome-shell and polkit
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#18879">[ date ]</a>
              <a href="thread.html#18879">[ thread ]</a>
              <a href="subject.html#18879">[ subject ]</a>
              <a href="author.html#18879">[ 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>