Can't start ubuntu-desktop after upgrade to 18.04
After the restart step of upgrading Ubuntu to 18.04, my system books to a tty instead of ubuntu-desktop. And when I enter my login name and password, I am still in the tty. This is happening again in every restart. How can I start the graphical desktop as normal?
18.04 gui
add a comment |
After the restart step of upgrading Ubuntu to 18.04, my system books to a tty instead of ubuntu-desktop. And when I enter my login name and password, I am still in the tty. This is happening again in every restart. How can I start the graphical desktop as normal?
18.04 gui
Does it work if you press Ctrl+Alt+F7?
– Olimjon
May 4 '18 at 12:12
It is not exited by pressing Ctrl+Alt+F7.
– dilde olupbiten
May 4 '18 at 12:14
Which desktop environment are you selecting from the gear drop down menu next to theSifn In
button? The first four options don't work for me. Only the bottom option (Unity) works for me.
– WinEunuuchs2Unix
May 4 '18 at 12:16
I didn't see any options.
– dilde olupbiten
May 4 '18 at 12:18
add a comment |
After the restart step of upgrading Ubuntu to 18.04, my system books to a tty instead of ubuntu-desktop. And when I enter my login name and password, I am still in the tty. This is happening again in every restart. How can I start the graphical desktop as normal?
18.04 gui
After the restart step of upgrading Ubuntu to 18.04, my system books to a tty instead of ubuntu-desktop. And when I enter my login name and password, I am still in the tty. This is happening again in every restart. How can I start the graphical desktop as normal?
18.04 gui
18.04 gui
edited Jan 3 at 18:39
Zanna
50.3k13133241
50.3k13133241
asked May 4 '18 at 11:56
dilde olupbitendilde olupbiten
143117
143117
Does it work if you press Ctrl+Alt+F7?
– Olimjon
May 4 '18 at 12:12
It is not exited by pressing Ctrl+Alt+F7.
– dilde olupbiten
May 4 '18 at 12:14
Which desktop environment are you selecting from the gear drop down menu next to theSifn In
button? The first four options don't work for me. Only the bottom option (Unity) works for me.
– WinEunuuchs2Unix
May 4 '18 at 12:16
I didn't see any options.
– dilde olupbiten
May 4 '18 at 12:18
add a comment |
Does it work if you press Ctrl+Alt+F7?
– Olimjon
May 4 '18 at 12:12
It is not exited by pressing Ctrl+Alt+F7.
– dilde olupbiten
May 4 '18 at 12:14
Which desktop environment are you selecting from the gear drop down menu next to theSifn In
button? The first four options don't work for me. Only the bottom option (Unity) works for me.
– WinEunuuchs2Unix
May 4 '18 at 12:16
I didn't see any options.
– dilde olupbiten
May 4 '18 at 12:18
Does it work if you press Ctrl+Alt+F7?
– Olimjon
May 4 '18 at 12:12
Does it work if you press Ctrl+Alt+F7?
– Olimjon
May 4 '18 at 12:12
It is not exited by pressing Ctrl+Alt+F7.
– dilde olupbiten
May 4 '18 at 12:14
It is not exited by pressing Ctrl+Alt+F7.
– dilde olupbiten
May 4 '18 at 12:14
Which desktop environment are you selecting from the gear drop down menu next to the
Sifn In
button? The first four options don't work for me. Only the bottom option (Unity) works for me.– WinEunuuchs2Unix
May 4 '18 at 12:16
Which desktop environment are you selecting from the gear drop down menu next to the
Sifn In
button? The first four options don't work for me. Only the bottom option (Unity) works for me.– WinEunuuchs2Unix
May 4 '18 at 12:16
I didn't see any options.
– dilde olupbiten
May 4 '18 at 12:18
I didn't see any options.
– dilde olupbiten
May 4 '18 at 12:18
add a comment |
1 Answer
1
active
oldest
votes
Try logging in to your default desktop environment from the tty virtual console. Login to the virtual console and run the following command.
sudo systemctl start graphical.target
If that doesn't work, switch the login display manager from gdm3 to lightdm.
sudo apt install lightdm
sudo dpkg-reconfigure lightdm
sudo reboot
sudo dpkg-reconfigure lightdm
will open up a new window allowing you to select lightdm as the default login display manager. Use the arrow keys to select lightdm and press the Tab key to put the focus on <OK> and press Enter. Then reboot by running this command: sudo reboot
If that doesn't work either see if you can at least switch to text mode (for troubleshooting purposes) with no GUI stuff like the X server running.
sudo systemctl start multi-user.target
sudo systemctl start graphical.target
doesn't work. Also aftersudo dpkg-reconfigure lightdm
nothing happened but a message was printed to the console. The message was /usr/sbin/dpkg-reconfigure: lightdm is corrupt or not fully installed.
– dilde olupbiten
May 4 '18 at 12:35
I didn't see your edited message which is about installing lightdm. I am going to try this immediately.
– dilde olupbiten
May 4 '18 at 12:38
If your lock screen goes low resolution (because of lightdm), please comment and I'll tell you how to restore the lock screen back to normal. The keyboard combination of Windows key+L may work for that better than clicking the padlock lockscreen icon.
– karel
May 4 '18 at 12:53
Thank you very much. But the resolution of lock screen is fine as before.
– dilde olupbiten
May 4 '18 at 20:47
I had the same problem, and followed the instructions on this answer. But now, when I try to log in with lightdm, all I get is "login failed". Any ideas?
– machetazo
Aug 27 '18 at 14:02
|
show 3 more comments
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%2f1031948%2fcant-start-ubuntu-desktop-after-upgrade-to-18-04%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 logging in to your default desktop environment from the tty virtual console. Login to the virtual console and run the following command.
sudo systemctl start graphical.target
If that doesn't work, switch the login display manager from gdm3 to lightdm.
sudo apt install lightdm
sudo dpkg-reconfigure lightdm
sudo reboot
sudo dpkg-reconfigure lightdm
will open up a new window allowing you to select lightdm as the default login display manager. Use the arrow keys to select lightdm and press the Tab key to put the focus on <OK> and press Enter. Then reboot by running this command: sudo reboot
If that doesn't work either see if you can at least switch to text mode (for troubleshooting purposes) with no GUI stuff like the X server running.
sudo systemctl start multi-user.target
sudo systemctl start graphical.target
doesn't work. Also aftersudo dpkg-reconfigure lightdm
nothing happened but a message was printed to the console. The message was /usr/sbin/dpkg-reconfigure: lightdm is corrupt or not fully installed.
– dilde olupbiten
May 4 '18 at 12:35
I didn't see your edited message which is about installing lightdm. I am going to try this immediately.
– dilde olupbiten
May 4 '18 at 12:38
If your lock screen goes low resolution (because of lightdm), please comment and I'll tell you how to restore the lock screen back to normal. The keyboard combination of Windows key+L may work for that better than clicking the padlock lockscreen icon.
– karel
May 4 '18 at 12:53
Thank you very much. But the resolution of lock screen is fine as before.
– dilde olupbiten
May 4 '18 at 20:47
I had the same problem, and followed the instructions on this answer. But now, when I try to log in with lightdm, all I get is "login failed". Any ideas?
– machetazo
Aug 27 '18 at 14:02
|
show 3 more comments
Try logging in to your default desktop environment from the tty virtual console. Login to the virtual console and run the following command.
sudo systemctl start graphical.target
If that doesn't work, switch the login display manager from gdm3 to lightdm.
sudo apt install lightdm
sudo dpkg-reconfigure lightdm
sudo reboot
sudo dpkg-reconfigure lightdm
will open up a new window allowing you to select lightdm as the default login display manager. Use the arrow keys to select lightdm and press the Tab key to put the focus on <OK> and press Enter. Then reboot by running this command: sudo reboot
If that doesn't work either see if you can at least switch to text mode (for troubleshooting purposes) with no GUI stuff like the X server running.
sudo systemctl start multi-user.target
sudo systemctl start graphical.target
doesn't work. Also aftersudo dpkg-reconfigure lightdm
nothing happened but a message was printed to the console. The message was /usr/sbin/dpkg-reconfigure: lightdm is corrupt or not fully installed.
– dilde olupbiten
May 4 '18 at 12:35
I didn't see your edited message which is about installing lightdm. I am going to try this immediately.
– dilde olupbiten
May 4 '18 at 12:38
If your lock screen goes low resolution (because of lightdm), please comment and I'll tell you how to restore the lock screen back to normal. The keyboard combination of Windows key+L may work for that better than clicking the padlock lockscreen icon.
– karel
May 4 '18 at 12:53
Thank you very much. But the resolution of lock screen is fine as before.
– dilde olupbiten
May 4 '18 at 20:47
I had the same problem, and followed the instructions on this answer. But now, when I try to log in with lightdm, all I get is "login failed". Any ideas?
– machetazo
Aug 27 '18 at 14:02
|
show 3 more comments
Try logging in to your default desktop environment from the tty virtual console. Login to the virtual console and run the following command.
sudo systemctl start graphical.target
If that doesn't work, switch the login display manager from gdm3 to lightdm.
sudo apt install lightdm
sudo dpkg-reconfigure lightdm
sudo reboot
sudo dpkg-reconfigure lightdm
will open up a new window allowing you to select lightdm as the default login display manager. Use the arrow keys to select lightdm and press the Tab key to put the focus on <OK> and press Enter. Then reboot by running this command: sudo reboot
If that doesn't work either see if you can at least switch to text mode (for troubleshooting purposes) with no GUI stuff like the X server running.
sudo systemctl start multi-user.target
Try logging in to your default desktop environment from the tty virtual console. Login to the virtual console and run the following command.
sudo systemctl start graphical.target
If that doesn't work, switch the login display manager from gdm3 to lightdm.
sudo apt install lightdm
sudo dpkg-reconfigure lightdm
sudo reboot
sudo dpkg-reconfigure lightdm
will open up a new window allowing you to select lightdm as the default login display manager. Use the arrow keys to select lightdm and press the Tab key to put the focus on <OK> and press Enter. Then reboot by running this command: sudo reboot
If that doesn't work either see if you can at least switch to text mode (for troubleshooting purposes) with no GUI stuff like the X server running.
sudo systemctl start multi-user.target
edited Dec 8 '18 at 11:22
answered May 4 '18 at 12:18
karelkarel
57.6k12128146
57.6k12128146
sudo systemctl start graphical.target
doesn't work. Also aftersudo dpkg-reconfigure lightdm
nothing happened but a message was printed to the console. The message was /usr/sbin/dpkg-reconfigure: lightdm is corrupt or not fully installed.
– dilde olupbiten
May 4 '18 at 12:35
I didn't see your edited message which is about installing lightdm. I am going to try this immediately.
– dilde olupbiten
May 4 '18 at 12:38
If your lock screen goes low resolution (because of lightdm), please comment and I'll tell you how to restore the lock screen back to normal. The keyboard combination of Windows key+L may work for that better than clicking the padlock lockscreen icon.
– karel
May 4 '18 at 12:53
Thank you very much. But the resolution of lock screen is fine as before.
– dilde olupbiten
May 4 '18 at 20:47
I had the same problem, and followed the instructions on this answer. But now, when I try to log in with lightdm, all I get is "login failed". Any ideas?
– machetazo
Aug 27 '18 at 14:02
|
show 3 more comments
sudo systemctl start graphical.target
doesn't work. Also aftersudo dpkg-reconfigure lightdm
nothing happened but a message was printed to the console. The message was /usr/sbin/dpkg-reconfigure: lightdm is corrupt or not fully installed.
– dilde olupbiten
May 4 '18 at 12:35
I didn't see your edited message which is about installing lightdm. I am going to try this immediately.
– dilde olupbiten
May 4 '18 at 12:38
If your lock screen goes low resolution (because of lightdm), please comment and I'll tell you how to restore the lock screen back to normal. The keyboard combination of Windows key+L may work for that better than clicking the padlock lockscreen icon.
– karel
May 4 '18 at 12:53
Thank you very much. But the resolution of lock screen is fine as before.
– dilde olupbiten
May 4 '18 at 20:47
I had the same problem, and followed the instructions on this answer. But now, when I try to log in with lightdm, all I get is "login failed". Any ideas?
– machetazo
Aug 27 '18 at 14:02
sudo systemctl start graphical.target
doesn't work. Also after sudo dpkg-reconfigure lightdm
nothing happened but a message was printed to the console. The message was /usr/sbin/dpkg-reconfigure: lightdm is corrupt or not fully installed.– dilde olupbiten
May 4 '18 at 12:35
sudo systemctl start graphical.target
doesn't work. Also after sudo dpkg-reconfigure lightdm
nothing happened but a message was printed to the console. The message was /usr/sbin/dpkg-reconfigure: lightdm is corrupt or not fully installed.– dilde olupbiten
May 4 '18 at 12:35
I didn't see your edited message which is about installing lightdm. I am going to try this immediately.
– dilde olupbiten
May 4 '18 at 12:38
I didn't see your edited message which is about installing lightdm. I am going to try this immediately.
– dilde olupbiten
May 4 '18 at 12:38
If your lock screen goes low resolution (because of lightdm), please comment and I'll tell you how to restore the lock screen back to normal. The keyboard combination of Windows key+L may work for that better than clicking the padlock lockscreen icon.
– karel
May 4 '18 at 12:53
If your lock screen goes low resolution (because of lightdm), please comment and I'll tell you how to restore the lock screen back to normal. The keyboard combination of Windows key+L may work for that better than clicking the padlock lockscreen icon.
– karel
May 4 '18 at 12:53
Thank you very much. But the resolution of lock screen is fine as before.
– dilde olupbiten
May 4 '18 at 20:47
Thank you very much. But the resolution of lock screen is fine as before.
– dilde olupbiten
May 4 '18 at 20:47
I had the same problem, and followed the instructions on this answer. But now, when I try to log in with lightdm, all I get is "login failed". Any ideas?
– machetazo
Aug 27 '18 at 14:02
I had the same problem, and followed the instructions on this answer. But now, when I try to log in with lightdm, all I get is "login failed". Any ideas?
– machetazo
Aug 27 '18 at 14:02
|
show 3 more comments
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%2f1031948%2fcant-start-ubuntu-desktop-after-upgrade-to-18-04%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
Does it work if you press Ctrl+Alt+F7?
– Olimjon
May 4 '18 at 12:12
It is not exited by pressing Ctrl+Alt+F7.
– dilde olupbiten
May 4 '18 at 12:14
Which desktop environment are you selecting from the gear drop down menu next to the
Sifn In
button? The first four options don't work for me. Only the bottom option (Unity) works for me.– WinEunuuchs2Unix
May 4 '18 at 12:16
I didn't see any options.
– dilde olupbiten
May 4 '18 at 12:18