F5F Stay Refreshed Software Operating Systems Login loop

Login loop

Login loop

S
SlyMaster360
Member
62
02-25-2016, 07:58 PM
#1
I was attempting to resolve a problem with an app. I discovered that executing it in a .sh script—specifically nautilus . & killall nautilus exit 0—resolved my issue. I saved the script to /etc/profile.d so it runs on login. Now, upon logging in, my screen briefly goes black before returning to the login screen. When I use the terminal, the same behavior occurs: a brief welcome message appears, then the terminal clears and I’m back at the login prompt. Have I made a critical mistake that requires reinstalling the OS, or is this fixable? As a complete newcomer to Linux, I wasn’t aware of these potential consequences.
S
SlyMaster360
02-25-2016, 07:58 PM #1

I was attempting to resolve a problem with an app. I discovered that executing it in a .sh script—specifically nautilus . & killall nautilus exit 0—resolved my issue. I saved the script to /etc/profile.d so it runs on login. Now, upon logging in, my screen briefly goes black before returning to the login screen. When I use the terminal, the same behavior occurs: a brief welcome message appears, then the terminal clears and I’m back at the login prompt. Have I made a critical mistake that requires reinstalling the OS, or is this fixable? As a complete newcomer to Linux, I wasn’t aware of these potential consequences.

F
Faze_Dashix
Member
65
03-02-2016, 09:13 PM
#2
End your login session by terminating the process. Restart into recovery mode (or employ a live USB) and relocate it outside profile.d. Verify login scripts via ~/.bash_profile to ensure continued root access for troubleshooting.
F
Faze_Dashix
03-02-2016, 09:13 PM #2

End your login session by terminating the process. Restart into recovery mode (or employ a live USB) and relocate it outside profile.d. Verify login scripts via ~/.bash_profile to ensure continued root access for troubleshooting.

W
Wixxgriffel
Member
191
03-04-2016, 04:11 PM
#3
Thank you. I'll remember this for future reference.
W
Wixxgriffel
03-04-2016, 04:11 PM #3

Thank you. I'll remember this for future reference.