You are not logged in.

#1 2011-06-06 15:15:50

Pacopag
Member
Registered: 2011-05-29
Posts: 287

Slim not working

Hi.  I've installed xfce4 and slim.  I followed the wiki pages on how to set it up, and I tried about a dozen other suggestions made on other forums.  Nothing is working.

I get the slim login screen, but when I try to login, it says "Failed to execute login command".  I'd really appreciate it if someone could help me get this working.

Offline

#2 2011-06-06 15:35:00

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Slim not working

There's a bunch of topics on this, like https://bbs.archlinux.org/viewtopic.php?pid=935789 If you say nothing is working, please post the relevant files: .xinitrc etc.

Last edited by karol (2011-06-06 15:35:47)

Offline

#3 2011-06-06 15:37:49

jgreen1tc
Member
From: St. Louis
Registered: 2011-05-16
Posts: 251

Re: Slim not working

I had the same problem before. You would need to post more info to get help though. Like how you are trying to start slim and the corresponding files you are editing.

Offline

#4 2011-06-06 15:55:16

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Slim not working

I would strongly suggest to use lxdm instead of slim


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#5 2011-06-06 15:56:45

fabriceb
Member
Registered: 2011-05-13
Posts: 33

Re: Slim not working

Hi. I Had the same problem when I first installed slum. You could try the following:
1. /etc/rc.d/slim stop
2. Make sure you got the following line in /etc/slim.conf:

login_cmd           exec ck-launch-session /bin/bash -login ~/.xinitrc %session

3. Delete /var/lock/slim.lock
4. /etc/rc.d/slim start

Try to log in.

Offline

#6 2011-06-06 15:59:59

Pacopag
Member
Registered: 2011-05-29
Posts: 287

Re: Slim not working

Sure.  Thanks for your help.  It's tough to post files because I can't even log in and cut/paste etc.  I'm posting here from a different computer.  But I'll try my best.

My ~/.xinitrc looks like this

#!/bin/sh
exec startxfce4

I copied this file to /root/ and to /home/paco/ where paco is my username. There was an if-statement preceeding the exec command (i.e. as in /etc/skel/.xinitrc)
I deleted the slim.lock file (someone on a forum suggested this), and I also commented out the line

lockfile     /var/lock/slim.lock

from the file /etc/slim.conf

I also had a look in /var/log/slim.log.  It's too long to type out, but the key line seems to be

/usr/bin/xauth:     file /var/run/slim.auth does not exist    (but it does indeed exist).

Last edited by Pacopag (2011-06-06 16:01:24)

Offline

#7 2011-06-06 16:28:52

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Slim not working

Mr.Elendig wrote:

I would strongly suggest to use lxdm instead of slim

Why is that?


ᶘ ᵒᴥᵒᶅ

Offline

#8 2011-06-06 16:34:31

Pacopag
Member
Registered: 2011-05-29
Posts: 287

Re: Slim not working

I tried what fabriceb said.  Still not working......Is that Cesar Millan?

Maybe someone with a working SLIM/XFCE setup can post their .xinitrc slim.conf, and whatever other files are involved with logging in and starting a session.

Last edited by Pacopag (2011-06-06 16:38:56)

Offline

#9 2011-06-06 16:52:43

Pacopag
Member
Registered: 2011-05-29
Posts: 287

Re: Slim not working

What if I try using xdm instead of slim?  I tried it before, but I couldn't figure out how to get xdm to start the xfce session.  How do you choose the session with xdm?

Offline

#10 2011-06-06 17:22:47

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: Slim not working

I quit using slim some time ago as I was also having various problems with it and started using xdm.  I think all I did was add an .xsession file in my /home/username folder.  The .xsession file looks like this:

#!/bin/sh

#
# ~/.xsession
#
# Executed by xdm/gdm/kdm at login
#

/bin/bash --login -i ~/.xinitrc

I think that was all I did but it was awhile ago so I really don't remember if the .xsession file is strictly necessary.  Also take a look at https://bbs.archlinux.org/viewtopic.php?id=69299 for a nice xdm theme and info about it.


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#11 2011-06-06 17:36:25

Pacopag
Member
Registered: 2011-05-29
Posts: 287

Re: Slim not working

Thanks for your reply.  I did get xdm to work.  This thread was helpful (last post especially)

https://bbs.archlinux.org/viewtopic.php?id=18802.

Did you manage to get the arch xdm theme to work?

Offline

#12 2011-06-06 18:38:21

botzoboy
Member
From: Romania/Deutschland
Registered: 2010-02-03
Posts: 90

Re: Slim not working

I have the same problem. I tried everytihing without success. And then I just have instaled gdm and now slim is working.
Probably Slim need one from gdm dependencies.

Offline

#13 2011-06-06 18:57:46

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Slim not working

botzoboy wrote:

I have the same problem. I tried everytihing without success. And then I just have instaled gdm and now slim is working.
Probably Slim need one from gdm dependencies.

No Slim doesn't have any GDM dependencies.


ᶘ ᵒᴥᵒᶅ

Offline

#14 2011-06-07 16:42:14

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: Slim not working

Yes, I've been using xdm with the arch theme for several months now on both my desktop and laptop.  I just had to change resolution of the xdm arch theme pics  and position of buttons due to the screen size difference and resolution on my laptop.  I don't remember having any problems getting it to work.  Are you having a problem with it?


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#15 2011-06-07 23:24:35

Pacopag
Member
Registered: 2011-05-29
Posts: 287

Re: Slim not working

Hi.  I got the xdm theme working no problem.  I just installed it from the AUR and it worked upon reboot.

Offline

Board footer

Powered by FluxBB