Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed to get D-Bus connection [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
YongXin Ren
n00b
n00b


Joined: 22 Jan 2017
Posts: 5

PostPosted: Tue Jan 24, 2017 1:06 pm    Post subject: Failed to get D-Bus connection [SOLVED] Reply with quote

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
View user's profile Send private message
fturco
Veteran
Veteran


Joined: 08 Dec 2010
Posts: 1181
Location: Italy

PostPosted: Wed Jan 25, 2017 9:33 am    Post subject: Reply with quote

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
View user's profile Send private message
YongXin Ren
n00b
n00b


Joined: 22 Jan 2017
Posts: 5

PostPosted: Wed Jan 25, 2017 3:33 pm    Post subject: Failed to get D-Bus connection Reply with quote

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
View user's profile Send private message
fturco
Veteran
Veteran


Joined: 08 Dec 2010
Posts: 1181
Location: Italy

PostPosted: Wed Jan 25, 2017 5:03 pm    Post subject: Reply with quote

I'm glad you fixed your issue. :) Please remember to add the [SOLVED] tag to this thread title.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Thu Jan 26, 2017 8:57 am    Post subject: Reply with quote

You could have used gnome without systemd....
_________________
Quote:
Removed by Chiitoo
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
Page 1 of 1

 
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