Ubuntu 18.04 login loop, startx blank screen
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
New contributor
add a comment |
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
New contributor
Login using a terminal anddf -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 thedf
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
add a comment |
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
New contributor
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
18.04 login lightdm
New contributor
New contributor
edited 58 mins ago
DepChemical
New contributor
asked 2 hours ago
DepChemicalDepChemical
11
11
New contributor
New contributor
Login using a terminal anddf -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 thedf
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
add a comment |
Login using a terminal anddf -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 thedf
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
add a comment |
1 Answer
1
active
oldest
votes
Try the following steps:
Press
Ctrl
+Alt
+F3
and login into the shell.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.
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
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
});
}
});
DepChemical is a new contributor. Be nice, and check out our Code of Conduct.
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%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
Try the following steps:
Press
Ctrl
+Alt
+F3
and login into the shell.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.
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
add a comment |
Try the following steps:
Press
Ctrl
+Alt
+F3
and login into the shell.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.
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
add a comment |
Try the following steps:
Press
Ctrl
+Alt
+F3
and login into the shell.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.
Try the following steps:
Press
Ctrl
+Alt
+F3
and login into the shell.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.
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
add a comment |
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
add a comment |
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.
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.
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%2f1122400%2fubuntu-18-04-login-loop-startx-blank-screen%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
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