Can't login to ubuntu 17.10 login loop

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












Can anyone help me, I cant log-in to my laptop. Looks like its just looping back to the login screen.



What may have caused it, I was downloading a dataset from Kaggle. Then I had to open the terminal and and type chmod 600 ~/.kaggle/kaggle.json (as shown here), I got an error so I put sudo chmod 600 ~/ pathname When I ran the second command It couldn't find the path and when I checked my files/folder in home it said "You dont have the permission to access these files". I have tried the following methods from AskUbuntu forum:



  1. Can't log in my ubuntu laptop, login loop

  2. Ubuntu stuck on login screen

But the problem still exists.
After using the first method I see the following output on my terminal



(Image 1)



but I am still stuck at the login loop.



EDIT : The image I get after running the this command find ~vat26 ! ( -readable -writable -user vat26 ( ! -type d -o -executable ) ) -ls |& tee /tmp/vat26-permissions.log (as asked by @David Foerster) is this :
(Image 2)










share|improve this question























  • Can you login via a term? (ctrl+alt+f4). Check your disk space also (df -h) as if you've got no space for necessary temporary files in your $HOME directory, login will stop & return you to login screen. If you have space, permissions would be next...
    – guiverc
    Mar 14 at 6:59










  • Over the course of the diagnosis of this issue you may find How do I get information from the logs on my computer when I only have access to the command line? or command-line oriented solutions from How can I easily share the output of a command or a text file with others? useful.
    – David Foerster
    Mar 14 at 10:07











  • Could you please edit your question to include the output of sudo -u vat26 find ~vat26 ! ( -readable -writable -user vat26 ( ! -type d -o -executable ) ) -ls |& tee /tmp/vat26-permissions.log (skip the sudo -u vat26 prefix if you're already logged in as user vat26). This will also save the output to a file /tmp/vat26-permissions.log which you can then share as described in the answers to the questions linked in my previous comment. Thanks.
    – David Foerster
    Mar 14 at 10:16










  • …although sudo chmod 755 ~vat26 should fix the permission issue introduced by chmod 600 ~/ (as by your question), which is essentially the same as kukulo's answer and the accepted answer to one of the linked question.
    – David Foerster
    Mar 14 at 10:27














up vote
1
down vote

favorite












Can anyone help me, I cant log-in to my laptop. Looks like its just looping back to the login screen.



What may have caused it, I was downloading a dataset from Kaggle. Then I had to open the terminal and and type chmod 600 ~/.kaggle/kaggle.json (as shown here), I got an error so I put sudo chmod 600 ~/ pathname When I ran the second command It couldn't find the path and when I checked my files/folder in home it said "You dont have the permission to access these files". I have tried the following methods from AskUbuntu forum:



  1. Can't log in my ubuntu laptop, login loop

  2. Ubuntu stuck on login screen

But the problem still exists.
After using the first method I see the following output on my terminal



(Image 1)



but I am still stuck at the login loop.



EDIT : The image I get after running the this command find ~vat26 ! ( -readable -writable -user vat26 ( ! -type d -o -executable ) ) -ls |& tee /tmp/vat26-permissions.log (as asked by @David Foerster) is this :
(Image 2)










share|improve this question























  • Can you login via a term? (ctrl+alt+f4). Check your disk space also (df -h) as if you've got no space for necessary temporary files in your $HOME directory, login will stop & return you to login screen. If you have space, permissions would be next...
    – guiverc
    Mar 14 at 6:59










  • Over the course of the diagnosis of this issue you may find How do I get information from the logs on my computer when I only have access to the command line? or command-line oriented solutions from How can I easily share the output of a command or a text file with others? useful.
    – David Foerster
    Mar 14 at 10:07











  • Could you please edit your question to include the output of sudo -u vat26 find ~vat26 ! ( -readable -writable -user vat26 ( ! -type d -o -executable ) ) -ls |& tee /tmp/vat26-permissions.log (skip the sudo -u vat26 prefix if you're already logged in as user vat26). This will also save the output to a file /tmp/vat26-permissions.log which you can then share as described in the answers to the questions linked in my previous comment. Thanks.
    – David Foerster
    Mar 14 at 10:16










  • …although sudo chmod 755 ~vat26 should fix the permission issue introduced by chmod 600 ~/ (as by your question), which is essentially the same as kukulo's answer and the accepted answer to one of the linked question.
    – David Foerster
    Mar 14 at 10:27












up vote
1
down vote

favorite









up vote
1
down vote

favorite











Can anyone help me, I cant log-in to my laptop. Looks like its just looping back to the login screen.



What may have caused it, I was downloading a dataset from Kaggle. Then I had to open the terminal and and type chmod 600 ~/.kaggle/kaggle.json (as shown here), I got an error so I put sudo chmod 600 ~/ pathname When I ran the second command It couldn't find the path and when I checked my files/folder in home it said "You dont have the permission to access these files". I have tried the following methods from AskUbuntu forum:



  1. Can't log in my ubuntu laptop, login loop

  2. Ubuntu stuck on login screen

But the problem still exists.
After using the first method I see the following output on my terminal



(Image 1)



but I am still stuck at the login loop.



EDIT : The image I get after running the this command find ~vat26 ! ( -readable -writable -user vat26 ( ! -type d -o -executable ) ) -ls |& tee /tmp/vat26-permissions.log (as asked by @David Foerster) is this :
(Image 2)










share|improve this question















Can anyone help me, I cant log-in to my laptop. Looks like its just looping back to the login screen.



What may have caused it, I was downloading a dataset from Kaggle. Then I had to open the terminal and and type chmod 600 ~/.kaggle/kaggle.json (as shown here), I got an error so I put sudo chmod 600 ~/ pathname When I ran the second command It couldn't find the path and when I checked my files/folder in home it said "You dont have the permission to access these files". I have tried the following methods from AskUbuntu forum:



  1. Can't log in my ubuntu laptop, login loop

  2. Ubuntu stuck on login screen

But the problem still exists.
After using the first method I see the following output on my terminal



(Image 1)



but I am still stuck at the login loop.



EDIT : The image I get after running the this command find ~vat26 ! ( -readable -writable -user vat26 ( ! -type d -o -executable ) ) -ls |& tee /tmp/vat26-permissions.log (as asked by @David Foerster) is this :
(Image 2)







command-line permissions login-screen






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 14 at 17:26

























asked Mar 14 at 5:40









Vatsal Aggarwal

85




85











  • Can you login via a term? (ctrl+alt+f4). Check your disk space also (df -h) as if you've got no space for necessary temporary files in your $HOME directory, login will stop & return you to login screen. If you have space, permissions would be next...
    – guiverc
    Mar 14 at 6:59










  • Over the course of the diagnosis of this issue you may find How do I get information from the logs on my computer when I only have access to the command line? or command-line oriented solutions from How can I easily share the output of a command or a text file with others? useful.
    – David Foerster
    Mar 14 at 10:07











  • Could you please edit your question to include the output of sudo -u vat26 find ~vat26 ! ( -readable -writable -user vat26 ( ! -type d -o -executable ) ) -ls |& tee /tmp/vat26-permissions.log (skip the sudo -u vat26 prefix if you're already logged in as user vat26). This will also save the output to a file /tmp/vat26-permissions.log which you can then share as described in the answers to the questions linked in my previous comment. Thanks.
    – David Foerster
    Mar 14 at 10:16










  • …although sudo chmod 755 ~vat26 should fix the permission issue introduced by chmod 600 ~/ (as by your question), which is essentially the same as kukulo's answer and the accepted answer to one of the linked question.
    – David Foerster
    Mar 14 at 10:27
















  • Can you login via a term? (ctrl+alt+f4). Check your disk space also (df -h) as if you've got no space for necessary temporary files in your $HOME directory, login will stop & return you to login screen. If you have space, permissions would be next...
    – guiverc
    Mar 14 at 6:59










  • Over the course of the diagnosis of this issue you may find How do I get information from the logs on my computer when I only have access to the command line? or command-line oriented solutions from How can I easily share the output of a command or a text file with others? useful.
    – David Foerster
    Mar 14 at 10:07











  • Could you please edit your question to include the output of sudo -u vat26 find ~vat26 ! ( -readable -writable -user vat26 ( ! -type d -o -executable ) ) -ls |& tee /tmp/vat26-permissions.log (skip the sudo -u vat26 prefix if you're already logged in as user vat26). This will also save the output to a file /tmp/vat26-permissions.log which you can then share as described in the answers to the questions linked in my previous comment. Thanks.
    – David Foerster
    Mar 14 at 10:16










  • …although sudo chmod 755 ~vat26 should fix the permission issue introduced by chmod 600 ~/ (as by your question), which is essentially the same as kukulo's answer and the accepted answer to one of the linked question.
    – David Foerster
    Mar 14 at 10:27















Can you login via a term? (ctrl+alt+f4). Check your disk space also (df -h) as if you've got no space for necessary temporary files in your $HOME directory, login will stop & return you to login screen. If you have space, permissions would be next...
– guiverc
Mar 14 at 6:59




Can you login via a term? (ctrl+alt+f4). Check your disk space also (df -h) as if you've got no space for necessary temporary files in your $HOME directory, login will stop & return you to login screen. If you have space, permissions would be next...
– guiverc
Mar 14 at 6:59












Over the course of the diagnosis of this issue you may find How do I get information from the logs on my computer when I only have access to the command line? or command-line oriented solutions from How can I easily share the output of a command or a text file with others? useful.
– David Foerster
Mar 14 at 10:07





Over the course of the diagnosis of this issue you may find How do I get information from the logs on my computer when I only have access to the command line? or command-line oriented solutions from How can I easily share the output of a command or a text file with others? useful.
– David Foerster
Mar 14 at 10:07













Could you please edit your question to include the output of sudo -u vat26 find ~vat26 ! ( -readable -writable -user vat26 ( ! -type d -o -executable ) ) -ls |& tee /tmp/vat26-permissions.log (skip the sudo -u vat26 prefix if you're already logged in as user vat26). This will also save the output to a file /tmp/vat26-permissions.log which you can then share as described in the answers to the questions linked in my previous comment. Thanks.
– David Foerster
Mar 14 at 10:16




Could you please edit your question to include the output of sudo -u vat26 find ~vat26 ! ( -readable -writable -user vat26 ( ! -type d -o -executable ) ) -ls |& tee /tmp/vat26-permissions.log (skip the sudo -u vat26 prefix if you're already logged in as user vat26). This will also save the output to a file /tmp/vat26-permissions.log which you can then share as described in the answers to the questions linked in my previous comment. Thanks.
– David Foerster
Mar 14 at 10:16












…although sudo chmod 755 ~vat26 should fix the permission issue introduced by chmod 600 ~/ (as by your question), which is essentially the same as kukulo's answer and the accepted answer to one of the linked question.
– David Foerster
Mar 14 at 10:27




…although sudo chmod 755 ~vat26 should fix the permission issue introduced by chmod 600 ~/ (as by your question), which is essentially the same as kukulo's answer and the accepted answer to one of the linked question.
– David Foerster
Mar 14 at 10:27










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










Boot a live session on your laptop from installation DVD or USB. Within live session in the file manager identify your drive. Open terminal and change directory to your home folder on the drive.



With



sudo chmod 755 /path_to_your_home_folder 


you can fix your file permissions.



Note: path to your home folder will be in the live session like this: /media/disk_UUID/home/username






share|improve this answer






















  • I am just wondering how it can be done without live session. Could you please explain?
    – kukulo
    Mar 14 at 6:33










  • If he is still logged in then sudo chmod 755 /home/user_name/ is appropriate.
    – kukulo
    Mar 14 at 6:52











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1014782%2fcant-login-to-ubuntu-17-10-login-loop%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote



accepted










Boot a live session on your laptop from installation DVD or USB. Within live session in the file manager identify your drive. Open terminal and change directory to your home folder on the drive.



With



sudo chmod 755 /path_to_your_home_folder 


you can fix your file permissions.



Note: path to your home folder will be in the live session like this: /media/disk_UUID/home/username






share|improve this answer






















  • I am just wondering how it can be done without live session. Could you please explain?
    – kukulo
    Mar 14 at 6:33










  • If he is still logged in then sudo chmod 755 /home/user_name/ is appropriate.
    – kukulo
    Mar 14 at 6:52















up vote
1
down vote



accepted










Boot a live session on your laptop from installation DVD or USB. Within live session in the file manager identify your drive. Open terminal and change directory to your home folder on the drive.



With



sudo chmod 755 /path_to_your_home_folder 


you can fix your file permissions.



Note: path to your home folder will be in the live session like this: /media/disk_UUID/home/username






share|improve this answer






















  • I am just wondering how it can be done without live session. Could you please explain?
    – kukulo
    Mar 14 at 6:33










  • If he is still logged in then sudo chmod 755 /home/user_name/ is appropriate.
    – kukulo
    Mar 14 at 6:52













up vote
1
down vote



accepted







up vote
1
down vote



accepted






Boot a live session on your laptop from installation DVD or USB. Within live session in the file manager identify your drive. Open terminal and change directory to your home folder on the drive.



With



sudo chmod 755 /path_to_your_home_folder 


you can fix your file permissions.



Note: path to your home folder will be in the live session like this: /media/disk_UUID/home/username






share|improve this answer














Boot a live session on your laptop from installation DVD or USB. Within live session in the file manager identify your drive. Open terminal and change directory to your home folder on the drive.



With



sudo chmod 755 /path_to_your_home_folder 


you can fix your file permissions.



Note: path to your home folder will be in the live session like this: /media/disk_UUID/home/username







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 14 at 9:07









Zanna

48.1k13120228




48.1k13120228










answered Mar 14 at 6:09









kukulo

967416




967416











  • I am just wondering how it can be done without live session. Could you please explain?
    – kukulo
    Mar 14 at 6:33










  • If he is still logged in then sudo chmod 755 /home/user_name/ is appropriate.
    – kukulo
    Mar 14 at 6:52

















  • I am just wondering how it can be done without live session. Could you please explain?
    – kukulo
    Mar 14 at 6:33










  • If he is still logged in then sudo chmod 755 /home/user_name/ is appropriate.
    – kukulo
    Mar 14 at 6:52
















I am just wondering how it can be done without live session. Could you please explain?
– kukulo
Mar 14 at 6:33




I am just wondering how it can be done without live session. Could you please explain?
– kukulo
Mar 14 at 6:33












If he is still logged in then sudo chmod 755 /home/user_name/ is appropriate.
– kukulo
Mar 14 at 6:52





If he is still logged in then sudo chmod 755 /home/user_name/ is appropriate.
– kukulo
Mar 14 at 6:52


















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1014782%2fcant-login-to-ubuntu-17-10-login-loop%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Unable to execute new pre-installation script (/var/lib/dpkg/tmp.ci/preinst)

Running the scala interactive shell from the command line

Do not install recommended packages of dependencies