Ubuntu 18.04 login loop, startx blank screen












0















Help, I am stuck in a login loop with Ubuntu 18.04. I already checked the permissions/ownership of the .Xauthority .ICEauthority and /tmp folder. I tried setting to from lightdm to gdm3. I am still stuck in a login loop.



I also tried running startx using the terminal logged-in as the user but it just ends in a blank screen. What are the options that are possible for me and how can I diagnose this? I also tried looking at .xsession-errors which is just filled with setting environment variable message and no error message.



I tried and fixed the following, and still could not log in



$ ls -lah | grep Xauthority
-rw------- 1 isoya isoya 52 Mar 2 12:35 ./Xauthority
$ ls -lah | grep ICEauthority
-rw------- 1 isoya isoya 40K Mar 2 12:16 ./ICEauthority
$ ls -ld /tmp
drwxrwxrwt 12 root root 4096 Mar 2 14:32 /tmp


Here are my xorg log files if it helps



xorg.1.log



xorg.0.log



Likewise here is the system specs










share|improve this question









New contributor




DepChemical is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Login using a terminal and df -hl (disk free, human output & local drives only) to check you have some space in $HOME (your user directory). GUI's need to create work-files which are created in $HOME, and if there is insufficient space to create them, login fails & you're logged out (no message).

    – guiverc
    1 hour ago











  • df output

    – DepChemical
    40 mins ago











  • I don't see a separate /home partition, but if I was in your position I'd check you have inodes free next, ie. add a '-i' to the df command; if there are no problems there - this is not your problem.

    – guiverc
    28 mins ago











  • should there be a separate /home partition?

    – DepChemical
    18 mins ago
















0















Help, I am stuck in a login loop with Ubuntu 18.04. I already checked the permissions/ownership of the .Xauthority .ICEauthority and /tmp folder. I tried setting to from lightdm to gdm3. I am still stuck in a login loop.



I also tried running startx using the terminal logged-in as the user but it just ends in a blank screen. What are the options that are possible for me and how can I diagnose this? I also tried looking at .xsession-errors which is just filled with setting environment variable message and no error message.



I tried and fixed the following, and still could not log in



$ ls -lah | grep Xauthority
-rw------- 1 isoya isoya 52 Mar 2 12:35 ./Xauthority
$ ls -lah | grep ICEauthority
-rw------- 1 isoya isoya 40K Mar 2 12:16 ./ICEauthority
$ ls -ld /tmp
drwxrwxrwt 12 root root 4096 Mar 2 14:32 /tmp


Here are my xorg log files if it helps



xorg.1.log



xorg.0.log



Likewise here is the system specs










share|improve this question









New contributor




DepChemical is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Login using a terminal and df -hl (disk free, human output & local drives only) to check you have some space in $HOME (your user directory). GUI's need to create work-files which are created in $HOME, and if there is insufficient space to create them, login fails & you're logged out (no message).

    – guiverc
    1 hour ago











  • df output

    – DepChemical
    40 mins ago











  • I don't see a separate /home partition, but if I was in your position I'd check you have inodes free next, ie. add a '-i' to the df command; if there are no problems there - this is not your problem.

    – guiverc
    28 mins ago











  • should there be a separate /home partition?

    – DepChemical
    18 mins ago














0












0








0








Help, I am stuck in a login loop with Ubuntu 18.04. I already checked the permissions/ownership of the .Xauthority .ICEauthority and /tmp folder. I tried setting to from lightdm to gdm3. I am still stuck in a login loop.



I also tried running startx using the terminal logged-in as the user but it just ends in a blank screen. What are the options that are possible for me and how can I diagnose this? I also tried looking at .xsession-errors which is just filled with setting environment variable message and no error message.



I tried and fixed the following, and still could not log in



$ ls -lah | grep Xauthority
-rw------- 1 isoya isoya 52 Mar 2 12:35 ./Xauthority
$ ls -lah | grep ICEauthority
-rw------- 1 isoya isoya 40K Mar 2 12:16 ./ICEauthority
$ ls -ld /tmp
drwxrwxrwt 12 root root 4096 Mar 2 14:32 /tmp


