You are not logged in.

#1 2011-06-22 14:09:34

timmy_89
Member
Registered: 2011-06-22
Posts: 4

Arch+Xfce+Slim

Hey guys, relatively new to arch, installed it on my laptop and have been slowly building it piece by piece over the last week and I finally installed a GUI being XFCE. The problem here is that I've installed Slim as the display manager and configured it to start at boot which works fine. What doesn't work is once I log out (of either root, or my own user) and try to log back in the following error always appears:

Unable to contact settings server
Failed to connect to socket /tmp/dbus-6Q8MfBbkSX - Connection refused

and

Unable to load a failsafe session
Unable to determine failsafe session name. Possible causes: xfconfd isn't running (D-Bus setup problem); environment variable $XDG_CONFIG_DIRS is set incorrectly (must include "/etc"), or xcfe4-session is installed incorrectly.

I've looked at heaps of posts on here relating to the possible causes above and have tried anything, and its no different.

Any clues??

Cheers

Offline

#2 2011-06-22 14:22:38

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Arch+Xfce+Slim

Can you show us your slim.conf and/or ~/.xinitrc?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2011-06-22 14:30:59

timmy_89
Member
Registered: 2011-06-22
Posts: 4

Re: Arch+Xfce+Slim

the only non-commented line in my ~/.xinitrc is:

exec ck-launch-session dbus-launch --exit-with-session startxfce4

slim.conf hasn't had anything change from default

Last edited by timmy_89 (2011-06-22 14:31:19)

Offline

#4 2011-06-22 15:57:13

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: Arch+Xfce+Slim

Maybe try to remove the "dbus-launch --exit-with-session" part. I don't have it here. I don't know anything about dbus though...

Edit: the wiki states that ck-launch-session and dbus-launch are not needed when using Slim (I don't use any login manager myself.)

Last edited by stqn (2011-06-22 16:01:03)

Offline

#5 2011-06-23 01:44:57

timmy_89
Member
Registered: 2011-06-22
Posts: 4

Re: Arch+Xfce+Slim

When .xinitrc is shortned to: "exec ck-launch-session startxfce4" the first login is fine, but after logging out and trying to log back in xfce doesn't load properly and then when you try to log out the following error appears:

Failed to receive a reply from the session manager
Session manager must be in idle state when requesting a shutdown.

and it doesn't log out.

when shortened to "exec startxfce4" the first login is fine but the same error message appears after the second

Offline

#6 2011-06-23 07:00:23

roygbiv
Member
Registered: 2011-05-18
Posts: 204

Re: Arch+Xfce+Slim

Make sure you have enabled dbus in the daemons array in /etc/rc.conf and added your user to the groups power, storage and dbus. I'm not sure if you need to be in that last group, but is doesn't hurt to try.

To troubleshoot some more you should try using another login manager, i.e. GDM and see how that works out.

Offline

#7 2011-06-23 16:17:12

timmy_89
Member
Registered: 2011-06-22
Posts: 4

Re: Arch+Xfce+Slim

all fixed, did a complete reinstall today (got everything done in one day that I did in the whole of the last week haha). didn't install dbus at the start, and now the .xinitrc is much simpler "exec startxfce4" and it's working 100%. practice makes perfect. thanks for all of your help though smile

Offline

Board footer

Powered by FluxBB