You are not logged in.

#1 2012-08-14 14:28:05

splatterdash
Member
Registered: 2011-06-07
Posts: 72

SLiM + XFCE4 systemd problems

I've recently switched to using systemd from initscripts. Generally it's been ok, except that I'm having problems with SLiM and XFCE4.

I've enabled the SLiM service (`systemctl enable slim.service`). But everytime I log in, past the main login window, I always get a blank screen without any signs of XFCE4 activity. I can still use XFCE4, but I have to start X manually from the console every time I boot up (`exec startxfce4`).

Also, in the XFCE4 session, the buttons for restart, shut down, suspend, and hibernate can't be clicked. I can only click log out.

I've tried the suggestion in the wiki: https://wiki.archlinux.org/index.php/Sy … ce-session, but I'm still having this problem.

Any pointers on how to fix this?

Offline

#2 2012-08-14 15:26:28

mhtrinh
Member
Registered: 2010-10-06
Posts: 19

Re: SLiM + XFCE4 systemd problems

Please make you configured as mentioned here : https://wiki.archlinux.org/index.php/Xf … ithin_Xfce

Also, there is some change between xfce 4.8 and 4.10,  in how xfce should be started : http://forum.xfce.org/viewtopic.php?pid=26311#p26311
Make sure that Slim run xfce session correctely.

Offline

#3 2012-08-14 15:35:49

splatterdash
Member
Registered: 2011-06-07
Posts: 72

Re: SLiM + XFCE4 systemd problems

Thanks! That fixed the shutdown/reboot button issue.

But I still can't login through SLiM...

Offline

#4 2012-08-14 17:52:08

martadinata
Member
Registered: 2012-01-26
Posts: 26

Re: SLiM + XFCE4 systemd problems

in my setup...

~/.xinitrc
exec dbus-launch startxfce4

Offline

#5 2012-08-15 06:22:54

splatterdash
Member
Registered: 2011-06-07
Posts: 72

Re: SLiM + XFCE4 systemd problems

@martadinata: I have the D-bus daemon already running, by the way. Do you have the same setup? Are you using SLiM + systemd as well?

Offline

#6 2012-08-17 07:11:43

martadinata
Member
Registered: 2012-01-26
Posts: 26

Re: SLiM + XFCE4 systemd problems

yes , im using the same as well smile

i just use the default service from slim itself

[Unit]
Description=SLiM Simple Login Manager
After=systemd-user-sessions.service

[Service]
ExecStart=/usr/bin/slim -nodaemon

[Install]
Alias=display-manager.service

Last edited by martadinata (2012-08-17 07:19:59)

Offline

#7 2012-08-17 09:05:44

splatterdash
Member
Registered: 2011-06-07
Posts: 72

Re: SLiM + XFCE4 systemd problems

That was the first one I used, before I tried the modified one suggested by the wiki.

But anyway, I decided to switch to LXDM and now it works fine (except for the theme, but that's another issue).

Offline

#8 2012-08-17 10:35:01

martadinata
Member
Registered: 2012-01-26
Posts: 26

Re: SLiM + XFCE4 systemd problems

well, pretty weird... mark as solved maybe?

Offline

#9 2012-08-17 18:23:05

arunvragh
Member
Registered: 2007-04-17
Posts: 111

Re: SLiM + XFCE4 systemd problems

If you have enabled multi-user.target it will default to init 3. Disable it and enable graphical.target, it should boot to init 5.

Offline

#10 2012-09-02 22:43:42

luvfree
Member
Registered: 2012-08-29
Posts: 81

Re: SLiM + XFCE4 systemd problems

I'm using slim with xfce4 too.
after running [sudo systemctl enable slim.service] I also had to reinstall slim.
[sudo pacman -S slim]
everything was back to normal after that.
I do still wonder how many other services I'm going to have to start in the future.


Linux only since 2002! Arch Linux only since 2010!
UEFI booting an intel based system trouble free since 2016!

Offline

#11 2015-03-10 19:25:25

carongangoo
Member
Registered: 2014-10-22
Posts: 58

Re: SLiM + XFCE4 systemd problems

Hi everybody !

I am trying since days to build a archiso with xfce4 windows manager .

While struggling, i was surprised to notice that my /archlive/releng/airootfs/systemd/system/display-manager.service file's is broken because /usr/lib/systemd/system/xfce4.service is missing.
However I already included xfce4 and xfce4-goodies in /archlive/releng/packages.both .
Must I also include slim  so that  /usr/lib/systemd/system/xfce4.service will be restored :
I will then be able to run ln -s /usr/lib/systemd/system/xfce4.service display-manager.service

Regards

Caron

Last edited by carongangoo (2015-03-10 19:27:12)

Offline

#12 2015-03-10 20:12:27

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: SLiM + XFCE4 systemd problems


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#13 2015-03-10 20:14:34

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,722

Re: SLiM + XFCE4 systemd problems

carongangoo,

Sorry to do this to you, but can I please get you to start a new thread?  This one is two and a half years old and a lot has changed in that time -- systemd, xfce4 and slim.  I've not seen most of the contributors to  this thread in a long time.
I am going to close this thread; feel free to link back to this thread from your new one if you so wish.  The nice thing is that you will be the owner of the new thread.

https://wiki.archlinux.org/index.php/Fo … bumping.22

EDIT:  Not fair, I typed more than did Jasonwryan sad

Last edited by ewaller (2015-03-10 20:15:16)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB