Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't login as normal user
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
brooney
n00b
n00b


Joined: 20 Sep 2002
Posts: 55
Location: The Netherlands

PostPosted: Fri Sep 20, 2002 7:13 pm    Post subject: can't login as normal user Reply with quote

hello,

i've installed gentoo on a fresh machine and now have X installed along with gnome. however i am having trouble logging in / getting gnome to come up when i try logging in as a normal user. i've tried to the following two scenerios:

1. if i don't have xdm in my init scripts so that i log in via command line as a normal user, then i try to run startx, it tries to start and then goes back to the command line. no errors that i can see anywhere

2. if i add xdm, with gnome and gdm configured in rc.conf, to my init scripts and reboot so that i have the gdm log in screen displayed, then when i try to login as a normal user i get the following message in a pop up screen:

/etc/X11/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/X11/gdm/PreSession/Default: running: session -a -w /var/log/wtmp -u /var/run/utmp -x "/var/lib/gdm/:0.Xservers" -h "" -l :0 brooney

and then it takes me back to the gdm login screen.

if i do either of these steps as root, it works fine.

does anybody have any ideas? i've installed linux quite a few times with different distro's along with lfs and haven't come across this before.

thanks in advance
ben
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20090

PostPosted: Fri Sep 20, 2002 7:23 pm    Post subject: Reply with quote

Do you have your shell set in /etc/passwd?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
brooney
n00b
n00b


Joined: 20 Sep 2002
Posts: 55
Location: The Netherlands

PostPosted: Fri Sep 20, 2002 7:26 pm    Post subject: Reply with quote

yes. it wasn't then i set it after reading a post in the forums. no difference. i even tried reboot to ensure the user info was loaded correctly though i didn't think i really need to do that
Back to top
View user's profile Send private message
brooney
n00b
n00b


Joined: 20 Sep 2002
Posts: 55
Location: The Netherlands

PostPosted: Fri Sep 20, 2002 7:29 pm    Post subject: pam and shadow Reply with quote

i also noticed that gentoo installed pam and shodow passwords and i've never dealt with those before so i'm wondering if that would have any affect. i notice there is a xdm file in the /etc/pam.d directory. not sure how all that works though.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20090

PostPosted: Fri Sep 20, 2002 7:30 pm    Post subject: Reply with quote

Anything interesting in /var/log/XFree86.0.log?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
sisob
Apprentice
Apprentice


Joined: 28 Jun 2002
Posts: 274
Location: Ireland

PostPosted: Fri Sep 20, 2002 7:33 pm    Post subject: Reply with quote

you tried creating a new user account?
_________________
Mark Finlay - Gnome Hacker of Sorts
Come join me on the Gnome User's Forum
Back to top
View user's profile Send private message
brooney
n00b
n00b


Joined: 20 Sep 2002
Posts: 55
Location: The Netherlands

PostPosted: Sun Sep 22, 2002 3:14 pm    Post subject: still problems Reply with quote

i've looked at the /var/log/XFree86.0.log file and can't see any error messages or any real differences from when i startx using root and when i start x using a normal user. the diff follows:

bash-2.05a# diff XFree86.0.log.root XFree86.0.log.brooney
13c13
< (==) Log file: "/var/log/XFree86.0.log", Time: Sun Sep 22 16:58:06 2002
---
> (==) Log file: "/var/log/XFree86.0.log", Time: Sun Sep 22 16:55:51 2002
52c52
< (II) PCI: stages = 0x03, oldVal1 = 0x00000000, mode1Res1 = 0x80000000
---
> (II) PCI: stages = 0x03, oldVal1 = 0x8000680c, mode1Res1 = 0x80000000
488d487
< AUDIT: Sun Sep 22 16:58:18 2002: 3442 X: client 5 rejected from local host

i've also tried to create a new user again to see if that made a diff. basically i created a new group for the new user then ran:

useradd -g testuser -m -s /bin/bash testuser

this test user is also unable to startx


any other ideas? is the pam.d / shadow passwords a possible area where this could be failing?
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Sep 23, 2002 12:41 am    Post subject: Reply with quote

Could this be a /tmp permission problem like this one? /tmp should be 1777.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
brooney
n00b
n00b


Joined: 20 Sep 2002
Posts: 55
Location: The Netherlands

PostPosted: Mon Sep 23, 2002 9:28 am    Post subject: working Reply with quote

rac, you are a beautiful person :) that fixed it. i'm now able to run gnome as a normal user. woo hoo. thanks all for your help
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum