LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 11-15-2019, 11:38 AM   #1
cabron9
LQ Newbie
 
Registered: Feb 2011
Posts: 20

Rep: Reputation: 0
Can't Login


SOLVED - Used a backup to refresh deleted files.

Long story short:


1. I ran out of disk space, so I got by using putty (using root), and deleted some files.

2. Logged in to the machine using my non-root user (rakesh) login credentials.

3. Ran Bleach-pit as root and deleted files, logs, etc.

4. Reduced size of my swap file from 2G to 1G.

5. Rebooted, unable to login to GUI by username rakesh. But, able to login through putty by using username Root and rakesh

Here is authication log file:

Nov 15 13:08:46 debian sshd[6453]: pam_unix(sshd:session): session closed for user rakesh
Nov 15 13:08:46 debian systemd-logind[713]: Removed session 21.
Nov 15 13:08:46 debian systemd: pam_unix(systemd-user:session): session closed for user rakesh
Nov 15 13:09:01 debian CRON[6493]: pam_unix(cron:session): session opened for user root by (uid=0)
Nov 15 13:09:01 debian CRON[6493]: pam_unix(cron:session): session closed for user root
Nov 15 13:09:03 debian gdm-password]: pam_unix(gdm-password:session): session opened for user rakesh by (unknown)(uid=0)
Nov 15 13:09:03 debian systemd: pam_unix(systemd-user:session): session opened for user rakesh by (uid=0)
Nov 15 13:09:03 debian systemd-logind[713]: New session 23 of user rakesh.
Nov 15 13:09:03 debian gdm-password]: pam_ck_connector(gdm-password:session): nox11 mode, ignoring PAM_TTY :0
Nov 15 13:09:04 debian systemd-logind[713]: Removed session c4.
Nov 15 13:09:04 debian polkitd(authority=local): Unregistered Authentication Agent for unix-session:c4 (system bus name :1.105, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_CA.UTF-8) (disconnected from bus)
Nov 15 13:09:04 debian gnome-keyring-daemon[6501]: Gkm: using old keyring directory: /home/rakesh/.gnome2/keyrings
Nov 15 13:09:04 debian gnome-keyring-daemon[6501]: Gkm: using old keyring directory: /home/rakesh/.gnome2/keyrings
Nov 15 13:09:07 debian gdm-password]: pam_unix(gdm-password:session): session closed for user rakesh
Nov 15 13:09:08 debian gdm-launch-environment]: pam_unix(gdm-launch-environment:session): session opened for user Debian-gdm by (uid=0)
Nov 15 13:09:08 debian systemd-logind[713]: New session c5 of user Debian-gdm.
Nov 15 13:09:08 debian gdm-launch-environment]: pam_ck_connector(gdm-launch-environment:session): nox11 mode, ignoring PAM_TTY :0
Nov 15 13:09:14 debian systemd-logind[713]: Removed session 23.
Nov 15 13:09:14 debian systemd: pam_unix(systemd-user:session): session closed for user rakesh
Nov 15 13:09:17 debian polkitd(authority=local): Registered Authentication Agent for unix-session:c5 (system bus name :1.133 [gnome-shell --mode=gdm], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_CA.UTF-8)


Thank you for your assistance.

Edit:

Able to login with using webmin using username root, but not rakesh.
Can login using putty using both usernames root & rakesh


Edit#2
I created another account by using webmin. I was unable to login to the new account also.

Last edited by cabron9; 11-15-2019 at 10:27 PM. Reason: Additional details
 
Old 11-16-2019, 08:23 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Posting to remove from zero reply list...
If you know which files you removed that broke things, it might be helpful to others if you share that.
 
  


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
[SOLVED] Fast login via ssh / Slow login via login manager with machine in AD-domain c01d Linux - Server 2 03-01-2016 01:52 AM
Can't login to any new FTP accounts. Can login as root trevthefatty Linux - General 5 12-13-2011 10:10 AM
how to disable "last login log" & disable "last login message" when start login. hocheetiong Linux - Newbie 4 02-08-2011 05:35 AM
SSH Problem - Can't login using Hostname, can login using ip address jqweezy Linux - Networking 7 01-26-2009 02:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 04:01 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
Open Source Consulting | Domain Registration