Can't login to ubuntu 17.10 login loop

Clash 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:
- Can't log in my ubuntu laptop, login loop
- Ubuntu stuck on login screen
But the problem still exists.
After using the first method I see the following output on my terminal

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 :
command-line permissions login-screen
add a comment |Â
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:
- Can't log in my ubuntu laptop, login loop
- Ubuntu stuck on login screen
But the problem still exists.
After using the first method I see the following output on my terminal

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 :
command-line permissions login-screen
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 ofsudo -u vat26 find ~vat26 ! ( -readable -writable -user vat26 ( ! -type d -o -executable ) ) -ls |& tee /tmp/vat26-permissions.log(skip thesudo -u vat26prefix if you're already logged in as uservat26). This will also save the output to a file/tmp/vat26-permissions.logwhich 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
â¦althoughsudo chmod 755 ~vat26should fix the permission issue introduced bychmod 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
add a comment |Â
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:
- Can't log in my ubuntu laptop, login loop
- Ubuntu stuck on login screen
But the problem still exists.
After using the first method I see the following output on my terminal

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 :
command-line permissions login-screen
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:
- Can't log in my ubuntu laptop, login loop
- Ubuntu stuck on login screen
But the problem still exists.
After using the first method I see the following output on my terminal

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 :
command-line permissions login-screen
command-line permissions login-screen
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 ofsudo -u vat26 find ~vat26 ! ( -readable -writable -user vat26 ( ! -type d -o -executable ) ) -ls |& tee /tmp/vat26-permissions.log(skip thesudo -u vat26prefix if you're already logged in as uservat26). This will also save the output to a file/tmp/vat26-permissions.logwhich 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
â¦althoughsudo chmod 755 ~vat26should fix the permission issue introduced bychmod 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
add a comment |Â
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 ofsudo -u vat26 find ~vat26 ! ( -readable -writable -user vat26 ( ! -type d -o -executable ) ) -ls |& tee /tmp/vat26-permissions.log(skip thesudo -u vat26prefix if you're already logged in as uservat26). This will also save the output to a file/tmp/vat26-permissions.logwhich 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
â¦althoughsudo chmod 755 ~vat26should fix the permission issue introduced bychmod 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
add a comment |Â
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
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
add a comment |Â
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
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
add a comment |Â
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
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
add a comment |Â
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
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
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
add a comment |Â
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
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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 thesudo -u vat26prefix if you're already logged in as uservat26). This will also save the output to a file/tmp/vat26-permissions.logwhich 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 ~vat26should fix the permission issue introduced bychmod 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