You are not logged in.

#1 2012-05-16 17:19:03

daGrevis
Member
From: Riga, Latvia
Registered: 2011-10-16
Posts: 81
Website

Can't login using SLiM, but Xfce4 has been started

Welcome, Archers! Here comes my problem...

When computer is turned on — it loads SLiM login manager and asks for username/password. After entering correct data — it just blinks (turns black for like a second) and then asks for username/password again. If I enter wrong data — computer beeps and then do the same. Before system's upgrade all worked (I'm not 100% sure system's up caused this to be clear).

Before this problem it just loaded Xfce4 and all worked fine. Maybe there are some conf issues... here are my /etc/inittab and ~/.xinitrc. Please say if you need any other info.

Any help is much appreciated.

Last edited by daGrevis (2012-05-16 17:32:16)

Offline

#2 2012-05-16 17:22:03

daGrevis
Member
From: Riga, Latvia
Registered: 2011-10-16
Posts: 81
Website

Re: Can't login using SLiM, but Xfce4 has been started

P.S. In heading I mentioned "Xfce4 has been started". I know that because if I go to terminal (Ctrl + Alt + F1) and try to start Xfce4 using `startxfce4` — it disallows to do that and says that Xfce4 is already started. Anyway using `startx` I can start Xorg.

Offline

#3 2012-05-16 17:38:10

matse
Member
Registered: 2011-04-27
Posts: 299

Re: Can't login using SLiM, but Xfce4 has been started

Since 1.3.3 slim starts a consolekit session for you, see the xfce wiki:

SLiM is also ConsoleKit capable since version 1.3.3. Unless you happen to run an old version, you must not use --with-ck-launch from your .xinitrc or slim.conf login_cmd.

so try adjusting your .xinitrc. If you have further problems also post your slim.conf.
Greetings
matse

Offline

#4 2012-05-16 18:25:41

daGrevis
Member
From: Riga, Latvia
Registered: 2011-10-16
Posts: 81
Website

Re: Can't login using SLiM, but Xfce4 has been started

I'm using SLiM 1.3.2 so it shouldn't help. Anyway, I just removed `--with-ck-launch` from `~/.xinitrc` — nothing.

Here are my /etc/slim.conf and /var/log/slim.log (only last 1k lines).

Last edited by daGrevis (2012-05-16 18:25:55)

Offline

#5 2012-05-16 18:44:20

matse
Member
Registered: 2011-04-27
Posts: 299

Re: Can't login using SLiM, but Xfce4 has been started

Since when does the error occuf?
Why do you still use slim 1.3.2, you seem to run newest kernel 1.3.6 and you shouldn't cherrypick updates on your system, just "pacman -Syu".
Do you have dbus in your daemons list in your rc.conf?
If you have special characters in your password make sure that slim understands them, so test these characters when it asks for your username to see that they are printed correctly, otherwise you have to set your keymap in your xorg.conf.
Greetings
matse

Offline

#6 2012-05-16 18:52:52

daGrevis
Member
From: Riga, Latvia
Registered: 2011-10-16
Posts: 81
Website

Re: Can't login using SLiM, but Xfce4 has been started

matse wrote:

Since when does the error occuf?

I'm not sure why (I think because of system's upgrade (`pacman -Syu`)), but it first occurred on 8 May.

matse wrote:

Why do you still use slim 1.3.2, you seem to run newest kernel 1.3.6 and you shouldn't cherrypick updates on your system, just "pacman -Syu".

I don't know why I have SLiM 1.3.2, actually.

[root@localhost /]# slim -v
slim version 1.3.2
[root@localhost /]# pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community                                                                                      1693.6 KiB   589K/s 00:03 [##########################################################################] 100%
 multilib is up to date
:: Starting full system upgrade...
 there is nothing to do

Seems that I have latest stuff, but SLiM's still on version 1.3.2!

matse wrote:

Do you have dbus in your daemons list in your rc.conf?

It seems that I don't. Here is my /etc/rc.conf.

