Re: [gdm-list] gdm won't run after upgrade...



Hi Ray

Some progress, of sorts:

On 30/10/10 03:25, Ray Strode wrote:
> Hi,
> 
> On Fri, Oct 29, 2010 at 1:22 AM, Morgan Read <mstuff read org nz> wrote:
>>> Try "pkill -f gdm" and see if that kicks it.
>>>
>>> It could also be a problem with the dbus security policy in /etc/dbus-1/system.d
>>
>> [root mythtv ~]# gdm
>>
>> ** (gdm-binary:1640): WARNING **: Failed to acquire org.gnome.DisplayManager
>>
>> ** (gdm-binary:1640): WARNING **: Could not acquire name; bailing out
>> [root mythtv ~]#
>>
>> Hmmm, didn't work
> Does "ps -ef |grep gdm" return anything?  That should tell if you it's
> running already.
[root mythtv ~]# ps -ef |grep gdm
root      1545     1  0 20:25 ?        00:00:00 /usr/sbin/gdm-binary
-nodaemon
root      1622  1605  0 20:27 pts/0    00:00:00 grep --color=auto gdm
[root mythtv ~]#

Hmm, to my novice eye - that looks like it is...

Tried "kill 1545"

Then "gdm", this is what I got:
[root mythtv system.d]# gdm

** (gdm-binary:1687): WARNING **: Failed to acquire org.gnome.DisplayManager

** (gdm-binary:1687): WARNING **: Could not acquire name; bailing out
[root mythtv system.d]# ps -ef |grep gdm
root      1650     1  0 21:10 ?        00:00:00 /usr/sbin/gdm-binary
-nodaemon
root      1697  1605  0 21:13 pts/0    00:00:00 grep --color=auto gdm
[root mythtv system.d]# kill 1650
[root mythtv system.d]# gdm

** (gdm-binary:1736): WARNING **: Failed to acquire org.gnome.DisplayManager

** (gdm-binary:1736): WARNING **: Could not acquire name; bailing out
[root mythtv system.d]#

Hmm, feels like ground-hog day...

> 
>> - so, a dbus security policy - if I disable selinux
>> would that rule out such I think.
> No, SELinux policy is only one small part of dbus security policy.
> 
>> Is there some other sort of security police that might be affecting
>> /etc/dbus-1/system.d ?
> Right, in order to own the name org.gnome.DisplayManager there has to
> be a file in
> 
> /etc/dbus-1/system.d
> 
> (by default called gdm.conf)
> 
> that has:
> 
>  <allow own="org.gnome.DisplayManager"/>

/etc/dbus-1/system.d/gdm.conf
starts:

<!DOCTYPE busconfig PUBLIC
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd";>
<busconfig>

  <!-- Only root can own the service -->
  <policy user="root">
    <allow own="org.gnome.DisplayManager"/>
...

So, that looks OK.

Many thanks for any ideas:)
M.
-- 
Morgan Read
NEW ZEALAND
<mailto:mstuffATreadDOTorgDOTnz>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]