Here are my xorg log files if it helps



xorg.1.log



xorg.0.log



Likewise here is the system specs










share|improve this question









New contributor




DepChemical is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












Help, I am stuck in a login loop with Ubuntu 18.04. I already checked the permissions/ownership of the .Xauthority .ICEauthority and /tmp folder. I tried setting to from lightdm to gdm3. I am still stuck in a login loop.



I also tried running startx using the terminal logged-in as the user but it just ends in a blank screen. What are the options that are possible for me and how can I diagnose this? I also tried looking at .xsession-errors which is just filled with setting environment variable message and no error message.



I tried and fixed the following, and still could not log in



$ ls -lah | grep Xauthority
-rw------- 1 isoya isoya 52 Mar 2 12:35 ./Xauthority
$ ls -lah | grep ICEauthority
-rw------- 1 isoya isoya 40K Mar 2 12:16 ./ICEauthority
$ ls -ld /tmp
drwxrwxrwt 12 root root 4096 Mar 2 14:32 /tmp


Here are my xorg log files if it helps



xorg.1.log



xorg.0.log



Likewise here is the system specs







18.04 login lightdm






share|improve this question









New contributor




DepChemical is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




DepChemical is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 58 mins ago







DepChemical













New contributor




DepChemical is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 hours ago









DepChemicalDepChemical

11




11




New contributor




DepChemical is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





DepChemical is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






DepChemical is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • Login using a terminal and df -hl (disk free, human output & local drives only) to check you have some space in $HOME (your user directory). GUI's need to create work-files which are created in $HOME, and if there is insufficient space to create them, login fails & you're logged out (no message).

    – guiverc
    1 hour ago











  • df output

    – DepChemical
    40 mins ago











  • I don't see a separate /home partition, but if I was in your position I'd check you have inodes free next, ie. add a '-i' to the df command; if there are no problems there - this is not your problem.

    – guiverc
    28 mins ago











  • should there be a separate /home partition?

    – DepChemical
    18 mins ago



















  • Login using a terminal and df -hl (disk free, human output & local drives only) to check you have some space in $HOME (your user directory). GUI's need to create work-files which are created in $HOME, and if there is insufficient space to create them, login fails & you're logged out (no message).

    – guiverc
    1 hour ago











  • df output

    – DepChemical
    40 mins ago











  • I don't see a separate /home partition, but if I was in your position I'd check you have inodes free next, ie. add a '-i' to the df command; if there are no problems there - this is not your problem.

    – guiverc
    28 mins ago











  • should there be a separate /home partition?

    – DepChemical
    18 mins ago

















Login using a terminal and df -hl (disk free, human output & local drives only) to check you have some space in $HOME (your user directory). GUI's need to create work-files which are created in $HOME, and if there is insufficient space to create them, login fails & you're logged out (no message).

– guiverc
1 hour ago





Login using a terminal and df -hl (disk free, human output & local drives only) to check you have some space in $HOME (your user directory). GUI's need to create work-files which are created in $HOME, and if there is insufficient space to create them, login fails & you're logged out (no message).

– guiverc
1 hour ago













df output

– DepChemical
40 mins ago





df output

– DepChemical
40 mins ago













I don't see a separate /home partition, but if I was in your position I'd check you have inodes free next, ie. add a '-i' to the df command; if there are no problems there - this is not your problem.

– guiverc
28 mins ago





I don't see a separate /home partition, but if I was in your position I'd check you have inodes free next, ie. add a '-i' to the df command; if there are no problems there - this is not your problem.

– guiverc
28 mins ago













should there be a separate /home partition?

– DepChemical
18 mins ago





should there be a separate /home partition?

– DepChemical
18 mins ago










1 Answer
1






active

oldest

votes


















0














Try the following steps:




  1. Press Ctrl + Alt + F3 and login into the shell.


  2. Execute ls -lA



If you see the line



-rw------- 1 root root 53 Nov 29 10:19 .Xauthority



then you need to execute the following command:



chown username:username .Xauthority



and try logging in (you may also need to do the same for .ICEauthority).



Else, do



ls -ld /tmp



Check for the first 10 letters in the left: they should be: drwxrwxrwt



drwxrwxrwt 15 root root 4096 Nov 30 04:17 /tmp



Else, you would be required to execute this command:



sudo chmod a+wt /tmp and check again.



If not both, I'd recommend you either execute: dpkg-reconfigure lightdm



or uninstall, reinstall it.



Now press Alt + -> until you reach the login screen again, and restart.



Let us know the update via the comments section.






share|improve this answer
























  • I already tried those before: ``` isoya@oldFuck:~$ ls -lah | grep Xauthority -rw------- 1 isoya isoya 52 Mar 2 12:35 ./Xauthority isoya@oldFuck:~$ ls -lah | grep ICEauthority -rw------- 1 isoya isoya 40K Mar 2 12:16 ./ICEauthority isoya@oldFuck:~$ ls -ld /tmp drwxrwxrwt 12 root root 4096 Mar 2 14:32 /tmp ```

    – DepChemical
    1 hour ago













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
});


}
});






DepChemical is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1122400%2fubuntu-18-04-login-loop-startx-blank-screen%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Try the following steps:




  1. Press Ctrl + Alt + F3 and login into the shell.


  2. Execute ls -lA



If you see the line



-rw------- 1 root root 53 Nov 29 10:19 .Xauthority



then you need to execute the following command:



chown username:username .Xauthority



and try logging in (you may also need to do the same for .ICEauthority).



Else, do



ls -ld /tmp



Check for the first 10 letters in the left: they should be: drwxrwxrwt



drwxrwxrwt 15 root root 4096 Nov 30 04:17 /tmp



Else, you would be required to execute this command:



sudo chmod a+wt /tmp and check again.



If not both, I'd recommend you either execute: dpkg-reconfigure lightdm



or uninstall, reinstall it.



Now press Alt + -> until you reach the login screen again, and restart.



Let us know the update via the comments section.






share|improve this answer
























  • I already tried those before: ``` isoya@oldFuck:~$ ls -lah | grep Xauthority -rw------- 1 isoya isoya 52 Mar 2 12:35 ./Xauthority isoya@oldFuck:~$ ls -lah | grep ICEauthority -rw------- 1 isoya isoya 40K Mar 2 12:16 ./ICEauthority isoya@oldFuck:~$ ls -ld /tmp drwxrwxrwt 12 root root 4096 Mar 2 14:32 /tmp ```

    – DepChemical
    1 hour ago


















0














Try the following steps:




  1. Press Ctrl + Alt + F3 and login into the shell.


  2. Execute ls -lA



If you see the line



-rw------- 1 root root 53 Nov 29 10:19 .Xauthority



then you need to execute the following command:



chown username:username .Xauthority



and try logging in (you may also need to do the same for .ICEauthority).



Else, do



ls -ld /tmp



Check for the first 10 letters in the left: they should be: drwxrwxrwt



drwxrwxrwt 15 root root 4096 Nov 30 04:17 /tmp



Else, you would be required to execute this command:



sudo chmod a+wt /tmp and check again.



If not both, I'd recommend you either execute: dpkg-reconfigure lightdm



or uninstall, reinstall it.



Now press Alt + -> until you reach the login screen again, and restart.



Let us know the update via the comments section.






share|improve this answer
























  • I already tried those before: ``` isoya@oldFuck:~$ ls -lah | grep Xauthority -rw------- 1 isoya isoya 52 Mar 2 12:35 ./Xauthority isoya@oldFuck:~$ ls -lah | grep ICEauthority -rw------- 1 isoya isoya 40K Mar 2 12:16 ./ICEauthority isoya@oldFuck:~$ ls -ld /tmp drwxrwxrwt 12 root root 4096 Mar 2 14:32 /tmp ```

    – DepChemical
    1 hour ago
















0












0








0







Try the following steps:




  1. Press Ctrl + Alt + F3 and login into the shell.


  2. Execute ls -lA



If you see the line



-rw------- 1 root root 53 Nov 29 10:19 .Xauthority



then you need to execute the following command:



chown username:username .Xauthority



and try logging in (you may also need to do the same for .ICEauthority).



Else, do



ls -ld /tmp



Check for the first 10 letters in the left: they should be: drwxrwxrwt



drwxrwxrwt 15 root root 4096 Nov 30 04:17 /tmp



Else, you would be required to execute this command:



sudo chmod a+wt /tmp and check again.



If not both, I'd recommend you either execute: dpkg-reconfigure lightdm



or uninstall, reinstall it.



Now press Alt + -> until you reach the login screen again, and restart.



Let us know the update via the comments section.






share|improve this answer













Try the following steps:




  1. Press Ctrl + Alt + F3 and login into the shell.


  2. Execute ls -lA



If you see the line



-rw------- 1 root root 53 Nov 29 10:19 .Xauthority



then you need to execute the following command:



chown username:username .Xauthority



and try logging in (you may also need to do the same for .ICEauthority).



Else, do



ls -ld /tmp



Check for the first 10 letters in the left: they should be: drwxrwxrwt



drwxrwxrwt 15 root root 4096 Nov 30 04:17 /tmp



Else, you would be required to execute this command:



sudo chmod a+wt /tmp and check again.



If not both, I'd recommend you either execute: dpkg-reconfigure lightdm



or uninstall, reinstall it.



Now press Alt + -> until you reach the login screen again, and restart.



Let us know the update via the comments section.







share|improve this answer












share|improve this answer



share|improve this answer










answered 1 hour ago









Manu MathurManu Mathur

34629




34629













  • I already tried those before: ``` isoya@oldFuck:~$ ls -lah | grep Xauthority -rw------- 1 isoya isoya 52 Mar 2 12:35 ./Xauthority isoya@oldFuck:~$ ls -lah | grep ICEauthority -rw------- 1 isoya isoya 40K Mar 2 12:16 ./ICEauthority isoya@oldFuck:~$ ls -ld /tmp drwxrwxrwt 12 root root 4096 Mar 2 14:32 /tmp ```

    – DepChemical
    1 hour ago





















  • I already tried those before: ``` isoya@oldFuck:~$ ls -lah | grep Xauthority -rw------- 1 isoya isoya 52 Mar 2 12:35 ./Xauthority isoya@oldFuck:~$ ls -lah | grep ICEauthority -rw------- 1 isoya isoya 40K Mar 2 12:16 ./ICEauthority isoya@oldFuck:~$ ls -ld /tmp drwxrwxrwt 12 root root 4096 Mar 2 14:32 /tmp ```

    – DepChemical
    1 hour ago



















I already tried those before: ``` isoya@oldFuck:~$ ls -lah | grep Xauthority -rw------- 1 isoya isoya 52 Mar 2 12:35 ./Xauthority isoya@oldFuck:~$ ls -lah | grep ICEauthority -rw------- 1 isoya isoya 40K Mar 2 12:16 ./ICEauthority isoya@oldFuck:~$ ls -ld /tmp drwxrwxrwt 12 root root 4096 Mar 2 14:32 /tmp ```

– DepChemical
1 hour ago







I already tried those before: ``` isoya@oldFuck:~$ ls -lah | grep Xauthority -rw------- 1 isoya isoya 52 Mar 2 12:35 ./Xauthority isoya@oldFuck:~$ ls -lah | grep ICEauthority -rw------- 1 isoya isoya 40K Mar 2 12:16 ./ICEauthority isoya@oldFuck:~$ ls -ld /tmp drwxrwxrwt 12 root root 4096 Mar 2 14:32 /tmp ```

– DepChemical
1 hour ago












DepChemical is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















DepChemical is a new contributor. Be nice, and check out our Code of Conduct.













DepChemical is a new contributor. Be nice, and check out our Code of Conduct.












DepChemical is a new contributor. Be nice, and check out our Code of Conduct.
















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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1122400%2fubuntu-18-04-login-loop-startx-blank-screen%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

GameSpot

日野市

Tu-95轟炸機