Can not log in to my 18.04 LTS ubuntu
Everytime I am trying to login to my ubuntu, it takes the password. It shows me a glimpse of an unlocked screen (not even full) and with some black flashes goes back to the lockscreen.
Previous to this I had been doing a log-out and a log-in for some changes in the tweak tool and also turning on some Extensions. (Application menu, etc., etc.).
18.04 login screen
add a comment |
Everytime I am trying to login to my ubuntu, it takes the password. It shows me a glimpse of an unlocked screen (not even full) and with some black flashes goes back to the lockscreen.
Previous to this I had been doing a log-out and a log-in for some changes in the tweak tool and also turning on some Extensions. (Application menu, etc., etc.).
18.04 login screen
Wihtout knowing exactly what settings you changed it is hard to help you. A solution would be opening a different tty pressingctrl + alt + f2
and logging in with your user. Then you can either attempt to fix whatever you messed up or create a new user and go from there.
– Podesta
Mar 16 at 2:21
I think I have problems with my ubuntu desktop enviroment. Searched for some solution and got one where I was told to try installing Lubuntu Desktop environment. Now when I log in to the lubuntu desktop environment it works just fine. But Can't log in using Ubuntu desktop environment. Can you help me get back My ubuntu desktop environment? Thanks in advance.
– Shadman Seetab
Mar 16 at 8:08
You probably broke your configuration files, try switching to a text console (Ctrl-Alt-F2 or similar) and log in there to see what happens.
– Thorbjørn Ravn Andersen
Mar 16 at 14:47
Thanks. But decided to again installing ubuntu using pendrive.
– Shadman Seetab
Mar 16 at 16:24
add a comment |
Everytime I am trying to login to my ubuntu, it takes the password. It shows me a glimpse of an unlocked screen (not even full) and with some black flashes goes back to the lockscreen.
Previous to this I had been doing a log-out and a log-in for some changes in the tweak tool and also turning on some Extensions. (Application menu, etc., etc.).
18.04 login screen
Everytime I am trying to login to my ubuntu, it takes the password. It shows me a glimpse of an unlocked screen (not even full) and with some black flashes goes back to the lockscreen.
Previous to this I had been doing a log-out and a log-in for some changes in the tweak tool and also turning on some Extensions. (Application menu, etc., etc.).
18.04 login screen
18.04 login screen
edited Mar 17 at 9:32
oh.dae.su
19516
19516
asked Mar 16 at 0:18
Shadman SeetabShadman Seetab
12
12
Wihtout knowing exactly what settings you changed it is hard to help you. A solution would be opening a different tty pressingctrl + alt + f2
and logging in with your user. Then you can either attempt to fix whatever you messed up or create a new user and go from there.
– Podesta
Mar 16 at 2:21
I think I have problems with my ubuntu desktop enviroment. Searched for some solution and got one where I was told to try installing Lubuntu Desktop environment. Now when I log in to the lubuntu desktop environment it works just fine. But Can't log in using Ubuntu desktop environment. Can you help me get back My ubuntu desktop environment? Thanks in advance.
– Shadman Seetab
Mar 16 at 8:08
You probably broke your configuration files, try switching to a text console (Ctrl-Alt-F2 or similar) and log in there to see what happens.
– Thorbjørn Ravn Andersen
Mar 16 at 14:47
Thanks. But decided to again installing ubuntu using pendrive.
– Shadman Seetab
Mar 16 at 16:24
add a comment |
Wihtout knowing exactly what settings you changed it is hard to help you. A solution would be opening a different tty pressingctrl + alt + f2
and logging in with your user. Then you can either attempt to fix whatever you messed up or create a new user and go from there.
– Podesta
Mar 16 at 2:21
I think I have problems with my ubuntu desktop enviroment. Searched for some solution and got one where I was told to try installing Lubuntu Desktop environment. Now when I log in to the lubuntu desktop environment it works just fine. But Can't log in using Ubuntu desktop environment. Can you help me get back My ubuntu desktop environment? Thanks in advance.
– Shadman Seetab
Mar 16 at 8:08
You probably broke your configuration files, try switching to a text console (Ctrl-Alt-F2 or similar) and log in there to see what happens.
– Thorbjørn Ravn Andersen
Mar 16 at 14:47
Thanks. But decided to again installing ubuntu using pendrive.
– Shadman Seetab
Mar 16 at 16:24
Wihtout knowing exactly what settings you changed it is hard to help you. A solution would be opening a different tty pressing
ctrl + alt + f2
and logging in with your user. Then you can either attempt to fix whatever you messed up or create a new user and go from there.– Podesta
Mar 16 at 2:21
Wihtout knowing exactly what settings you changed it is hard to help you. A solution would be opening a different tty pressing
ctrl + alt + f2
and logging in with your user. Then you can either attempt to fix whatever you messed up or create a new user and go from there.– Podesta
Mar 16 at 2:21
I think I have problems with my ubuntu desktop enviroment. Searched for some solution and got one where I was told to try installing Lubuntu Desktop environment. Now when I log in to the lubuntu desktop environment it works just fine. But Can't log in using Ubuntu desktop environment. Can you help me get back My ubuntu desktop environment? Thanks in advance.
– Shadman Seetab
Mar 16 at 8:08
I think I have problems with my ubuntu desktop enviroment. Searched for some solution and got one where I was told to try installing Lubuntu Desktop environment. Now when I log in to the lubuntu desktop environment it works just fine. But Can't log in using Ubuntu desktop environment. Can you help me get back My ubuntu desktop environment? Thanks in advance.
– Shadman Seetab
Mar 16 at 8:08
You probably broke your configuration files, try switching to a text console (Ctrl-Alt-F2 or similar) and log in there to see what happens.
– Thorbjørn Ravn Andersen
Mar 16 at 14:47
You probably broke your configuration files, try switching to a text console (Ctrl-Alt-F2 or similar) and log in there to see what happens.
– Thorbjørn Ravn Andersen
Mar 16 at 14:47
Thanks. But decided to again installing ubuntu using pendrive.
– Shadman Seetab
Mar 16 at 16:24
Thanks. But decided to again installing ubuntu using pendrive.
– Shadman Seetab
Mar 16 at 16:24
add a comment |
1 Answer
1
active
oldest
votes
If you've been starting graphic applications from the terminal using sudo
, that's what probably caused your problem. Always use sudo -H
.
- boot to the GRUB menu
- choose Advanced Options
- choose Recovery mode
- choose Root access
- at the # prompt, type:
sudo mount -o remount,rw /
# remount the disk as rw
cd /home/your_username
# change directory
ls -al .*thority*
# list some files
You should see something like this...
-rw------- 1 your_username your_username 407910 Nov 2 08:56 .ICEauthority
-rw------- 1 your_username your_username 58 Jun 23 2017 .Xauthority
If it DOES NOT show -rw-------
then...
sudo chmod 600 .*thority*
# change file protection
If it DOES SHOW root root
then...
sudo chown your_username:your_username .*thority*
# change file ownershipreboot
# reboot the computer
Reboot and see if you can log in.
This didn't work. But thanks . again installed linux.
– Shadman Seetab
Mar 16 at 16:28
@ShadmanSeetab It would have been much better to give detailed feedback about what you saw while executing my procedure, and/or to fix the real problem with another solution, than to keep reinstalling Ubuntu. For example, it could be a problem with your video driver... do you have Nvidia?
– heynnema
Mar 16 at 16:30
Yeah. I have Nvidia
– Shadman Seetab
Mar 17 at 9:34
@ShadmanSeetab I saw that you wiped your drive, so the problem may not even be there any more, but if it is, I'd recommend starting with thenomodeset
parameter temporarily, just to see if this problem occurs. If it works, then you've probably got a Nvidia driver problem. Make sure you've got version 418.43.
– heynnema
Mar 17 at 13:01
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%2f1126052%2fcan-not-log-in-to-my-18-04-lts-ubuntu%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
If you've been starting graphic applications from the terminal using sudo
, that's what probably caused your problem. Always use sudo -H
.
- boot to the GRUB menu
- choose Advanced Options
- choose Recovery mode
- choose Root access
- at the # prompt, type:
sudo mount -o remount,rw /
# remount the disk as rw
cd /home/your_username
# change directory
ls -al .*thority*
# list some files
You should see something like this...
-rw------- 1 your_username your_username 407910 Nov 2 08:56 .ICEauthority
-rw------- 1 your_username your_username 58 Jun 23 2017 .Xauthority
If it DOES NOT show -rw-------
then...
sudo chmod 600 .*thority*
# change file protection
If it DOES SHOW root root
then...
sudo chown your_username:your_username .*thority*
# change file ownershipreboot
# reboot the computer
Reboot and see if you can log in.
This didn't work. But thanks . again installed linux.
– Shadman Seetab
Mar 16 at 16:28
@ShadmanSeetab It would have been much better to give detailed feedback about what you saw while executing my procedure, and/or to fix the real problem with another solution, than to keep reinstalling Ubuntu. For example, it could be a problem with your video driver... do you have Nvidia?
– heynnema
Mar 16 at 16:30
Yeah. I have Nvidia
– Shadman Seetab
Mar 17 at 9:34
@ShadmanSeetab I saw that you wiped your drive, so the problem may not even be there any more, but if it is, I'd recommend starting with thenomodeset
parameter temporarily, just to see if this problem occurs. If it works, then you've probably got a Nvidia driver problem. Make sure you've got version 418.43.
– heynnema
Mar 17 at 13:01
add a comment |
If you've been starting graphic applications from the terminal using sudo
, that's what probably caused your problem. Always use sudo -H
.
- boot to the GRUB menu
- choose Advanced Options
- choose Recovery mode
- choose Root access
- at the # prompt, type:
sudo mount -o remount,rw /
# remount the disk as rw
cd /home/your_username
# change directory
ls -al .*thority*
# list some files
You should see something like this...
-rw------- 1 your_username your_username 407910 Nov 2 08:56 .ICEauthority
-rw------- 1 your_username your_username 58 Jun 23 2017 .Xauthority
If it DOES NOT show -rw-------
then...
sudo chmod 600 .*thority*
# change file protection
If it DOES SHOW root root
then...
sudo chown your_username:your_username .*thority*
# change file ownershipreboot
# reboot the computer
Reboot and see if you can log in.
This didn't work. But thanks . again installed linux.
– Shadman Seetab
Mar 16 at 16:28
@ShadmanSeetab It would have been much better to give detailed feedback about what you saw while executing my procedure, and/or to fix the real problem with another solution, than to keep reinstalling Ubuntu. For example, it could be a problem with your video driver... do you have Nvidia?
– heynnema
Mar 16 at 16:30
Yeah. I have Nvidia
– Shadman Seetab
Mar 17 at 9:34
@ShadmanSeetab I saw that you wiped your drive, so the problem may not even be there any more, but if it is, I'd recommend starting with thenomodeset
parameter temporarily, just to see if this problem occurs. If it works, then you've probably got a Nvidia driver problem. Make sure you've got version 418.43.
– heynnema
Mar 17 at 13:01
add a comment |
If you've been starting graphic applications from the terminal using sudo
, that's what probably caused your problem. Always use sudo -H
.
- boot to the GRUB menu
- choose Advanced Options
- choose Recovery mode
- choose Root access
- at the # prompt, type:
sudo mount -o remount,rw /
# remount the disk as rw
cd /home/your_username
# change directory
ls -al .*thority*
# list some files
You should see something like this...
-rw------- 1 your_username your_username 407910 Nov 2 08:56 .ICEauthority
-rw------- 1 your_username your_username 58 Jun 23 2017 .Xauthority
If it DOES NOT show -rw-------
then...
sudo chmod 600 .*thority*
# change file protection
If it DOES SHOW root root
then...
sudo chown your_username:your_username .*thority*
# change file ownershipreboot
# reboot the computer
Reboot and see if you can log in.
If you've been starting graphic applications from the terminal using sudo
, that's what probably caused your problem. Always use sudo -H
.
- boot to the GRUB menu
- choose Advanced Options
- choose Recovery mode
- choose Root access
- at the # prompt, type:
sudo mount -o remount,rw /
# remount the disk as rw
cd /home/your_username
# change directory
ls -al .*thority*
# list some files
You should see something like this...
-rw------- 1 your_username your_username 407910 Nov 2 08:56 .ICEauthority
-rw------- 1 your_username your_username 58 Jun 23 2017 .Xauthority
If it DOES NOT show -rw-------
then...
sudo chmod 600 .*thority*
# change file protection
If it DOES SHOW root root
then...
sudo chown your_username:your_username .*thority*
# change file ownershipreboot
# reboot the computer
Reboot and see if you can log in.
answered Mar 16 at 14:42
heynnemaheynnema
20.9k22360
20.9k22360
This didn't work. But thanks . again installed linux.
– Shadman Seetab
Mar 16 at 16:28
@ShadmanSeetab It would have been much better to give detailed feedback about what you saw while executing my procedure, and/or to fix the real problem with another solution, than to keep reinstalling Ubuntu. For example, it could be a problem with your video driver... do you have Nvidia?
– heynnema
Mar 16 at 16:30
Yeah. I have Nvidia
– Shadman Seetab
Mar 17 at 9:34
@ShadmanSeetab I saw that you wiped your drive, so the problem may not even be there any more, but if it is, I'd recommend starting with thenomodeset
parameter temporarily, just to see if this problem occurs. If it works, then you've probably got a Nvidia driver problem. Make sure you've got version 418.43.
– heynnema
Mar 17 at 13:01
add a comment |
This didn't work. But thanks . again installed linux.
– Shadman Seetab
Mar 16 at 16:28
@ShadmanSeetab It would have been much better to give detailed feedback about what you saw while executing my procedure, and/or to fix the real problem with another solution, than to keep reinstalling Ubuntu. For example, it could be a problem with your video driver... do you have Nvidia?
– heynnema
Mar 16 at 16:30
Yeah. I have Nvidia
– Shadman Seetab
Mar 17 at 9:34
@ShadmanSeetab I saw that you wiped your drive, so the problem may not even be there any more, but if it is, I'd recommend starting with thenomodeset
parameter temporarily, just to see if this problem occurs. If it works, then you've probably got a Nvidia driver problem. Make sure you've got version 418.43.
– heynnema
Mar 17 at 13:01
This didn't work. But thanks . again installed linux.
– Shadman Seetab
Mar 16 at 16:28
This didn't work. But thanks . again installed linux.
– Shadman Seetab
Mar 16 at 16:28
@ShadmanSeetab It would have been much better to give detailed feedback about what you saw while executing my procedure, and/or to fix the real problem with another solution, than to keep reinstalling Ubuntu. For example, it could be a problem with your video driver... do you have Nvidia?
– heynnema
Mar 16 at 16:30
@ShadmanSeetab It would have been much better to give detailed feedback about what you saw while executing my procedure, and/or to fix the real problem with another solution, than to keep reinstalling Ubuntu. For example, it could be a problem with your video driver... do you have Nvidia?
– heynnema
Mar 16 at 16:30
Yeah. I have Nvidia
– Shadman Seetab
Mar 17 at 9:34
Yeah. I have Nvidia
– Shadman Seetab
Mar 17 at 9:34
@ShadmanSeetab I saw that you wiped your drive, so the problem may not even be there any more, but if it is, I'd recommend starting with the
nomodeset
parameter temporarily, just to see if this problem occurs. If it works, then you've probably got a Nvidia driver problem. Make sure you've got version 418.43.– heynnema
Mar 17 at 13:01
@ShadmanSeetab I saw that you wiped your drive, so the problem may not even be there any more, but if it is, I'd recommend starting with the
nomodeset
parameter temporarily, just to see if this problem occurs. If it works, then you've probably got a Nvidia driver problem. Make sure you've got version 418.43.– heynnema
Mar 17 at 13:01
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%2f1126052%2fcan-not-log-in-to-my-18-04-lts-ubuntu%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
Wihtout knowing exactly what settings you changed it is hard to help you. A solution would be opening a different tty pressing
ctrl + alt + f2
and logging in with your user. Then you can either attempt to fix whatever you messed up or create a new user and go from there.– Podesta
Mar 16 at 2:21
I think I have problems with my ubuntu desktop enviroment. Searched for some solution and got one where I was told to try installing Lubuntu Desktop environment. Now when I log in to the lubuntu desktop environment it works just fine. But Can't log in using Ubuntu desktop environment. Can you help me get back My ubuntu desktop environment? Thanks in advance.
– Shadman Seetab
Mar 16 at 8:08
You probably broke your configuration files, try switching to a text console (Ctrl-Alt-F2 or similar) and log in there to see what happens.
– Thorbjørn Ravn Andersen
Mar 16 at 14:47
Thanks. But decided to again installing ubuntu using pendrive.
– Shadman Seetab
Mar 16 at 16:24