You are not logged in.

#1 2012-07-16 16:12:09

rasteenb
Member
Registered: 2009-04-20
Posts: 19

[SOLVED:] SLIM not reading slim.conf (no password auto-focus)

Yesterday I began having issues with SLIM.  I'm not sure if they're related, but  while running Puppy , I inadvertently deleted the desktop icon for my Arch home directory on /dev/sda8.  I rebooted Puppy and it reappeared.  After running Puppy, something went wrong with my clocks (system and hardware) and the times were all wrong.  I fixed that with NTPD.  I currently dual boot Arch and Windows 7 from the hard drive, and occasionally from a USB stick, Puppy Linux.  I'm using an ASUS K50IJ laptop.  I run Xfce4.  I do not have any disk encryption enabled.

When I boot up, the SLIM login appears as normal, but rather than password auto-focus, I'm prompted for a username.  If I enter the username and hit return, I'm still staring at the username prompt.  After three or four iterations of entering a username + enter, I finally get a password prompt and can log in.

I have tried:
1.  Reinstalling archlinux-themes-slim
2.  Uninstalling archlinux-themes-slim and slim, then reinstalling slim
3.  Removing old Xfce4 & Xfwm sessions
4.  Removing slim.conf and entering a pristine version.
5.  Reviewing /var/log/slim.log files for oddities.  I found one:

Before the trouble started, I the message in the log was:

slim: waiting for X server to begin accepting connections
X.Org X Server 1.12.2
Release Date: 2012-05-29
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.0.32-1-lts x86_64 
Current Operating System: Linux asus 3.4.4-2-ARCH #1 SMP PREEMPT Sun Jun 24 18:5
9:47 CEST 2012 x86_64
Kernel command line: root=/dev/sda4 ro
Build Date: 30 May 2012  07:24:13PM
 
Current version of pixman: 0.26.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jul  8 15:30:48 2012
(==) Using config directory: "/etc/X11/xorg.conf.d"
.
/usr/bin/xauth:  file /home/rasteenb/.Xauthority does not exist
/usr/bin/startxfce4: X server already running on display :0.0

Now I get:

slim: waiting for X server to begin accepting connections.slim: unexpected signal 15


slim: waiting for X server to begin accepting connections.
slim: System is booting up.

slim: pam_authentication(): Authentication failure
slim: System is booting up.

slim: pam_authentication(): Authentication failure
slim: System is booting up.

slim: pam_authentication(): Authentication failure
slim: System is booting up.

slim: pam_authentication(): Authentication failure
slim: System is booting up.

slim: pam_authentication(): Authentication failure

Now I'm stumped.

Rob

Last edited by rasteenb (2012-07-17 11:16:03)

Offline

#2 2012-07-16 16:59:42

hesse
Member
Registered: 2011-12-08
Posts: 88

Re: [SOLVED:] SLIM not reading slim.conf (no password auto-focus)

Try

touch /home/rasteenb/.Xauthority

Offline

#3 2012-07-16 19:40:20

rasteenb
Member
Registered: 2009-04-20
Posts: 19

Re: [SOLVED:] SLIM not reading slim.conf (no password auto-focus)

Thank you for the reply.

No luck, though.

I also tried turning off wicd daemon in rc.conf.  No change.

Offline

#4 2012-07-17 11:27:22

rasteenb
Member
Registered: 2009-04-20
Posts: 19

Re: [SOLVED:] SLIM not reading slim.conf (no password auto-focus)

I solved this - slim was not the last daemon I started in rc.conf.  By moving it to the end, I get password auto-focus and everything works.

Now my rc.conf looks like

# DAEMONS
# -------
#
DAEMONS=(syslog-ng dbus acpid @network @wicd @openntpd @cupsd @crond slim)

I found this recommendation in the Display Manager wiki page while researching the problem:

Ensure you start the display manager last in the DAEMONS array, otherwise X will later allocate a tty device which was previously claimed by Getty (see /etc/inittab). Not placing the display manager at the end can cause X crashes, and is therefore unsupported.

I'd just been lucky before that there wasn't a conflict.

There is a "flicker" during login where I'm shown the XFCE splash, then the SLIM splash again, then the XFCE desktop.  Not sure what's going on there, but it's no big deal.

Cheers,
Rob

Offline

#5 2012-09-30 10:31:00

71GA
Member
From: Slovenia
Registered: 2012-09-15
Posts: 282

Re: [SOLVED:] SLIM not reading slim.conf (no password auto-focus)

File rc.conf you are talking about is a HAL (package hal in AUR) configuration file found in /etc/rc.conf.
I added this just for clarification.

Last edited by 71GA (2012-09-30 11:01:46)


C, ARM, ARM assembly, HTML, CSS, JS, Linux

Offline

Board footer

Powered by FluxBB