You are not logged in.

#1 2011-07-26 08:47:38

doctor_jekyll
Member
Registered: 2010-12-09
Posts: 3

Cannot login to Slim as user.

So, i have this nasty problem. I did a short search over the forum, but didn't find the topic. So i decided to post a new one (coz sollutions may be different). So here are my configs :

~/.xinitrc

exec openbox-session

/etc/inittab:

# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault:

#x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
x:5:respawn:/usr/bin/slim >/dev/null 2>&1

/etc/slim.conf

http://pastebin.com/LW1w7QBz

I can login as root but cannot as user. I've almost learned Wiki but couldn't find the sollution.

Thanks for your help.

BTW : Greetings from Ukraine!

Offline

#2 2011-07-26 09:04:40

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: Cannot login to Slim as user.

Have you tried:

exec ck-launch-session openbox

Offline

#3 2011-07-26 09:19:45

doctor_jekyll
Member
Registered: 2010-12-09
Posts: 3

Re: Cannot login to Slim as user.

yeap! No good = (

Offline

#4 2011-07-26 11:15:18

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: Cannot login to Slim as user.

Two things in your slim.conf:

login_cmd           exec /bin/sh - ~/.xinitrc %session
#login_cmd           exec /bin/bash -login ~/.xinitrc %session
As you surealy have Bash installed chnge this around.

And ;
# default user, leave blank or remove this line
# for avoid pre-loading the username.
#default_user        simone

# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
#focus_password      no

Take away the # and edit to your user, maybe focus_password yes.

By the the way, do oyu have console-kit installed?

Offline

#5 2011-07-26 16:20:02

jamesbond007
Member
From: Germany
Registered: 2009-06-14
Posts: 150

Re: Cannot login to Slim as user.

doctor_jekyll wrote:

I can login as root but cannot as user. I've almost learned Wiki but couldn't find the sollution.

I'm also using slim. In my case, I can login with my regular user, but I have to take care while typing in my password, because for some reason in slim a different keyboard layout is used than everywhere else.

Offline

#6 2011-07-26 19:45:01

SlayingDragons
Member
Registered: 2011-07-12
Posts: 42

Re: Cannot login to Slim as user.

This may not be any help, but the same thing happened to me while messing around with it in qemu, I found that the method of adding it as a daemon in rc.conf instead of using inttitab for whatever reason let me log in as a user.

Offline

Board footer

Powered by FluxBB