Black screen after installing XDM on ubuntu… and I lost all of my settings
I'm on Ubuntu 17.04 and I recently installed the xdm
package by accident, thinking it stands for Xtreme Download Manager. Now I have a black screen on Ubuntu. Before I log in, a window appears and it says:
Welcome to Ubuntu
login:
password:
After logging in using this black screen, I tried this command:
unity --reset
The problem is, I have lost all of my settings after running this command. And secondly, I see this black screen every time I log in.
What should I do?
Is there a way to fix this problem without removing nvidia? like:
sudo apt-get remove nvidia-*
I also tried these commends:
sudo apt-get install ppa-purge
sudo ppa-purge ppa:unity-team/staging
sudo apt-get update
sudo apt-get install --reinstall ubuntu-desktop
sudo apt-get install unity
Nothing happened!
If it matters, note that in BIOS boot menu I chose legacy mode because I'm using Kali and Ubuntu (dual boot).
boot display-manager
add a comment |
I'm on Ubuntu 17.04 and I recently installed the xdm
package by accident, thinking it stands for Xtreme Download Manager. Now I have a black screen on Ubuntu. Before I log in, a window appears and it says:
Welcome to Ubuntu
login:
password:
After logging in using this black screen, I tried this command:
unity --reset
The problem is, I have lost all of my settings after running this command. And secondly, I see this black screen every time I log in.
What should I do?
Is there a way to fix this problem without removing nvidia? like:
sudo apt-get remove nvidia-*
I also tried these commends:
sudo apt-get install ppa-purge
sudo ppa-purge ppa:unity-team/staging
sudo apt-get update
sudo apt-get install --reinstall ubuntu-desktop
sudo apt-get install unity
Nothing happened!
If it matters, note that in BIOS boot menu I chose legacy mode because I'm using Kali and Ubuntu (dual boot).
boot display-manager
Tryexport DISPLAY:=0 unity --replace
to see what does it happen. Could be necessary to type Ctrl-Alt-F7 after that. Put ouput of this command at your question
– Redbob
Sep 13 '17 at 15:18
for this commend: export DISPLAY:=0 unity --replace ...terminal says:bash: export: 'DISPLAY:=0': not a valid identifier
bash: export: '--replace': not a valid identifier
– Sss
Sep 13 '17 at 15:23
I'm voting to reopen this question because in this case, according to their own answer, OP installed an additional display manager by accident, which has little to do with the linked question.
– David Foerster
Sep 15 '17 at 1:15
add a comment |
I'm on Ubuntu 17.04 and I recently installed the xdm
package by accident, thinking it stands for Xtreme Download Manager. Now I have a black screen on Ubuntu. Before I log in, a window appears and it says:
Welcome to Ubuntu
login:
password:
After logging in using this black screen, I tried this command:
unity --reset
The problem is, I have lost all of my settings after running this command. And secondly, I see this black screen every time I log in.
What should I do?
Is there a way to fix this problem without removing nvidia? like:
sudo apt-get remove nvidia-*
I also tried these commends:
sudo apt-get install ppa-purge
sudo ppa-purge ppa:unity-team/staging
sudo apt-get update
sudo apt-get install --reinstall ubuntu-desktop
sudo apt-get install unity
Nothing happened!
If it matters, note that in BIOS boot menu I chose legacy mode because I'm using Kali and Ubuntu (dual boot).
boot display-manager
I'm on Ubuntu 17.04 and I recently installed the xdm
package by accident, thinking it stands for Xtreme Download Manager. Now I have a black screen on Ubuntu. Before I log in, a window appears and it says:
Welcome to Ubuntu
login:
password:
After logging in using this black screen, I tried this command:
unity --reset
The problem is, I have lost all of my settings after running this command. And secondly, I see this black screen every time I log in.
What should I do?
Is there a way to fix this problem without removing nvidia? like:
sudo apt-get remove nvidia-*
I also tried these commends:
sudo apt-get install ppa-purge
sudo ppa-purge ppa:unity-team/staging
sudo apt-get update
sudo apt-get install --reinstall ubuntu-desktop
sudo apt-get install unity
Nothing happened!
If it matters, note that in BIOS boot menu I chose legacy mode because I'm using Kali and Ubuntu (dual boot).
boot display-manager
boot display-manager
edited Sep 15 '17 at 15:56
terdon♦
65.5k12138220
65.5k12138220
asked Sep 13 '17 at 15:00
SssSss
6334822
6334822
Tryexport DISPLAY:=0 unity --replace
to see what does it happen. Could be necessary to type Ctrl-Alt-F7 after that. Put ouput of this command at your question
– Redbob
Sep 13 '17 at 15:18
for this commend: export DISPLAY:=0 unity --replace ...terminal says:bash: export: 'DISPLAY:=0': not a valid identifier
bash: export: '--replace': not a valid identifier
– Sss
Sep 13 '17 at 15:23
I'm voting to reopen this question because in this case, according to their own answer, OP installed an additional display manager by accident, which has little to do with the linked question.
– David Foerster
Sep 15 '17 at 1:15
add a comment |
Tryexport DISPLAY:=0 unity --replace
to see what does it happen. Could be necessary to type Ctrl-Alt-F7 after that. Put ouput of this command at your question
– Redbob
Sep 13 '17 at 15:18
for this commend: export DISPLAY:=0 unity --replace ...terminal says:bash: export: 'DISPLAY:=0': not a valid identifier
bash: export: '--replace': not a valid identifier
– Sss
Sep 13 '17 at 15:23
I'm voting to reopen this question because in this case, according to their own answer, OP installed an additional display manager by accident, which has little to do with the linked question.
– David Foerster
Sep 15 '17 at 1:15
Try
export DISPLAY:=0 unity --replace
to see what does it happen. Could be necessary to type Ctrl-Alt-F7 after that. Put ouput of this command at your question– Redbob
Sep 13 '17 at 15:18
Try
export DISPLAY:=0 unity --replace
to see what does it happen. Could be necessary to type Ctrl-Alt-F7 after that. Put ouput of this command at your question– Redbob
Sep 13 '17 at 15:18
for this commend: export DISPLAY:=0 unity --replace ...terminal says:
bash: export: 'DISPLAY:=0': not a valid identifier
bash: export: '--replace': not a valid identifier
– Sss
Sep 13 '17 at 15:23
for this commend: export DISPLAY:=0 unity --replace ...terminal says:
bash: export: 'DISPLAY:=0': not a valid identifier
bash: export: '--replace': not a valid identifier
– Sss
Sep 13 '17 at 15:23
I'm voting to reopen this question because in this case, according to their own answer, OP installed an additional display manager by accident, which has little to do with the linked question.
– David Foerster
Sep 15 '17 at 1:15
I'm voting to reopen this question because in this case, according to their own answer, OP installed an additional display manager by accident, which has little to do with the linked question.
– David Foerster
Sep 15 '17 at 1:15
add a comment |
2 Answers
2
active
oldest
votes
So you installed another display manager by accident. The packages of the major display managers in Canonical's repositories come with configuration scripts run post installation that set them as the default display manager.
You can set a different default display manager with
sudo dpkg-reconfigure [package]
where [package]
is the name of the display manager package. For the “vanilla” flavour of Ubuntu 17.04 or earlier that is lightdm
.
You can also remove the accidentally installed display manager:
sudo apt remove xdm
This should trigger a reconfiguration of the default display manager to whichever is still installed (though I'm not entirely sure about this).
add a comment |
Found the solution... I needed to change XDM to LightDM or to gdm3.
I solved this by running these commands:
sudo apt-get install gdm3
To install gdm3
and choose gdm3
to replace XDM
Or:
sudo dpkg-reconfigure lightdm
To replace XDM with Lightdm
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%2f955486%2fblack-screen-after-installing-xdm-on-ubuntu-and-i-lost-all-of-my-settings%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
So you installed another display manager by accident. The packages of the major display managers in Canonical's repositories come with configuration scripts run post installation that set them as the default display manager.
You can set a different default display manager with
sudo dpkg-reconfigure [package]
where [package]
is the name of the display manager package. For the “vanilla” flavour of Ubuntu 17.04 or earlier that is lightdm
.
You can also remove the accidentally installed display manager:
sudo apt remove xdm
This should trigger a reconfiguration of the default display manager to whichever is still installed (though I'm not entirely sure about this).
add a comment |
So you installed another display manager by accident. The packages of the major display managers in Canonical's repositories come with configuration scripts run post installation that set them as the default display manager.
You can set a different default display manager with
sudo dpkg-reconfigure [package]
where [package]
is the name of the display manager package. For the “vanilla” flavour of Ubuntu 17.04 or earlier that is lightdm
.
You can also remove the accidentally installed display manager:
sudo apt remove xdm
This should trigger a reconfiguration of the default display manager to whichever is still installed (though I'm not entirely sure about this).
add a comment |
So you installed another display manager by accident. The packages of the major display managers in Canonical's repositories come with configuration scripts run post installation that set them as the default display manager.
You can set a different default display manager with
sudo dpkg-reconfigure [package]
where [package]
is the name of the display manager package. For the “vanilla” flavour of Ubuntu 17.04 or earlier that is lightdm
.
You can also remove the accidentally installed display manager:
sudo apt remove xdm
This should trigger a reconfiguration of the default display manager to whichever is still installed (though I'm not entirely sure about this).
So you installed another display manager by accident. The packages of the major display managers in Canonical's repositories come with configuration scripts run post installation that set them as the default display manager.
You can set a different default display manager with
sudo dpkg-reconfigure [package]
where [package]
is the name of the display manager package. For the “vanilla” flavour of Ubuntu 17.04 or earlier that is lightdm
.
You can also remove the accidentally installed display manager:
sudo apt remove xdm
This should trigger a reconfiguration of the default display manager to whichever is still installed (though I'm not entirely sure about this).
answered Sep 15 '17 at 17:11
David FoersterDavid Foerster
28k1365111
28k1365111
add a comment |
add a comment |
Found the solution... I needed to change XDM to LightDM or to gdm3.
I solved this by running these commands:
sudo apt-get install gdm3
To install gdm3
and choose gdm3
to replace XDM
Or:
sudo dpkg-reconfigure lightdm
To replace XDM with Lightdm
add a comment |
Found the solution... I needed to change XDM to LightDM or to gdm3.
I solved this by running these commands:
sudo apt-get install gdm3
To install gdm3
and choose gdm3
to replace XDM
Or:
sudo dpkg-reconfigure lightdm
To replace XDM with Lightdm
add a comment |
Found the solution... I needed to change XDM to LightDM or to gdm3.
I solved this by running these commands:
sudo apt-get install gdm3
To install gdm3
and choose gdm3
to replace XDM
Or:
sudo dpkg-reconfigure lightdm
To replace XDM with Lightdm
Found the solution... I needed to change XDM to LightDM or to gdm3.
I solved this by running these commands:
sudo apt-get install gdm3
To install gdm3
and choose gdm3
to replace XDM
Or:
sudo dpkg-reconfigure lightdm
To replace XDM with Lightdm
edited Sep 15 '17 at 15:25
Zanna
50.6k13135241
50.6k13135241
answered Sep 13 '17 at 22:18
SssSss
6334822
6334822
add a comment |
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%2f955486%2fblack-screen-after-installing-xdm-on-ubuntu-and-i-lost-all-of-my-settings%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
Try
export DISPLAY:=0 unity --replace
to see what does it happen. Could be necessary to type Ctrl-Alt-F7 after that. Put ouput of this command at your question– Redbob
Sep 13 '17 at 15:18
for this commend: export DISPLAY:=0 unity --replace ...terminal says:
bash: export: 'DISPLAY:=0': not a valid identifier
bash: export: '--replace': not a valid identifier
– Sss
Sep 13 '17 at 15:23
I'm voting to reopen this question because in this case, according to their own answer, OP installed an additional display manager by accident, which has little to do with the linked question.
– David Foerster
Sep 15 '17 at 1:15