View previous topic :: View next topic |
Author |
Message |
msum n00b
Joined: 10 Mar 2017 Posts: 5
|
Posted: Fri Mar 10, 2017 10:14 pm Post subject: [SOLVED] LightDM fails to start Xfce (dbus error) |
|
|
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 |
|
|
Kurmis n00b
Joined: 04 Jun 2010 Posts: 38 Location: LV
|
Posted: Sun Mar 12, 2017 2:25 pm Post subject: |
|
|
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 |
|
|
msum n00b
Joined: 10 Mar 2017 Posts: 5
|
Posted: Sun Mar 12, 2017 5:38 pm Post subject: |
|
|
I'm using systemd, so as far as I understand, I don't have to do anything with `rc-*`? |
|
Back to top |
|
|
Logicien Veteran
Joined: 16 Sep 2005 Posts: 1555 Location: Montréal
|
Posted: Sun Mar 12, 2017 6:05 pm Post subject: |
|
|
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 |
|
|
msum n00b
Joined: 10 Mar 2017 Posts: 5
|
Posted: Sun Mar 12, 2017 11:52 pm Post subject: |
|
|
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 |
|
|
|