View previous topic :: View next topic |
Author |
Message |
YongXin Ren n00b
Joined: 22 Jan 2017 Posts: 5
|
Posted: Tue Jan 24, 2017 1:06 pm Post subject: Failed to get D-Bus connection [SOLVED] |
|
|
I want to start GNOME by
"systemctl start gdm.service"
Failed to get D-Bus connection: Operation not permitted [SOLVED]
Last edited by YongXin Ren on Thu Jan 26, 2017 3:16 am; edited 1 time in total |
|
Back to top |
|
|
fturco Veteran
Joined: 08 Dec 2010 Posts: 1181 Location: Italy
|
Posted: Wed Jan 25, 2017 9:33 am Post subject: |
|
|
I'm not sure, but you can check some things.
1) Try:
Code: | systemctl status dbus.service |
Is it active (running)?
2) Is sys-apps/dbus installed? Do you have both systemd and dbus as global USE flags in /etc/portage/make.conf? |
|
Back to top |
|
|
YongXin Ren n00b
Joined: 22 Jan 2017 Posts: 5
|
Posted: Wed Jan 25, 2017 3:33 pm Post subject: Failed to get D-Bus connection |
|
|
Thank you,fturco。
I have solved it by read "https://wiki.gentoo.org/wiki/Systemd/Installing_Gnome3_from_scratch"
I used "openRC" to init system,but start gnome by "systemd".
So I changed to "systemd".
The following is the key。
********************************************************************************
/etc/default/grubExample grub2-mkconfig config for systemd
# Append parameters to the linux kernel command line
GRUB_CMDLINE_LINUX="rootfstype=ext4 real_init=/usr/lib/systemd/systemd dolvm domdadm"
********************************************************************************* |
|
Back to top |
|
|
fturco Veteran
Joined: 08 Dec 2010 Posts: 1181 Location: Italy
|
Posted: Wed Jan 25, 2017 5:03 pm Post subject: |
|
|
I'm glad you fixed your issue. Please remember to add the [SOLVED] tag to this thread title. |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Thu Jan 26, 2017 8:57 am Post subject: |
|
|
You could have used gnome without systemd.... _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
|