Ubuntu 16.04 Login Loop Problem
I have a problem with ubuntu. When I tried login, I was seeing a black screen and again login screen was coming. I tried some codes but they didn't work. Codes which I tried;
chown username:username .Xauthority
mv .Xauthority .Xauthority.bak
sudo chmod a+wt /tmp
sudo apt-get purge lightdm
sudo apt-get install lightdm
dpkg-reconfigure lightdm
However I creat a new account and it is working. Well, I want to use my main account but I can't work it. Can someone help me? Thanks.
16.04 login lightdm
add a comment |
I have a problem with ubuntu. When I tried login, I was seeing a black screen and again login screen was coming. I tried some codes but they didn't work. Codes which I tried;
chown username:username .Xauthority
mv .Xauthority .Xauthority.bak
sudo chmod a+wt /tmp
sudo apt-get purge lightdm
sudo apt-get install lightdm
dpkg-reconfigure lightdm
However I creat a new account and it is working. Well, I want to use my main account but I can't work it. Can someone help me? Thanks.
16.04 login lightdm
add a comment |
I have a problem with ubuntu. When I tried login, I was seeing a black screen and again login screen was coming. I tried some codes but they didn't work. Codes which I tried;
chown username:username .Xauthority
mv .Xauthority .Xauthority.bak
sudo chmod a+wt /tmp
sudo apt-get purge lightdm
sudo apt-get install lightdm
dpkg-reconfigure lightdm
However I creat a new account and it is working. Well, I want to use my main account but I can't work it. Can someone help me? Thanks.
16.04 login lightdm
I have a problem with ubuntu. When I tried login, I was seeing a black screen and again login screen was coming. I tried some codes but they didn't work. Codes which I tried;
chown username:username .Xauthority
mv .Xauthority .Xauthority.bak
sudo chmod a+wt /tmp
sudo apt-get purge lightdm
sudo apt-get install lightdm
dpkg-reconfigure lightdm
However I creat a new account and it is working. Well, I want to use my main account but I can't work it. Can someone help me? Thanks.
16.04 login lightdm
16.04 login lightdm
edited Mar 19 '17 at 20:53
Danibix
1,42511022
1,42511022
asked Mar 19 '17 at 20:12
sherlocksmsherlocksm
1613
1613
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
I had a same problem and I solved it. Problem with login loop showed up after irregular shutdown. I have solved the problem as follows:
I saw that my home folder did not have w attribute.
I added w attribute and reboot.
Click Ctrl + Alt + F1 and type in the console
sudo chmod -R +w ~
sudo reboot
Note: ~ home folder, +w add write attribute, -R recursive.
That's all.
add a comment |
For me, for some reason, the owner of my home folder was changed to root. I just changed it back and I was able to login. Thankfully SSH was working for me so that I could make this change.
sudo chown user:user user
add a comment |
I had login looping problem after upgrade of my old Thinkpad T-61p with nVidia Quadro FX 570M/PCIe/SSE2 graphics card. Right direction gave me this post, but hasn't helped either. So I start to look inside /var/log/Xorg.0.log and there it was: my card was supported only by nvidia-340 driver. All what was needed was:
sudo apt install nvidia-340
sudo reboot
My learning: read content of /var/log/Xorg.0.log
add a comment |
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',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f894713%2fubuntu-16-04-login-loop-problem%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
I had a same problem and I solved it. Problem with login loop showed up after irregular shutdown. I have solved the problem as follows:
I saw that my home folder did not have w attribute.
I added w attribute and reboot.
Click Ctrl + Alt + F1 and type in the console
sudo chmod -R +w ~
sudo reboot
Note: ~ home folder, +w add write attribute, -R recursive.
That's all.
add a comment |
I had a same problem and I solved it. Problem with login loop showed up after irregular shutdown. I have solved the problem as follows:
I saw that my home folder did not have w attribute.
I added w attribute and reboot.
Click Ctrl + Alt + F1 and type in the console
sudo chmod -R +w ~
sudo reboot
Note: ~ home folder, +w add write attribute, -R recursive.
That's all.
add a comment |
I had a same problem and I solved it. Problem with login loop showed up after irregular shutdown. I have solved the problem as follows:
I saw that my home folder did not have w attribute.
I added w attribute and reboot.
Click Ctrl + Alt + F1 and type in the console
sudo chmod -R +w ~
sudo reboot
Note: ~ home folder, +w add write attribute, -R recursive.
That's all.
I had a same problem and I solved it. Problem with login loop showed up after irregular shutdown. I have solved the problem as follows:
I saw that my home folder did not have w attribute.
I added w attribute and reboot.
Click Ctrl + Alt + F1 and type in the console
sudo chmod -R +w ~
sudo reboot
Note: ~ home folder, +w add write attribute, -R recursive.
That's all.
edited May 16 '17 at 10:47
Sumeet Deshmukh
4,37152971
4,37152971
answered May 16 '17 at 9:45
mikiamikia
1011
1011
add a comment |
add a comment |
For me, for some reason, the owner of my home folder was changed to root. I just changed it back and I was able to login. Thankfully SSH was working for me so that I could make this change.
sudo chown user:user user
add a comment |
For me, for some reason, the owner of my home folder was changed to root. I just changed it back and I was able to login. Thankfully SSH was working for me so that I could make this change.
sudo chown user:user user
add a comment |
For me, for some reason, the owner of my home folder was changed to root. I just changed it back and I was able to login. Thankfully SSH was working for me so that I could make this change.
sudo chown user:user user
For me, for some reason, the owner of my home folder was changed to root. I just changed it back and I was able to login. Thankfully SSH was working for me so that I could make this change.
sudo chown user:user user
answered Jun 25 '18 at 12:15
n3on3o
12317
12317
add a comment |
add a comment |
I had login looping problem after upgrade of my old Thinkpad T-61p with nVidia Quadro FX 570M/PCIe/SSE2 graphics card. Right direction gave me this post, but hasn't helped either. So I start to look inside /var/log/Xorg.0.log and there it was: my card was supported only by nvidia-340 driver. All what was needed was:
sudo apt install nvidia-340
sudo reboot
My learning: read content of /var/log/Xorg.0.log
add a comment |
I had login looping problem after upgrade of my old Thinkpad T-61p with nVidia Quadro FX 570M/PCIe/SSE2 graphics card. Right direction gave me this post, but hasn't helped either. So I start to look inside /var/log/Xorg.0.log and there it was: my card was supported only by nvidia-340 driver. All what was needed was:
sudo apt install nvidia-340
sudo reboot
My learning: read content of /var/log/Xorg.0.log
add a comment |
I had login looping problem after upgrade of my old Thinkpad T-61p with nVidia Quadro FX 570M/PCIe/SSE2 graphics card. Right direction gave me this post, but hasn't helped either. So I start to look inside /var/log/Xorg.0.log and there it was: my card was supported only by nvidia-340 driver. All what was needed was:
sudo apt install nvidia-340
sudo reboot
My learning: read content of /var/log/Xorg.0.log
I had login looping problem after upgrade of my old Thinkpad T-61p with nVidia Quadro FX 570M/PCIe/SSE2 graphics card. Right direction gave me this post, but hasn't helped either. So I start to look inside /var/log/Xorg.0.log and there it was: my card was supported only by nvidia-340 driver. All what was needed was:
sudo apt install nvidia-340
sudo reboot
My learning: read content of /var/log/Xorg.0.log
answered Jul 21 '18 at 21:26
Josef ŠvendaJosef Švenda
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f894713%2fubuntu-16-04-login-loop-problem%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown