View previous topic :: View next topic |
Author |
Message |
Tariella Guru
Joined: 10 Dec 2005 Posts: 384 Location: Europe/Austria
|
Posted: Fri Dec 14, 2007 1:02 pm Post subject: X not working for user anymore [solved] |
|
|
Hi,
I have a problem starting X since the latest update of my loginmanager entrance. I had to delete xdm from the runlevel and now the startx command is working but for root only.
If I try to startx as a user I get the following error:
Code: | xinit: Resource temporarily unavailable (errno11): Cannot register with ConsoleKit: org.freedesktop.CkConnector.Error: Unable to open Session: The name org.freedesktop.ConsoleKit was not provided by any .service files |
I reemerged xorg-server xorg-x11 and all input modules I use. I eventually even did a emerge -e world.
Nothing worked.
Any ideas what could cause this? I don't want to do a complete reinstall
Last edited by Tariella on Sat Dec 22, 2007 3:26 pm; edited 1 time in total |
|
Back to top |
|
|
neiljw Apprentice
Joined: 12 Nov 2007 Posts: 166 Location: Telford, UK
|
Posted: Fri Dec 14, 2007 1:26 pm Post subject: Re: X not working for user anymore |
|
|
Tariella wrote: | Hi,
I have a problem starting X since the latest update of my loginmanager entrance. I had to delete xdm from the runlevel and now the startx command is working but for root only.
If I try to startx as a user I get the following error:
Code: | xinit: Resource temporarily unavailable (errno11): Cannot register with ConsoleKit: org.freedesktop.CkConnector.Error: Unable to open Session: The name org.freedesktop.ConsoleKit was not provided by any .service files |
I reemerged xorg-server xorg-x11 and all input modules I use. I eventually even did a emerge -e world.
Nothing worked.
Any ideas what could cause this? I don't want to do a complete reinstall |
Do you have consolekit installed? _________________ Be lucky,
Neil |
|
Back to top |
|
|
Tariella Guru
Joined: 10 Dec 2005 Posts: 384 Location: Europe/Austria
|
Posted: Fri Dec 14, 2007 5:13 pm Post subject: |
|
|
sys-auth/consolekit-0.2.3 is installed with use-flag pam. |
|
Back to top |
|
|
esroh n00b
Joined: 15 May 2004 Posts: 4 Location: HK
|
Posted: Sun Dec 16, 2007 5:03 pm Post subject: |
|
|
I came across the same problem. After emerging x11-base/xorg-server-1.4.0.90, the problem's gone.
Strangely enough, emerge -up world didn't get xorg-server updated. I had to do that manually. |
|
Back to top |
|
|
Tariella Guru
Joined: 10 Dec 2005 Posts: 384 Location: Europe/Austria
|
Posted: Sun Dec 16, 2007 9:29 pm Post subject: |
|
|
I already did a re-emerge of every xorg related package.
After a reemerge of consolekit the messages are gone, but X still won't start.
The screen goes black and I can see the mouse-pointer for a second, the I'm back at the console. Strangely there are no error-messages.
I don't like the idea of a complete reinstall, my laptop is really slow |
|
Back to top |
|
|
ni1s n00b
Joined: 07 Nov 2006 Posts: 29
|
Posted: Mon Dec 17, 2007 11:00 pm Post subject: |
|
|
Doesn't consolekit use a init script(/etc/init.d/consolekit)? If so, is it running? |
|
Back to top |
|
|
Tariella Guru
Joined: 10 Dec 2005 Posts: 384 Location: Europe/Austria
|
Posted: Tue Dec 18, 2007 7:26 pm Post subject: |
|
|
Consolekit was not in the runlevel, I'm fairly sure that I never had it in the runlevel, but I added it just to be sure.
It didn't make a difference.
What can I do now that there are no more error-messages? |
|
Back to top |
|
|
esroh n00b
Joined: 15 May 2004 Posts: 4 Location: HK
|
Posted: Thu Dec 20, 2007 2:20 pm Post subject: |
|
|
Tariella wrote: | Consolekit was not in the runlevel, I'm fairly sure that I never had it in the runlevel, but I added it just to be sure.
It didn't make a difference.
What can I do now that there are no more error-messages? |
After I ran into the problem, I emerged consolekit, and had it started at default runlevel. It made no difference, except the message about consolekit did disappeared.
Then I updated xorg-server (as I said, emerge -up world didn't do that for me), and the problem's gone. Now that I removed consolekit from the runlevel, everything is still running well. So at least I believe it is safe to assume you don't need to have consolekit running. |
|
Back to top |
|
|
Tariella Guru
Joined: 10 Dec 2005 Posts: 384 Location: Europe/Austria
|
Posted: Thu Dec 20, 2007 3:00 pm Post subject: |
|
|
Ok, so I'll try emerging xorg-server again. Maybe it will help now that consolekit is installed properly. |
|
Back to top |
|
|
skellr l33t
Joined: 18 Jun 2005 Posts: 976 Location: The Village, Portmeirion
|
Posted: Thu Dec 20, 2007 4:30 pm Post subject: |
|
|
A quick thing to try is delete any ~/.Xauthority and ~/.serverauth.* files in your home directory, and clean out /tmp. In /etc/conf.d/bootmisc there is an option to wipe the /tmp directory on every boot.
Most times for me when X has just quit starting for some reason, it was one of these files causing problems. |
|
Back to top |
|
|
esroh n00b
Joined: 15 May 2004 Posts: 4 Location: HK
|
Posted: Thu Dec 20, 2007 5:01 pm Post subject: |
|
|
Rainskellr wrote: | A quick thing to try is delete any ~/.Xauthority and ~/.serverauth.* files in your home directory, and clean out /tmp. In /etc/conf.d/bootmisc there is an option to wipe the /tmp directory on every boot.
Most times for me when X has just quit starting for some reason, it was one of these files causing problems. |
Nice input......I do have WIPE_TMP set to "yes" |
|
Back to top |
|
|
Tariella Guru
Joined: 10 Dec 2005 Posts: 384 Location: Europe/Austria
|
Posted: Fri Dec 21, 2007 5:59 pm Post subject: |
|
|
I tried all your solutions but nothing worked. |
|
Back to top |
|
|
Neo2 Apprentice
Joined: 25 Sep 2006 Posts: 224 Location: Italy
|
|
Back to top |
|
|
Tariella Guru
Joined: 10 Dec 2005 Posts: 384 Location: Europe/Austria
|
Posted: Sat Dec 22, 2007 10:17 am Post subject: |
|
|
The only messages from trying to start X are the following:
Code: |
agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
agpgart: Device is in legacy mode, falling back to 2.x
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
|
This are exactly the same messages that appear when I'm starting X as root and it works then.
|
|
Back to top |
|
|
grexxx n00b
Joined: 25 Mar 2006 Posts: 5
|
Posted: Sat Dec 22, 2007 11:31 am Post subject: |
|
|
I just made a new install of the entire system (new kernel, new internet provider and some new hardware - just did everything from scratch to refresh my knowledge of everything) and encountered exactly the same problem.
X just wouldn't start as a user, first with consolekit error message, then I read this thread, reemerged consolekit, started it and was left out without error but X still wouldn't start.
So I started deleting all those Xorg related files, nothing.
Then started to reemerge xorg-server and during that started X again (just because of waiting).. nothing.
So then I just started deleting everything I didn't find strictly necesarry (like /tmp and some logs I didn't want -- waiting for the emerge to finish can be very annoying so I actually forgot /tmp might have been used during emerge process - another story never mind).,.. still it wouldn't start.
Then I deleted ~/.xinitrc (which had one commented line saying #exec startkde - playing around with kde4).
It worked after I deleted that file and the emerge of xorg-server still hasn't finished by then.
Can't explain that, but it happend 2 times... both times it started to work after I deleted .xinitrc without any noncommented data in it (just one commented line as stated above).
Is there any good explanation for this? |
|
Back to top |
|
|
Adwin Tux's lil' helper
Joined: 13 Mar 2005 Posts: 128 Location: Poland
|
Posted: Sat Dec 22, 2007 1:00 pm Post subject: |
|
|
If you have DBUS enabled in the new xorg-servers, you must be sure to have dbus running. |
|
Back to top |
|
|
Tariella Guru
Joined: 10 Dec 2005 Posts: 384 Location: Europe/Austria
|
Posted: Sat Dec 22, 2007 3:24 pm Post subject: |
|
|
Its really strange but it works now !
When I looked last time there was no ~/.xinitrc but now after reemerging xorg-server I looked again and found it (it was empty, 0Bytes). So I tried to delete it and the problem is gone |
|
Back to top |
|
|
BouletInside n00b
Joined: 28 Sep 2007 Posts: 3
|
Posted: Thu Dec 27, 2007 10:00 am Post subject: |
|
|
I was having the same problem.
I started the "/etc/init.d/consolekit" service and no more xinit error.
But I still have some problem starting xfce4 .
May be due to the nvidia driver.... |
|
Back to top |
|
|
random303 n00b
Joined: 07 Mar 2006 Posts: 7 Location: Belgium
|
Posted: Tue Jul 22, 2008 8:30 pm Post subject: |
|
|
I had the same problems as above, thank god I found this thread...
"exec startdkde" problem was gone after I removed .xinitrc from root home directory. I think for users this is needed, for root user it isn't.
xinitd problem was gone after I started consolekit.
Thanks, and I hope some else found this usefull.
I love gentoo ... nice OS. Ones you get the hang of it... |
|
Back to top |
|
|
|