how can I fix my .profile file when I login
by drawa54 from LinuxQuestions.org on (#51ZTV)
I cannot login.
The last thing I did was to add a line of code to my .profile file.
On booting up I get the following message when I try to login, "Your session only lasted less than 10 seconds....Try logging in with one of the failsafe sessions to see if you can fix this problem."
I tried this and:
dpkg - Repair packages - none broken
grub - updated bootloader successfully
Then pressed resume but got very dark grey screen...waited for 5 minutes then forced shutdown.
On booting again the same problem. Not able to login.
The issue is with a laptop which is not the one I'm using now.
The laptop I'm asking help for is running Linux Mint 18.x The HD has about 100 GB of free space. There is no other OS installed. All packages are up to date.


The last thing I did was to add a line of code to my .profile file.
On booting up I get the following message when I try to login, "Your session only lasted less than 10 seconds....Try logging in with one of the failsafe sessions to see if you can fix this problem."
I tried this and:
dpkg - Repair packages - none broken
grub - updated bootloader successfully
Then pressed resume but got very dark grey screen...waited for 5 minutes then forced shutdown.
On booting again the same problem. Not able to login.
The issue is with a laptop which is not the one I'm using now.
The laptop I'm asking help for is running Linux Mint 18.x The HD has about 100 GB of free space. There is no other OS installed. All packages are up to date.