LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-30-2004, 01:00 PM   #1
rosslaird
Member
 
Registered: Jul 2003
Location: Vancouver
Posts: 76

Rep: Reputation: 16
login weirdness after dist-upgrade


On my kids computer, which is running Sid, I decided to replace xdm with kdm. Then, since I was using apt anyway, I decided to do a dist-upgrade. The last upgrade was about two weeks ago, so the system is fairly current.

Anyway, after the upgrade I am unable to login as one specific user. All the other users work fine. This currently non-functioning user was the one from whose kde desktop I ran the root console for the upgrade. I don't know if this is the cause, but it may be related to the problem.

I can login without a problem as this user from the console. I tried changing their password in kuser, to no effect. When I try to login as the user, kdm accepts the name and password, blanks the screen, shows the x "wait" clock and gray screen for a few seconds, then returns to the kde login screen. I do not get the "login failed" message that kdm usually shows if I mistype a password.

I noticed that during the upgrade kdelibs was updated, as was passwd and adduser. Hm.

I wonder if I should remove and reinstall kdm.

Any ideas?
 
Old 07-30-2004, 01:40 PM   #2
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,016

Rep: Reputation: 52
as root:

dpkg-reconfigure kdm or xdm, whatever you want

choose the one you want

reboot

see if that helps, as for the user bit:

i can't remember if it's adduser or passwd, man them or google.
 
Old 07-30-2004, 01:55 PM   #3
rosslaird
Member
 
Registered: Jul 2003
Location: Vancouver
Posts: 76

Original Poster
Rep: Reputation: 16
no dice

Yup, I reconfigured kdm, to no effect.

I'm going to try gdm, and see how that goes.
 
Old 07-30-2004, 02:08 PM   #4
rosslaird
Member
 
Registered: Jul 2003
Location: Vancouver
Posts: 76

Original Poster
Rep: Reputation: 16
update

gdm does not allow me to login as the user either, but it does provide a nice message which shows the xsession errors:

Connect to ":0.0" refused by server.

I get one of these for each of the kde startup calls, and each provides a version of "cannot connect to x server" or "refused by server".

I tried "xhost +" from the user's console, to no effect.

So it's not the login manager, either kdm or gdm. It's something else.

The following comands (entered by root, or by any other user, or by the user in question frim the console) do *not* resolve the problem:

xhost +
xhost :local
xhost localhost
xhost +localhost
xhost +hostname (substituted my actual hostname)

Hm. Hm.

Last edited by rosslaird; 07-30-2004 at 02:54 PM.
 
Old 07-30-2004, 03:19 PM   #5
rosslaird
Member
 
Registered: Jul 2003
Location: Vancouver
Posts: 76

Original Poster
Rep: Reputation: 16
another update

I think the problem is the user's .Xauthority file.

When I run xauth info for any other user, I get a little info listing. But when I run it for the user in question, the console hangs.

So: how do I regenerate the >Xauthority file for this user?
 
Old 07-30-2004, 03:19 PM   #6
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,016

Rep: Reputation: 52
i think this is what Dead Parrot wrote the other day:

export XAUTHORITY=/home/your_user_name/.Xauthority

reboot, see how that works.
 
Old 07-30-2004, 03:26 PM   #7
rosslaird
Member
 
Registered: Jul 2003
Location: Vancouver
Posts: 76

Original Poster
Rep: Reputation: 16
nope

Nope, didn't do it.
Stubborn problem.
 
Old 07-30-2004, 03:31 PM   #8
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,016

Rep: Reputation: 52
did you try it as root and user?
 
Old 07-30-2004, 04:07 PM   #9
rosslaird
Member
 
Registered: Jul 2003
Location: Vancouver
Posts: 76

Original Poster
Rep: Reputation: 16
yup

Yup, tried it as both.
Still getting the error.

Maybe what I'll do is delete and recreate the user. I really don't want to do that, but it might work. Or perhaps I'll try coping an .Xauthority file from another user (this could make things worse, probably).
 
Old 07-30-2004, 05:00 PM   #10
rosslaird
Member
 
Registered: Jul 2003
Location: Vancouver
Posts: 76

Original Poster
Rep: Reputation: 16
success

Well, I copied over the .Xauthority file from another user, and it worked!
Not sure if this is a good solution, but at least the user is up and running.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
apt-get question: dist-upgrade vs upgrade Arodef Fedora 9 06-15-2012 02:33 PM
wdm login after dist-upgrade ekdya Debian 17 10-05-2005 02:21 PM
apt-get dist-upgrade now I can't login, hlp plz Oxyacetylene Debian 15 12-18-2004 11:21 AM
Error trying to dist-upgrade or upgrade KDE prophet621 Linux - Newbie 0 09-10-2003 05:17 PM
dist-upgrade slinkyredfoot Debian 1 08-03-2003 08:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:43 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration