LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Can't Login (https://www.linuxquestions.org/questions/linux-desktop-74/cant-login-4175664320/)

cabron9 11-15-2019 11:38 AM

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.

scasey 11-16-2019 08:23 PM

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. ;)


All times are GMT -5. The time now is 12:39 AM.