GUI on ubuntu randomly stops working
I was working on Ubuntu (Dual booting Ubuntu and windows) and i was installing python when i found out that the web browsers icon had disappear. After that happened i also found out that I couldn't open terminal any more and also some other apps like Ubuntu store. I decided to restart my PC and I booted into Ubuntu and it showed the loading screen but then i get greeted with a terminal and I cant manage to enable the GUI.
Cheers
command-line gui
add a comment |
I was working on Ubuntu (Dual booting Ubuntu and windows) and i was installing python when i found out that the web browsers icon had disappear. After that happened i also found out that I couldn't open terminal any more and also some other apps like Ubuntu store. I decided to restart my PC and I booted into Ubuntu and it showed the loading screen but then i get greeted with a terminal and I cant manage to enable the GUI.
Cheers
command-line gui
1
"i was installing python" how exactly? python is already installed on Ubuntu out of the box, and parts of the system depend critically on it - messing with the default version can cause serious problems
– steeldriver
Feb 9 at 14:28
sudo apt-get install python3 or something like that
– Code Chapter
Feb 9 at 14:29
I uninstalled it and reinstalled it
– Code Chapter
Feb 9 at 14:30
If so how can i fix it?
– Code Chapter
Feb 9 at 14:30
1
If you just (re)installed the default version of python3 from the repository then that shouldn't have harmed anything - we will need to look elsewhere for the problem
– steeldriver
Feb 9 at 14:42
add a comment |
I was working on Ubuntu (Dual booting Ubuntu and windows) and i was installing python when i found out that the web browsers icon had disappear. After that happened i also found out that I couldn't open terminal any more and also some other apps like Ubuntu store. I decided to restart my PC and I booted into Ubuntu and it showed the loading screen but then i get greeted with a terminal and I cant manage to enable the GUI.
Cheers
command-line gui
I was working on Ubuntu (Dual booting Ubuntu and windows) and i was installing python when i found out that the web browsers icon had disappear. After that happened i also found out that I couldn't open terminal any more and also some other apps like Ubuntu store. I decided to restart my PC and I booted into Ubuntu and it showed the loading screen but then i get greeted with a terminal and I cant manage to enable the GUI.
Cheers
command-line gui
command-line gui
asked Feb 9 at 14:24
Code ChapterCode Chapter
12
12
1
"i was installing python" how exactly? python is already installed on Ubuntu out of the box, and parts of the system depend critically on it - messing with the default version can cause serious problems
– steeldriver
Feb 9 at 14:28
sudo apt-get install python3 or something like that
– Code Chapter
Feb 9 at 14:29
I uninstalled it and reinstalled it
– Code Chapter
Feb 9 at 14:30
If so how can i fix it?
– Code Chapter
Feb 9 at 14:30
1
If you just (re)installed the default version of python3 from the repository then that shouldn't have harmed anything - we will need to look elsewhere for the problem
– steeldriver
Feb 9 at 14:42
add a comment |
1
"i was installing python" how exactly? python is already installed on Ubuntu out of the box, and parts of the system depend critically on it - messing with the default version can cause serious problems
– steeldriver
Feb 9 at 14:28
sudo apt-get install python3 or something like that
– Code Chapter
Feb 9 at 14:29
I uninstalled it and reinstalled it
– Code Chapter
Feb 9 at 14:30
If so how can i fix it?
– Code Chapter
Feb 9 at 14:30
1
If you just (re)installed the default version of python3 from the repository then that shouldn't have harmed anything - we will need to look elsewhere for the problem
– steeldriver
Feb 9 at 14:42
1
1
"i was installing python" how exactly? python is already installed on Ubuntu out of the box, and parts of the system depend critically on it - messing with the default version can cause serious problems
– steeldriver
Feb 9 at 14:28
"i was installing python" how exactly? python is already installed on Ubuntu out of the box, and parts of the system depend critically on it - messing with the default version can cause serious problems
– steeldriver
Feb 9 at 14:28
sudo apt-get install python3 or something like that
– Code Chapter
Feb 9 at 14:29
sudo apt-get install python3 or something like that
– Code Chapter
Feb 9 at 14:29
I uninstalled it and reinstalled it
– Code Chapter
Feb 9 at 14:30
I uninstalled it and reinstalled it
– Code Chapter
Feb 9 at 14:30
If so how can i fix it?
– Code Chapter
Feb 9 at 14:30
If so how can i fix it?
– Code Chapter
Feb 9 at 14:30
1
1
If you just (re)installed the default version of python3 from the repository then that shouldn't have harmed anything - we will need to look elsewhere for the problem
– steeldriver
Feb 9 at 14:42
If you just (re)installed the default version of python3 from the repository then that shouldn't have harmed anything - we will need to look elsewhere for the problem
– steeldriver
Feb 9 at 14:42
add a comment |
1 Answer
1
active
oldest
votes
Please check, if the gdm-service is running:
sudo systemctl status gdm
(This service handles graphical user logins.)
If not, try to start it with following command:
sudo systemctl start gdm
Now you should at least be able to log in into GNOME.
If so, open up a terminal (if possible) and enable the gdm service, that you don't have to start it manually at the next boot:
sudo systemctl enable gdm
When i boot it goes straight to a terminal and prompts me for login and password. Ill check that your answer work
– Code Chapter
Feb 10 at 1:25
I did "sudo systemct1 status gdm" and it wasnt recognized as a command or program
– Code Chapter
Feb 10 at 1:28
Sorry, should have asked earlier: Which Ubuntu version are you using?
– Dominik K
Feb 10 at 15:02
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%2f1116937%2fgui-on-ubuntu-randomly-stops-working%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
Please check, if the gdm-service is running:
sudo systemctl status gdm
(This service handles graphical user logins.)
If not, try to start it with following command:
sudo systemctl start gdm
Now you should at least be able to log in into GNOME.
If so, open up a terminal (if possible) and enable the gdm service, that you don't have to start it manually at the next boot:
sudo systemctl enable gdm
When i boot it goes straight to a terminal and prompts me for login and password. Ill check that your answer work
– Code Chapter
Feb 10 at 1:25
I did "sudo systemct1 status gdm" and it wasnt recognized as a command or program
– Code Chapter
Feb 10 at 1:28
Sorry, should have asked earlier: Which Ubuntu version are you using?
– Dominik K
Feb 10 at 15:02
add a comment |
Please check, if the gdm-service is running:
sudo systemctl status gdm
(This service handles graphical user logins.)
If not, try to start it with following command:
sudo systemctl start gdm
Now you should at least be able to log in into GNOME.
If so, open up a terminal (if possible) and enable the gdm service, that you don't have to start it manually at the next boot:
sudo systemctl enable gdm
When i boot it goes straight to a terminal and prompts me for login and password. Ill check that your answer work
– Code Chapter
Feb 10 at 1:25
I did "sudo systemct1 status gdm" and it wasnt recognized as a command or program
– Code Chapter
Feb 10 at 1:28
Sorry, should have asked earlier: Which Ubuntu version are you using?
– Dominik K
Feb 10 at 15:02
add a comment |
Please check, if the gdm-service is running:
sudo systemctl status gdm
(This service handles graphical user logins.)
If not, try to start it with following command:
sudo systemctl start gdm
Now you should at least be able to log in into GNOME.
If so, open up a terminal (if possible) and enable the gdm service, that you don't have to start it manually at the next boot:
sudo systemctl enable gdm
Please check, if the gdm-service is running:
sudo systemctl status gdm
(This service handles graphical user logins.)
If not, try to start it with following command:
sudo systemctl start gdm
Now you should at least be able to log in into GNOME.
If so, open up a terminal (if possible) and enable the gdm service, that you don't have to start it manually at the next boot:
sudo systemctl enable gdm
answered Feb 9 at 14:43
Dominik KDominik K
1763
1763
When i boot it goes straight to a terminal and prompts me for login and password. Ill check that your answer work
– Code Chapter
Feb 10 at 1:25
I did "sudo systemct1 status gdm" and it wasnt recognized as a command or program
– Code Chapter
Feb 10 at 1:28
Sorry, should have asked earlier: Which Ubuntu version are you using?
– Dominik K
Feb 10 at 15:02
add a comment |
When i boot it goes straight to a terminal and prompts me for login and password. Ill check that your answer work
– Code Chapter
Feb 10 at 1:25
I did "sudo systemct1 status gdm" and it wasnt recognized as a command or program
– Code Chapter
Feb 10 at 1:28
Sorry, should have asked earlier: Which Ubuntu version are you using?
– Dominik K
Feb 10 at 15:02
When i boot it goes straight to a terminal and prompts me for login and password. Ill check that your answer work
– Code Chapter
Feb 10 at 1:25
When i boot it goes straight to a terminal and prompts me for login and password. Ill check that your answer work
– Code Chapter
Feb 10 at 1:25
I did "sudo systemct1 status gdm" and it wasnt recognized as a command or program
– Code Chapter
Feb 10 at 1:28
I did "sudo systemct1 status gdm" and it wasnt recognized as a command or program
– Code Chapter
Feb 10 at 1:28
Sorry, should have asked earlier: Which Ubuntu version are you using?
– Dominik K
Feb 10 at 15:02
Sorry, should have asked earlier: Which Ubuntu version are you using?
– Dominik K
Feb 10 at 15:02
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%2f1116937%2fgui-on-ubuntu-randomly-stops-working%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
1
"i was installing python" how exactly? python is already installed on Ubuntu out of the box, and parts of the system depend critically on it - messing with the default version can cause serious problems
– steeldriver
Feb 9 at 14:28
sudo apt-get install python3 or something like that
– Code Chapter
Feb 9 at 14:29
I uninstalled it and reinstalled it
– Code Chapter
Feb 9 at 14:30
If so how can i fix it?
– Code Chapter
Feb 9 at 14:30
1
If you just (re)installed the default version of python3 from the repository then that shouldn't have harmed anything - we will need to look elsewhere for the problem
– steeldriver
Feb 9 at 14:42