Bug 202770 - KDE: ConsoleKit fails to connect to /var/run/dbus/system_bus_socket
Summary: KDE: ConsoleKit fails to connect to /var/run/dbus/system_bus_socket
Status: Closed Not A Bug
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 10.2-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-30 13:13 UTC by Germano Massullo
Modified: 2015-08-31 14:29 UTC (History)
1 user (show)

See Also:


Attachments
screenshot 1 (42.89 KB, image/jpeg)
2015-08-30 13:13 UTC, Germano Massullo
no flags Details
screenshot 2 (37.94 KB, image/jpeg)
2015-08-30 13:13 UTC, Germano Massullo
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Germano Massullo 2015-08-30 13:13:21 UTC
Created attachment 160524 [details]
screenshot 1

I installed a FreeBSD VirtualBox virtual machine, then followed the  guide [1] to install KDE:

I runned

# pkg install x11/kde4

then added

proc           /proc       procfs  rw  0   0

to  /etc/fstab

and added

kdm4_enable="YES"

to /etc/rc.conf


But when I rebooted the system I got the message

kdm: X server for display :0 cannot be started, session disabled

I tried to manually start X by running

startx

but I obtained message "startx: command not found"

then I tried to run

#pkg install xorg

and finally I managed to start KDM and X. After I logged into KDM, I got the error message

Warning: Cannot open ConsoleKit session: Unable to open session: Failed to connect to /var/run/dbus/system_bus_socket

Then I got the error message about dbus as in screenshot #2

[1] https://www.freebsd.org/doc/handbook/x11-wm.html
Comment 1 Germano Massullo 2015-08-30 13:13:45 UTC
Created attachment 160525 [details]
screenshot 2
Comment 2 Germano Massullo 2015-08-30 13:14:26 UTC
I have forgotten to write that after the second error message, the system brings you back to KDM login
Comment 3 Oleksandr Kryvulia 2015-08-31 08:43:29 UTC
Have you devel/dbus installed and running?
Comment 4 Germano Massullo 2015-08-31 14:10:37 UTC
(In reply to Alexandr Krivulya from comment #3)
Yes it is installed
Comment 5 Germano Massullo 2015-08-31 14:25:04 UTC
(In reply to Germano Massullo from comment #4)
Okay I just checked if it was running, and it was not. So I added
dbus_enable="YES"
in file /etc/rc.conf


I think I will open a bugreport against documentation in order to add that together with enabling kdm, you have to enable dbus too
Comment 6 Germano Massullo 2015-08-31 14:29:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202790