Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] >xorg-server-1.6.2 doesn't start; DBus: "AccessD...
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
zsitvaij
n00b
n00b


Joined: 11 Jan 2006
Posts: 74

PostPosted: Wed Aug 12, 2009 8:14 am    Post subject: Reply with quote

hirakendu wrote:
Long take. This is really frustrating that seemingly trivial upgrades break several stuff. This time, I was not sure who caused it. First of all, X fails to restart *only* after logging out of kde-4.3.0, it does start fine for the first time and also works fine wih gnome again and again. (Happens with both kdm and gdm. Btw, I log in as root :p.)

The X failing to restart on logout thing seems to be an issue with the default logout effect when desktop effects are enabled. A workaround is to disable desktop effects before logging out, or to set TerminateServer=true in /usr/share/config/kdm/kdmrc (if kdm is your login manager).

It used to be possible to simply disable the logout effect, but that setting no longer seems to work in 4.3.0.
Back to top
View user's profile Send private message
daemonflower
Apprentice
Apprentice


Joined: 17 Jul 2004
Posts: 290

PostPosted: Thu Aug 20, 2009 3:29 pm    Post subject: Reply with quote

depontius wrote:
zsitvaij wrote:

  1. save list of packages that themselves installed their own config files under /etc/dbus-1 and /etc/hal: equery b $(find /etc/hal -name \*.fdi) $(find /etc/dbus-1 -name \*.conf) > equery.txt
  2. emerge --fetch those packages before shutting down dbus (wpa_supplicant, wicd, networkmanager.. depend on it)
  3. /etc/init.d/hald stop && /etc/init.d/dbus stop (stops hal and dbus).
  4. emerge -C dbus hal (removes the packages).
  5. check for the presence of /etc/dbus-1 and /etc/hal. If they exist, move them to a safe place (clears any leftover bad files).
  6. delete /var/run/hald.pid and /var/run/dbus.pid (if they exist, this allows hal and dbus to restart normally if this is a pid-related issue).
  7. emerge -av1 the list of packages in equery.txt (these include dbus and hal)
  8. (optional) move your hand-crafted .fdi files back under /etc/hal so your keyboard/other hardware work correctly.
  9. rc-update add dbus default && rc-update add hald default (in case there was an issue there).
  10. /etc/init.d/dbus start (restarts your should-be-fixed dbus).
  11. if this fails, post your /var/log/dmesg and /var/log/Xorg.0.log files, and we'll go from there.


But I suggest you add this step, gleaned from elsewhere in this thread...
Code:
8a. Copy the the misplaced xorg-server dbus file into the right place:
  cp /etc/X11/dbus-1/system.d/xorg-server.conf /etc/dbus-1/system.d/


Following this advice got me going. One little thing to add: I had xf86-input-evdev, xf86-input-keyboard and xf86-input-mouse installed. previously, that worked just fine. After the upgrade, every event was sent twice. I unmerged evdev, and now X seems to work just fine.

Thanks!
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Thu Aug 20, 2009 7:26 pm    Post subject: Reply with quote

I'm glad I could help...even if you weren't the intended target of that help. hehehe! I love this place!

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Fri Aug 21, 2009 9:59 am    Post subject: Reply with quote

I have got the same problem:
Code:
[config/dbus] couldn't take over org.x.config: org.freedesktop.DBus.Error.AccessDenied (Connection ":1.0" is not allowed to own the service "org.x.config.display0" due to security policies in the configuration file)
(EE) config/hal: couldn't initialise context: unknown error (null)


So, what is the finnal solution to fix it? Any one from above doesn't work for me...

It is a bug or something wrong with the configuration?
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Fri Aug 21, 2009 9:03 pm    Post subject: Reply with quote

Post the results of emerge --info and your /etc/group file.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
schorsche
Apprentice
Apprentice


Joined: 27 Jan 2005
Posts: 230

PostPosted: Sat Aug 22, 2009 6:58 pm    Post subject: Xorg-Server 1.6.3 doesn't start any more! Reply with quote

Hello!

This might be a different issue but it is related to xorg-server-1.6.3 / hql / dbus configuration so I'm posting it here:
I followed the gentoo-wiki GMA guide and installed xorg-server-1.6.3, gentoo-sources-2.6.30-r4 and upgraded dbus to
v 1.3.0 as well as hal to v 0.5.11-r9 (both ~x86).
I copied over the xorg-server.conf as mentioned in the posts above. Xorg-server runs with the hal useflag, I've got
xf86 packages such as evdev, synaptics, keyboard and mouse recompiled after the server-update.

Anyhow, when I type startx (I'm not using any kind of login manager) the screen blanks and all I see is a dash on the left
upper corner. I need to hard-reset my laptop then.
Xorg-log show weird things ( I can not paste it here since I'm on a different machine, but the file starts wit[
    the user. When this call is made, the viewer already has received all of the pixel information (at full unscaled resolution).
    </p> <p> the scaling is vnc primitive....)

and so on.

Everything worked fine under xorg-server-1.5.0
In my xorg-conf I disabled dri and glx in order to exclude these potential error sources.
I have dbe enabled.
Do I for instance need to edit xorg-server.conf in any way or disable fb-support on the console?

Any help greatly appreciated!
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Sat Aug 22, 2009 9:54 pm    Post subject: Reply with quote

Post the results of lspci -n so we can at least figure out what kind of machine you're using.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
schorsche
Apprentice
Apprentice


Joined: 27 Jan 2005
Posts: 230

PostPosted: Sun Aug 23, 2009 8:45 am    Post subject: Reply with quote

lspci -n gives:

Code:

00:00.0 0600: 8086:3580 (rev 02)
00:00.1 0880: 8086:3584 (rev 02)
00:00.3 0880: 8086:3585 (rev 02)
00:02.0 0300: 8086:3582 (rev 02)
00:02.1 0380: 8086:3582 (rev 02)
00:1d.0 0c03: 8086:24c2 (rev 03)
00:1d.1 0c03: 8086:24c4 (rev 03)
00:1d.2 0c03: 8086:24c7 (rev 03)
00:1d.7 0c03: 8086:24cd (rev 03)
00:1e.0 0604: 8086:2448 (rev 83)
00:1f.0 0601: 8086:24cc (rev 03)
00:1f.1 0101: 8086:24ca (rev 03)
00:1f.3 0c05: 8086:24c3 (rev 03)
00:1f.5 0401: 8086:24c5 (rev 03)
00:1f.6 0703: 8086:24c6 (rev 03)
01:00.0 0c00: 1106:3044 (rev 80)
01:01.0 0200: 10ec:8139 (rev 10)
01:02.0 0280: 8086:4220 (rev 05)
01:04.0 0607: 1524:1410 (rev 01)
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Mon Aug 24, 2009 5:55 pm    Post subject: Re: Xorg-Server 1.6.3 doesn't start any more! Reply with quote

Considering what you have, you might want to try a .27 kernel. If you are already using one, then there is an issue taking that older GPU up to xorg-server-1.6.3. Considering all the changes in drivers and the kernel, the i810 GPU has become the bastard Linux stepchild.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum