You are not logged in.

#1 2012-10-30 03:11:42

franzor
Member
Registered: 2012-01-23
Posts: 46

Cant start lightdm: Failed to get D-Bus Connection

Hi

I have a big problem with my lightdm display manager.
When i start the system i sometimes get a blinking tty cursor on tty7 sometimes the background color flashes and then goes back to text mode and sometimes its just a black screen.... (I'm using systemd)

This is from everything.log

Oct 30 03:37:19 localhost lightdm[431]: Failed to get D-Bus connection
Oct 30 03:37:19 localhost systemd[1]: lightdm.service: main process exited, code=exited, status=1/FAILURE
Oct 30 04:41:21 localhost lightdm[1880]: Failed to get D-Bus connection
Oct 30 04:42:07 localhost lightdm[428]: Error writing to daemon: Broken pipe
Oct 30 04:42:07 localhost lightdm[428]: Error writing to daemon: Broken pipe
Oct 30 04:42:07 localhost lightdm[428]: Error writing to daemon: Broken pipe
Oct 30 04:42:07 localhost lightdm[428]: Error writing to daemon: Broken pipe
Oct 30 04:42:07 localhost lightdm[428]: Error writing to daemon: Broken pipe
Oct 30 04:42:07 localhost lightdm[428]: Error writing to daemon: Broken pipe
Oct 30 04:44:40 localhost lightdm[2762]: Failed to get D-Bus connection
Oct 30 04:45:09 localhost lightdm[430]: Failed to use bus name org.freedesktop.DisplayManager, do you have appropriate permissions?
Oct 30 04:46:08 localhost lightdm[428]: Invalid MIT-MAGIC-COOKIE-1 key
Oct 30 04:46:56 localhost lightdm[430]: Failed to use bus name org.freedesktop.DisplayManager, do you have appropriate permissions?
Oct 30 04:47:46 localhost lightdm[437]: Failed to get D-Bus connection
Oct 30 04:47:46 localhost systemd[1]: lightdm-plymouth.service: main process exited, code=exited, status=1/FAILURE
Oct 30 04:48:16 localhost lightdm[428]: Failed to use bus name org.freedesktop.DisplayManager, do you have appropriate permissions?
Oct 30 04:54:20 localhost lightdm[425]: Failed to use bus name org.freedesktop.DisplayManager, do you have appropriate permissions?
Oct 30 04:54:44 localhost lightdm[432]: Failed to get D-Bus connection
Oct 30 04:54:44 localhost systemd[1]: lightdm-plymouth.service: main process exited, code=exited, status=1/FAILURE
Oct 30 04:55:12 localhost lightdm[430]: Failed to use bus name org.freedesktop.DisplayManager, do you have appropriate permissions?
Oct 30 04:55:45 localhost lightdm[432]: Failed to get D-Bus connection
Oct 30 04:55:45 localhost systemd[1]: lightdm-plymouth.service: main process exited, code=exited, status=1/FAILURE
Oct 30 04:56:18 localhost lightdm[417]: Failed to use bus name org.freedesktop.DisplayManager, do you have appropriate permissions?
Oct 30 04:58:01 localhost lightdm[420]: Invalid MIT-MAGIC-COOKIE-1 keyFailed to get D-Bus connection
Oct 30 04:58:01 localhost systemd[1]: lightdm-plymouth.service: main process exited, code=exited, status=1/FAILURE
Oct 30 04:58:01 localhost systemd[1]: Unit lightdm-plymouth.service entered failed state
Oct 30 04:58:29 localhost lightdm[417]: Failed to use bus name org.freedesktop.DisplayManager, do you have appropriate permissions?
Oct 30 05:00:52 localhost lightdm[418]: Invalid MIT-MAGIC-COOKIE-1 keyFailed to get D-Bus connection
Oct 30 05:00:52 localhost systemd[1]: lightdm-plymouth.service: main process exited, code=exited, status=1/FAILURE
Oct 30 05:00:52 localhost systemd[1]: Unit lightdm-plymouth.service entered failed state
Oct 30 05:01:19 localhost lightdm[415]: Failed to use bus name org.freedesktop.DisplayManager, do you have appropriate permissions?

I don't know what it is on about permissions, i havent changed anything nor have i updated anything which is associated with lightdm.

this is my  lightdm.conf

I cant seem to figure out what the problem is...


Desktop PC: AMD Phenom XII 965-Black 8GB-Ram Ge-Force GTX-560ti Corsair Force GT/Crucial M4 Arch-Linux/Windows 7
Gaming Laptop: Intel-I7 2630QM 8GB-Ram Ge-Force GT-540m Ubuntu 12.04
Work Laptop: Intel-I3 2350 8GB-Ram Intel HD-Graphics Arch-Linux

Offline

#2 2012-10-30 20:59:07

MatejLach
Member
From: United Kingdom
Registered: 2011-06-22
Posts: 314
Website

Re: Cant start lightdm: Failed to get D-Bus Connection

How are you starting dbus?
Are you using initscripts or systemd?
Check if your're member of all the appropriate groups, if dbus is running by the time lightdm tries to use it, check for any .pacnew files on your system and if nothing helps consider trying different display manager, just to see if the issue is isolated to lightdm (slim and lxdm are also very lightweight) and if nothing helps file a bug report.

Offline

#3 2012-10-30 23:21:53

franzor
Member
Registered: 2012-01-23
Posts: 46

Re: Cant start lightdm: Failed to get D-Bus Connection

Thanks for the answer but I found out that the problem was more severe than i thought (I tried to use the testing repositories on my life system with an unstable unity version aswell) and I went for a fresh-install!


Desktop PC: AMD Phenom XII 965-Black 8GB-Ram Ge-Force GTX-560ti Corsair Force GT/Crucial M4 Arch-Linux/Windows 7
Gaming Laptop: Intel-I7 2630QM 8GB-Ram Ge-Force GT-540m Ubuntu 12.04
Work Laptop: Intel-I3 2350 8GB-Ram Intel HD-Graphics Arch-Linux

Offline

Board footer

Powered by FluxBB