You are not logged in.

#1 2006-09-23 21:30:58

Winblowz
Member
From: Rapid City, South Dakota
Registered: 2006-08-07
Posts: 29

Logging into KDE as user [solved]

I have KDE setup, but when I try to login to KDE as a user, the screen comes right back to the login screen a couple seconds later. I can login fine as root, but I want to login as my username. What is the problem?

Offline

#2 2006-09-23 23:16:00

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: Logging into KDE as user [solved]

Are you using KDM, or another login manager?


Microshaft delenda est

Offline

#3 2006-09-24 01:35:16

Winblowz
Member
From: Rapid City, South Dakota
Registered: 2006-08-07
Posts: 29

Re: Logging into KDE as user [solved]

KDM. Sorry for not mentioning that on my post.

Offline

#4 2006-09-24 02:34:27

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Logging into KDE as user [solved]

Did you check the KDM log file in /var/log?

Offline

#5 2006-09-24 13:35:25

Winblowz
Member
From: Rapid City, South Dakota
Registered: 2006-08-07
Posts: 29

Re: Logging into KDE as user [solved]

skottish wrote:

Did you check the KDM log file in /var/log?

Nope. I guess I better do that.

Offline

#6 2006-09-24 13:42:30

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: Logging into KDE as user [solved]

The file is /var/log/kdm.log
Likely it's a permissions problem- but we'd rather checkout what errors are reported before guessing.


Microshaft delenda est

Offline

#7 2006-09-24 17:21:35

isez2001
Member
Registered: 2006-08-24
Posts: 33

Re: Logging into KDE as user [solved]

I had a similar problem with GDM/Gnome due to a full partition.

Deleting some files to free up space fixed the problem.

Offline

#8 2006-09-24 21:54:48

Winblowz
Member
From: Rapid City, South Dakota
Registered: 2006-08-07
Posts: 29

Re: Logging into KDE as user [solved]

Okay, this is getting even weirder. Now, when I either try to 'startx' as root, or login to KDE (with KDM) as root, the screen freezes on "Starting System Services" (as well as not letting me login as user). If you need me to post more information, then just give me the go, but for now, here's my /var/log/kdm.log file.

QSettings: error creating /tmp/0148693397/.qt
QSettings: failed to open file '/tmp/0148693397/.qt/qt_plugins_3.3rc'
QSettings: :sync: filename is null/empty
QSettings: error creating /tmp/0148693397/.qt
QSettings: failed to open file '/tmp/0148693397/.qt/qt_plugins_3.3rc'
QSettings: :sync: filename is null/empty
QSettings: error creating /tmp/0148693397/.qt
QSettings: failed to open file '/tmp/0148693397/.qt/qt_plugins_3.3rc'
QSettings: :sync: filename is null/empty
FreeFontPath: FPE "/usr/share/fonts/misc" refcount is 2, should be 1; fixing.

Just so you guys know, what I just posted was a part of the kdm.log file. The rest of it is the same, except the /tmp/0148693397/ part is changed with different numbers.

Offline

#9 2006-09-26 02:58:02

Winblowz
Member
From: Rapid City, South Dakota
Registered: 2006-08-07
Posts: 29

Re: Logging into KDE as user [solved]

I did a little more tinkering and searching around. I fixed part of the problem, by editing my /etc/hosts file. I guess I forgot to set my hostname in it. Now, I can start KDE as root, but the problem starting it as a user still exists. When I do 'startx' as a user, this is the error I receive...

mkdir: cannot create directory '/home/noah/.kde' : Permission denied
mkdir: cannot create directory '/home/noah/.kde' : Permission denied
mkdir: cannot create directory '/home/noah/.kde' : Permission denied
/opt/kde/bin/startkde: line 61: /home/noah/.kde/share/config/startupconfigkeys: No such file or directory
trying to create local folder /home/noah/.kde: Permission denied
/opt/kde/bin/startkde: line 74: xmessage: command not found
/opt/kde/bin/startkde: line 76: /home/noah/.kde/share/config/startupconfig: No such file or directory

waiting for X server to shut down FreeFontPath: FPE "/usr/share/fonts/misc" refcount is 2, should be 1; fixing.


xauth: timeout in locking authority file /home/noah/.Xauthority

It looks like a permissions problem. How would I fix it?

Offline

#10 2006-09-26 03:01:02

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Logging into KDE as user [solved]

Not too long ago, something, somehow, switched the permissions, group, and ownership of my home directory to root. I was also locked out at KDM. I switched them back from the command line, and I was able to get back in again.

Offline

#11 2006-09-26 03:17:55

Winblowz
Member
From: Rapid City, South Dakota
Registered: 2006-08-07
Posts: 29

Re: Logging into KDE as user [solved]

skottish wrote:

Not too long ago, something, somehow, switched the permissions, group, and ownership of my home directory to root. I was also locked out at KDM. I switched them back from the command line, and I was able to get back in again.

How would I do that?

Offline

#12 2006-09-26 03:32:24

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Logging into KDE as user [solved]

An easy way is when you get to KDM, on the drop down list on the bottom right is an option for console login. Do that. It will drop you into run level 3. From there, log in as root. It's easy enough to check to see what the ownership of your user home account is:

ls -sl /home

For instance, on my machine I get this:

4 dr-xr-xr-x  2 root     ftp      4096 2006-09-11 00:06 ftp
4 drwxr-xr-x 41 skottish skottish 4096 2006-09-25 20:09 skottish

If your permissions got hosed, the second line would read like:

4 drwxr-xr-x 41 root root 4096 2006-09-25 20:09 skottish

If your user home account belongs to root, then:

chown -hR <user_name> /home/<user_name>

If your user home account group is root, then:

chgrp -hR <user_name> /home/<user_name>

Offline

#13 2006-09-26 03:53:25

Winblowz
Member
From: Rapid City, South Dakota
Registered: 2006-08-07
Posts: 29

Re: Logging into KDE as user [solved]

AWESOME!!! big_smile  big_smile 

I checked, and it did, in fact have my permissions hosed. I did what you said, and I can 'startx' and login to KDE just fine as a user. Thanks very much! These Arch forums are very helpful smile

Offline

Board footer

Powered by FluxBB