matse wrote:

If you have special characters in your password make sure that slim understands them, so test these characters when it asks for your username to see that they are printed correctly, otherwise you have to set your keymap in your xorg.conf.

It won't be the case. Password is correct, I'm 100% sure about that.

Offline

#7 2012-05-16 18:57:15

matse
Member
Registered: 2011-04-27
Posts: 299

Re: Can't login using SLiM, but Xfce4 has been started

You should first definetly add dbus to your daemons list in your rc.conf, see beginners guide.
Then you probably don't use an up to date mirror, you can use for example reflector to cure this, afterwards do a full system update and see if it helps.

Offline

#8 2012-05-16 19:26:52

daGrevis
Member
From: Riga, Latvia
Registered: 2011-10-16
Posts: 81
Website

Re: Can't login using SLiM, but Xfce4 has been started

Thank you, sir. I added dbus to daemons list and all works as charm now (I have no idea how I missed that, sorry).

Problem with outdated SLiM is still active anyway. sad

[root@localhost dagrevis]# reflector -l 5 --sort rate --save /etc/pacman.d/mirrorlist
[root@localhost dagrevis]# pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
 there is nothing to do
[root@localhost dagrevis]# slim -v
slim version 1.3.2
[root@localhost dagrevis]# uname -a
Linux localhost 3.3.6-1-ARCH #1 SMP PREEMPT Sun May 13 10:52:32 CEST 2012 x86_64 GNU/Linux

Offline

#9 2012-05-16 19:29:55

matse
Member
Registered: 2011-04-27
Posts: 299

Re: Can't login using SLiM, but Xfce4 has been started

Hmm try a "pacman -Syyu" and if it doesn't help please post your mirrorlist.

Offline

#10 2012-05-16 19:34:46

daGrevis
Member
From: Riga, Latvia
Registered: 2011-10-16
Posts: 81
Website

Re: Can't login using SLiM, but Xfce4 has been started

Unfortunately, it did not help.

Here are my backup-ed, old mirror-list and active mirror-list.

Offline

#11 2012-05-16 19:37:49

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

Re: Can't login using SLiM, but Xfce4 has been started

Is it possible slim is installed buy not managed by pacman?  Try `pacman -Qi slim`

Edit: or better

pacman -Qo `which slim`

Last edited by Trilby (2012-05-16 19:39:06)


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

Offline

#12 2012-05-16 22:45:57

daGrevis
Member
From: Riga, Latvia
Registered: 2011-10-16
Posts: 81
Website

Re: Can't login using SLiM, but Xfce4 has been started

I installed SLiM using pacman, if I remember correctly.

[root@localhost dagrevis]# pacman -Qi slim
Name           : slim
Version        : 1.3.3-3
URL            : http://slim.berlios.de/
Licenses       : GPL2
Groups         : None
Provides       : None
Depends On     : consolekit  pam  libxmu  libpng  libjpeg  libxft
Optional Deps  : None
Required By    : None
Conflicts With : None
Replaces       : None
Installed Size : 452.00 KiB
Packager       : Tobias Powalowski <tpowa@archlinux.org>
Architecture   : x86_64
Build Date     : Thu May 10 16:33:39 2012
Install Date   : Wed May 16 19:19:29 2012
Install Reason : Explicitly installed
Install Script : Yes
Description    : Desktop-independent graphical login manager for X11

[root@localhost dagrevis]# pacman -Qo `which slim`
/usr/bin/slim is owned by slim 1.3.3-3
[root@localhost dagrevis]# slim -v
slim version 1.3.2

Offline

#13 2012-05-16 23:19:26

matse
Member
Registered: 2011-04-27
Posts: 299

Re: Can't login using SLiM, but Xfce4 has been started

Everything is fine on your system then, you are using slim 1.3.3.
Seem like a little bug in slim to me, reporting wrong version with "-v" switch, you might report this upstream.
Greetings
matse

Offline

Board footer

Powered by FluxBB