Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] LightDM fails to start Xfce (dbus error)
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
msum
n00b
n00b


Joined: 10 Mar 2017
Posts: 5

PostPosted: Fri Mar 10, 2017 10:14 pm    Post subject: [SOLVED] LightDM fails to start Xfce (dbus error) Reply with quote

Hello there, I have just installed Gentoo with systemd and came across a first newbie problem.

When I'm using LightDM to start an Xfce session, I get the following error message as dialog box:
Code:
Failed to connect to socket /tmp/dbus-4igzlKlXM5: Connection refused


Then it briefly shows the Xfce splash screen, returns to LightDM background (without the login prompt) and nothing happens. However, if I disable LightDM, log in in the text mode and launch `startxfce4` from there, everything works.

I would appreciate any help.

[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]


Last edited by msum on Sun Mar 12, 2017 11:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
Kurmis
n00b
n00b


Joined: 04 Jun 2010
Posts: 38
Location: LV

PostPosted: Sun Mar 12, 2017 2:25 pm    Post subject: Reply with quote

Did U not forget to add dbus with rc-update ?
On mine gentoo it looks so :
Code:
rc-update | grep "dbus\|udev"
                 dbus |      default                           
                 udev |                                 sysinit
Back to top
View user's profile Send private message
msum
n00b
n00b


Joined: 10 Mar 2017
Posts: 5

PostPosted: Sun Mar 12, 2017 5:38 pm    Post subject: Reply with quote

I'm using systemd, so as far as I understand, I don't have to do anything with `rc-*`?
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1555
Location: Montréal

PostPosted: Sun Mar 12, 2017 6:05 pm    Post subject: Reply with quote

Is the X , systemd and dbus USE flags are set globally in /etc/portage/make.conf or in the output of emerge --info? Have-you set the good profile with eselect?

You can open a virtual terminal session in /dev/tty1 as a normal user and execute the startx command to see if Xorg start normally because, without X, I think that Dbus will not work for graphical applications like Lightdm. Be sure that Xorg do not miss anything to work properly.

Dbus is started statically by Systemd. Do
Code:
systemctl status dbus.service

to verify if it is active, it's status and his messages.
_________________
Paul
Back to top
View user's profile Send private message
msum
n00b
n00b


Joined: 10 Mar 2017
Posts: 5

PostPosted: Sun Mar 12, 2017 11:52 pm    Post subject: Reply with quote

Logicien wrote:
Is the X , systemd and dbus USE flags are set globally in /etc/portage/make.conf or in the output of emerge --info?

Yes.

Logicien wrote:
Have-you set the good profile with eselect?

I'm not sure which one is right - there was no "systemd/desktop" one, only specific ones for GNOME and KDE desktops, so I selected just "systemd", without "desktop".

Logicien wrote:
You can open a virtual terminal session in /dev/tty1 as a normal user and execute the startx command to see if Xorg start normally because, without X, I think that Dbus will not work for graphical applications like Lightdm. Be sure that Xorg do not miss anything to work properly.

I followed the instructions on https://wiki.gentoo.org/wiki/Xorg/Guide and installed x11-wm/twm and x11-terms/xterm in order to get `startx` working. Now X works fine and so does LightDM. This page is a bit misleading though, I thought I don't need those once I install a proper DE, so I skipped this step. Anyway, thanks for help!
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