LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-26-2004, 04:29 PM   #1
TBomb
Member
 
Registered: May 2004
Location: Great Britain
Distribution: Slackware
Posts: 91

Rep: Reputation: 15
Login issue - root only


I'm running Slackware 9.1, with KDE 3.1, and using a gui login. I think it's KDM. ???

Anyway, up until recently I've been login in solely as root, mainly for administrating my lan webserver and teamspeak server. About fifteen mins ago, I tried to switch user, which took me back to the login screen.

I selected a user, typed the password and hit 'Go!'. It is the right password, no error is displayed, however the screen turns black for roughly ten seconds and it flashes back to the login screen. This is true for all users with the exception of root, which logs in fine.

I've tried setting the session type to things other than kde, same result. I also tried logging in from the console, it logs in and instantly starts the x server and shows the login screen...
 
Old 07-26-2004, 04:55 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
do the other users have home directories?
 
Old 07-26-2004, 05:01 PM   #3
TBomb
Member
 
Registered: May 2004
Location: Great Britain
Distribution: Slackware
Posts: 91

Original Poster
Rep: Reputation: 15
Yes they do.

I've been able to login as them before, just recently it seems
 
Old 07-26-2004, 06:29 PM   #4
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
what changes have you made?
any upgrades or patches?
 
Old 07-27-2004, 03:01 AM   #5
TBomb
Member
 
Registered: May 2004
Location: Great Britain
Distribution: Slackware
Posts: 91

Original Poster
Rep: Reputation: 15
none. It all worked last week, just come back off holiday and now it doesn't... Changed nothing. Oh, I installed AMSN as the root user.
 
Old 07-27-2004, 04:00 AM   #6
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Rep: Reputation: 31
Delete .ICEauthority in your user dir. Logout root and login as user. Should work again now.......
 
Old 07-27-2004, 04:10 AM   #7
TBomb
Member
 
Registered: May 2004
Location: Great Britain
Distribution: Slackware
Posts: 91

Original Poster
Rep: Reputation: 15
Still no... I went to /home/thomas as root and deleted .ICEauthority tried to login as thomas but same result.
 
Old 07-27-2004, 04:32 AM   #8
TBomb
Member
 
Registered: May 2004
Location: Great Britain
Distribution: Slackware
Posts: 91

Original Poster
Rep: Reputation: 15
I checked .Xauthority and .Xsession-errors for clues, but both are empty, should they be?
 
Old 07-27-2004, 04:34 AM   #9
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Rep: Reputation: 31
Posted by eviltama some time ago:

i came up with a solution... well actually i read it somewhere ages ago and it worked and i forgot to post it.. then when i happened again i was like *tearing hair out* so yeh..

the solution as i remember it was to delete .ICEauthority, .mcop , .mcoprc and the symbolic links between the kde files in /tmp. it was somethign like that anyway. The explaination i originally found went something along the lines of 'broken symbolic links' and 'it regenerates the files after a restart'... so yeh hope it helps someone else.

This came from a thread discribing a similair problem. Most of the time deleting .ICEauthority is enough. Perhaps you have to try deleting all the stuff, worked for me back then. Just search for all those files and get rid of them.

original thread this came from:



thread
 
Old 07-27-2004, 04:51 AM   #10
TBomb
Member
 
Registered: May 2004
Location: Great Britain
Distribution: Slackware
Posts: 91

Original Poster
Rep: Reputation: 15
Sigh... I searched for .ICEauthority, .mcop , .mcoprc and deleted all occurances of them. Still the same.... I don't get why it's doing this, it worked fine last week, only change is installing aMSN...
 
Old 07-27-2004, 04:57 AM   #11
TBomb
Member
 
Registered: May 2004
Location: Great Britain
Distribution: Slackware
Posts: 91

Original Poster
Rep: Reputation: 15
Also, newbie questions, how do I delete the 'symbolic links'?
 
Old 07-27-2004, 05:18 AM   #12
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Rep: Reputation: 31
same as the rest

rm -f filename

(rm -f /home/tbomb/.ICEauthority)
 
Old 07-27-2004, 05:33 AM   #13
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Rep: Reputation: 31
Tried setting up a different user (in root: kuser and add a new one) login in to that new account should give no problems. If it does your problems are bigger and the above probably wont work.....
 
Old 07-27-2004, 07:02 AM   #14
TBomb
Member
 
Registered: May 2004
Location: Great Britain
Distribution: Slackware
Posts: 91

Original Poster
Rep: Reputation: 15
I created a new user, test, and the results are....


exactly the same

[EDIT]
Sorry, not exactly the same, the screen doesn't flash to login, the login box disapears and.... well, nothing, blank screen except for the wallpaper.

Last edited by TBomb; 07-27-2004 at 07:03 AM.
 
Old 07-27-2004, 07:59 AM   #15
TBomb
Member
 
Registered: May 2004
Location: Great Britain
Distribution: Slackware
Posts: 91

Original Poster
Rep: Reputation: 15
Oh... Kind of stupid on my part, think I igured it out

I'm running it on a very small HDD, a 4 or 5 GB!- It has no problems running on this, but space gets taken up quite easily, and I often have to wipe some personal files I no longer need before the disk is completely full.

I forgot to clear up some space, getting kind of crowded on there:


thomas@thepenguin:~$ startx
usr/X11R6/bin/startx: line 134: cannot create temp file for here document: No space left on device
usr/X11R6/bin/startx: line 134: cannot create temp file for here document: No space left on device

--

I'll just delete some files I no longer need and try again, see what happends.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wrong login shell prevent root login cefs99 Linux - Security 4 05-31-2006 08:28 AM
root login via kde login screen linuxmandrake Linux - Newbie 2 10-09-2005 11:30 AM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 11:39 AM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-05-2004 11:40 PM
root login incorrect ,then passwd root,but error sunnycn Linux - Security 6 05-20-2002 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration