You are not logged in.

#1 2019-09-25 00:52:30

feng823
Member
Registered: 2018-08-06
Posts: 24

[SOLVED] Unable to start xfce4 from display manager

I have been running slim and xfce4 for about a year. But in these days, when I login from slim, it always failed with the following error message

Unable to contact setting server
Could not connect: Connection refused

But I still can run startx to start xfce4 from tty.

How can I fix problem to start xfce4 from slim?

Thank you!

Last edited by feng823 (2019-09-25 06:36:14)

Offline

#2 2019-09-25 00:53:56

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,517
Website

Re: [SOLVED] Unable to start xfce4 from display manager

The simplest solution is to stop using a 6-year-dead piece of software.

wiki (in big red box at top of page) wrote:

Warning: The SliM project has been abandoned (last release was 2013, the project homepage is down), and is not fully compatible with systemd, including logind sessions. Consider using a different Display manager or Xinitrc.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2019-09-25 01:03:55

feng823
Member
Registered: 2018-08-06
Posts: 24

Re: [SOLVED] Unable to start xfce4 from display manager

Trilby wrote:

The simplest solution is to stop using a 6-year-dead piece of software.

wiki (in big red box at top of page) wrote:

Warning: The SliM project has been abandoned (last release was 2013, the project homepage is down), and is not fully compatible with systemd, including logind sessions. Consider using a different Display manager or Xinitrc.

Thank you for you reply.

Can you give me any suggestion for the substitution?

Offline

#4 2019-09-25 01:19:19

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,517
Website

Re: [SOLVED] Unable to start xfce4 from display manager

FFS, read the wiki page already.  The exact bit I quoted - the big red warning box right at the top of the slim page - includes a link to a list of other display managers.

Make some effort.

Last edited by Trilby (2019-09-25 01:19:39)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2019-09-25 01:25:46

feng823
Member
Registered: 2018-08-06
Posts: 24

Re: [SOLVED] Unable to start xfce4 from display manager

Trilby wrote:

FFS, read the wiki page already.  The exact bit I quoted - the big red warning box right at the top of the slim page - includes a link to a list of other display managers.

Make some effort.

I changed the display manager to LXDM. But the same error message pop up again.

Offline

#6 2019-09-25 03:54:49

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,741

Re: [SOLVED] Unable to start xfce4 from display manager

This typically means the session bus isn't in place.
Please post a complete system journal after such failed attempt, the output  of "pacman -Qkk xfce4-session xfce4-settings" and try to login w/ a fresh user account.
If you've previously added "dbus-launch" somewhere, that'll be the cause.

Offline

#7 2019-09-25 05:34:08

feng823
Member
Registered: 2018-08-06
Posts: 24

Re: [SOLVED] Unable to start xfce4 from display manager

seth wrote:

This typically means the session bus isn't in place.
Please post a complete system journal after such failed attempt, the output  of "pacman -Qkk xfce4-session xfce4-settings" and try to login w/ a fresh user account.
If you've previously added "dbus-launch" somewhere, that'll be the cause.

You are right. This may be a problem caused by "dbus-launch" which is called as follows to start fcitx after login in .xprofile.

eval `dbus-launch --sh-syntax --exit-with-session`
export XMODIFIERS="@im=fcitx"

The error message disappeared when the .xprofile is removed and xfce4-session start successfully.
The problem is solved.

Thank you for your reply.

Last edited by feng823 (2019-09-25 05:35:17)

Offline

Board footer

Powered by FluxBB