You are not logged in.

#1 2012-06-25 20:09:46

Jookia
Member
From: Australia
Registered: 2009-11-19
Posts: 103

Slim + Systemd requires restarting as root?

Hello!

When I boot up and in to Slim using systemd, logging in yields nothing. I don't even think it runs my .xinitrc, or the login_cmd for that matter. Running 'sudo killall slim && sudo slim' in a tty kind of fixes it but leaves me without consolekit. Anybody else have this problem?

Offline

#2 2012-06-26 04:37:01

Hspasta
Member
Registered: 2011-12-24
Posts: 189
Website

Re: Slim + Systemd requires restarting as root?

I'm running slim with systemd and everything worked 'out of the box.' I just enabled the service and rebooted. Everything's been fine since. No idea what's causing your problem.

Offline

#3 2012-06-26 19:31:30

Jookia
Member
From: Australia
Registered: 2009-11-19
Posts: 103

Re: Slim + Systemd requires restarting as root?

Hmm... Maybe this isn't systemd related then. I don't have any non-systemd stuff installed though.

Offline

#4 2012-06-26 22:41:57

Hspasta
Member
Registered: 2011-12-24
Posts: 189
Website

Re: Slim + Systemd requires restarting as root?

Maybe there's some error in your .xinitrc? Have you tried running X manually?

Offline

#5 2012-06-26 23:16:37

Jookia
Member
From: Australia
Registered: 2009-11-19
Posts: 103

Re: Slim + Systemd requires restarting as root?

Running startx as a user works great, although I don't get ConsoleKit advantages.

Offline

#6 2012-07-06 06:52:07

t1nk3r3r
Member
From: The Pacific Northwest
Registered: 2011-03-22
Posts: 79

Re: Slim + Systemd requires restarting as root?

I seem to be having a similar problem: boot up into Slim works fine, logging in yields a blank Slim background.  Workaround is to change to tty, log in as root and 'systemctl restart slim.service'.  Baffled because this setup was working until last week. 
'systemctl --failed'  claims "0". 
'journalctl' shows "console-kit-daemon: missing action"


--------------------------The only wasted day is one in which you learn nothing.--------------------------

Offline

#7 2012-07-06 11:14:20

mrmylanman
Member
From: Altamonte Springs, FL, USA
Registered: 2011-03-13
Posts: 178

Re: Slim + Systemd requires restarting as root?

Slim is working great for me with a "native" systemd implementation (as described on the systemd wiki page).  I am using xfce, and in my .xinitrc, my command is just startxfce.  I can shutdown, restart, etc.

Hopefully this helps!


Arch user since 2011-03-13

Thinkpad X220 Intel Core i7-2640M CPU, 16GB DDR3-1333 RAM, 160GB Intel SATA II SSD & 60GB OCZ mSATA SSD, 12.5" IPS 1366x768 Display, 6-cell Battery
(Installation date:  2012-03-19)

Offline

#8 2012-07-07 06:21:34

t1nk3r3r
Member
From: The Pacific Northwest
Registered: 2011-03-22
Posts: 79

Re: Slim + Systemd requires restarting as root?

I believe [at least in my case] this was a problem of my own making.  Knowing that systemd started at 'pid 1' in place of init, it assumes control over virtually everything.  Had to enable slim.service manually, I also thought I would have to make references to console-kit-daemon in /etc/systemd/system.  That apparently is too much.  AFAIK slim gets permission from systemd to manage console-kit without any further assistance.

@Jookia : what is output of systemctl | grep console- ?
Does /etc/systemd/system/slim.service exist?
Is there a link in /etc/systemd/system/graphical.target.wants to slim.service in /usr/lib/systemd/system ?
There should be no references to console-kit.


--------------------------The only wasted day is one in which you learn nothing.--------------------------

Offline

Board footer

Powered by FluxBB