Author Topic: Can not login using X [Solved]  (Read 1599 times)

Offline sfeinst

  • Full Member
  • ***
  • Posts: 149
Can not login using X [Solved]
« on: March 16, 2010, 07:13:49 AM »
Like most users posting this type of message, I messed up.  I was running a chown on a folder and accidently included a space prior to the last /.  That began changing the owner of all files.  I did not notice this until too late.  I changed the owner on all files to root figuring that if another user was owner, the group would probably give access.  I then went into home folder and reset the owner on all files to the correct owner.

I'm sure this isn't good enough.  Ther emust be other files with a different owner than root outside of home, but as I mentioned too late.

I'm guessing I will need to reinstall, but I'm hoping to find a quicker solution (since I will need to reinstall with 2010, I'd prefer to do it once).

I am running 2009 with kde4.  I can login with all users at a terminal prompt (ctrl-alt-F2 for example).  But I can not login from the graphical menu for anyone including root.  The screen goes black for a second and then comes back to the login screen.

In the messages file I see an error:
Cannot open ConsoleKit session: Unable to open session: The permission of the setuid helper is not correct

Thanks for any help

« Last Edit: March 16, 2010, 12:26:24 PM by sfeinst »

Offline sfeinst

  • Full Member
  • ***
  • Posts: 149
Re: Can not login using X [Solved]
« Reply #1 on: March 16, 2010, 12:25:51 PM »
For anyone else making this mistake, this is how I fixed it:
I installed PCLOS on a new partition and upgraded it to kde4, after doing that and adding apps, it won't boot to X at all - but that is a different issue that I'll need to look at.  But, because that did not work, I was forced to a different approach.  I started going through some file comparing the 2 partitions and I noticed 2 things different.
1) /etc/X11/fs had an owner of xfs and my original had root of course so I changed root to xfs.
2) /etc/mysqlmanager.passwd had an owner and group of uuid.  My original had owner root and group mysql.  I decided to change it to mysql.

After doing that I could login.  I may still have issues, but I'll have to hit each as they occur since my new install is a mess (would love to know what happened here - back to log messages).  I'm guessing #1 did the fix but I guess 2 could have helped.

Offline sfeinst

  • Full Member
  • ***
  • Posts: 149
Re: Can not login using X [Solved]
« Reply #2 on: March 16, 2010, 12:39:32 PM »
Just a npte for those reading, I had problems with su and kdesu, I reinstalled coreutils and that fixed up that issue.  Hopefully that will be it.

Offline coolbreeze

  • Hero Member
  • *****
  • Posts: 2671
  • Error #152 - Windows not found: (C)heer (P)arty (D
Re: Can not login using X [Solved]
« Reply #3 on: March 16, 2010, 02:07:49 PM »
Good work,nice to see you found a way.
Linux user #440309
PCLOS IS THE KING  Please Donate to the cause. PCLinuxOS
My mind is so full that there's no room to think.
M5A78L-M mobo, AMD Phenom IIx 6 1055T, 4Gig ram,nvidia GeForce GT 240 1 Gig, Netgear DGN2200