Remove Entries from Login Settings menu












1















I wanted to know about removing the entries while logging in as they seem to be causing problems.



I only want to keep Gnome Classic and remove others.



Moreover, I seem to have messed up with the setup that points to Ubuntu entry so need to get it out of there.



login screen options



Edit 1:



As mentioned by PRATAP I have found the .desktop files for the corresponding sessions.



Also, instead of deleting the files, i have added the



.bak


suffix.
 xsessions










share|improve this question

























  • seems you have manually deleted some sessions from files.. you can remove the other two entries also..

    – PRATAP
    Mar 17 at 15:37













  • As far as I remember, I deleted the extension under /usr/share/gnome-shell/extentions path that had the name of Ubuntu Dash. Maybe that is causing an issue with selecting Ubuntu from the above menu. It goes in a login loop. I want to get rid of the entries now.

    – Logan
    Mar 17 at 15:39











  • oh ok, can you access console by ctrl+alt+f2 or f3 or f4 then run commands in the answer below

    – PRATAP
    Mar 17 at 15:40
















1















I wanted to know about removing the entries while logging in as they seem to be causing problems.



I only want to keep Gnome Classic and remove others.



Moreover, I seem to have messed up with the setup that points to Ubuntu entry so need to get it out of there.



login screen options



Edit 1:



As mentioned by PRATAP I have found the .desktop files for the corresponding sessions.



Also, instead of deleting the files, i have added the



.bak


suffix.
 xsessions










share|improve this question

























  • seems you have manually deleted some sessions from files.. you can remove the other two entries also..

    – PRATAP
    Mar 17 at 15:37













  • As far as I remember, I deleted the extension under /usr/share/gnome-shell/extentions path that had the name of Ubuntu Dash. Maybe that is causing an issue with selecting Ubuntu from the above menu. It goes in a login loop. I want to get rid of the entries now.

    – Logan
    Mar 17 at 15:39











  • oh ok, can you access console by ctrl+alt+f2 or f3 or f4 then run commands in the answer below

    – PRATAP
    Mar 17 at 15:40














1












1








1








I wanted to know about removing the entries while logging in as they seem to be causing problems.



I only want to keep Gnome Classic and remove others.



Moreover, I seem to have messed up with the setup that points to Ubuntu entry so need to get it out of there.



login screen options



Edit 1:



As mentioned by PRATAP I have found the .desktop files for the corresponding sessions.



Also, instead of deleting the files, i have added the



.bak


suffix.
 xsessions










share|improve this question
















I wanted to know about removing the entries while logging in as they seem to be causing problems.



I only want to keep Gnome Classic and remove others.



Moreover, I seem to have messed up with the setup that points to Ubuntu entry so need to get it out of there.



login screen options



Edit 1:



As mentioned by PRATAP I have found the .desktop files for the corresponding sessions.



Also, instead of deleting the files, i have added the



.bak


suffix.
 xsessions







18.04 gnome-shell gdm






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 17 at 16:18







Logan

















asked Mar 17 at 15:06









LoganLogan

322319




322319













  • seems you have manually deleted some sessions from files.. you can remove the other two entries also..

    – PRATAP
    Mar 17 at 15:37













  • As far as I remember, I deleted the extension under /usr/share/gnome-shell/extentions path that had the name of Ubuntu Dash. Maybe that is causing an issue with selecting Ubuntu from the above menu. It goes in a login loop. I want to get rid of the entries now.

    – Logan
    Mar 17 at 15:39











  • oh ok, can you access console by ctrl+alt+f2 or f3 or f4 then run commands in the answer below

    – PRATAP
    Mar 17 at 15:40



















  • seems you have manually deleted some sessions from files.. you can remove the other two entries also..

    – PRATAP
    Mar 17 at 15:37













  • As far as I remember, I deleted the extension under /usr/share/gnome-shell/extentions path that had the name of Ubuntu Dash. Maybe that is causing an issue with selecting Ubuntu from the above menu. It goes in a login loop. I want to get rid of the entries now.

    – Logan
    Mar 17 at 15:39











  • oh ok, can you access console by ctrl+alt+f2 or f3 or f4 then run commands in the answer below

    – PRATAP
    Mar 17 at 15:40

















seems you have manually deleted some sessions from files.. you can remove the other two entries also..

– PRATAP
Mar 17 at 15:37







seems you have manually deleted some sessions from files.. you can remove the other two entries also..

– PRATAP
Mar 17 at 15:37















As far as I remember, I deleted the extension under /usr/share/gnome-shell/extentions path that had the name of Ubuntu Dash. Maybe that is causing an issue with selecting Ubuntu from the above menu. It goes in a login loop. I want to get rid of the entries now.

– Logan
Mar 17 at 15:39





As far as I remember, I deleted the extension under /usr/share/gnome-shell/extentions path that had the name of Ubuntu Dash. Maybe that is causing an issue with selecting Ubuntu from the above menu. It goes in a login loop. I want to get rid of the entries now.

– Logan
Mar 17 at 15:39













oh ok, can you access console by ctrl+alt+f2 or f3 or f4 then run commands in the answer below

– PRATAP
Mar 17 at 15:40





oh ok, can you access console by ctrl+alt+f2 or f3 or f4 then run commands in the answer below

– PRATAP
Mar 17 at 15:40










1 Answer
1






active

oldest

votes


















1














Run the below commands to keep only Gnome-Classic session and remove other sessions completely..



sudo apt purge gnome-session
sudo apt purge ubuntu-session
sudo apt autoremove && sudo apt autoclean
sudo apt install ubuntu-desktop



Still you will have Ubuntu and Ubuntu on wayland entries along with gnome-classic..
those things can be removed manually..



the sessions are stored in /usr/share/xsessions/ and /usr/share/wayland-sessions/ but removing them manually is not suggested as some other dependent files will still be there in other folders.



i have manually deleted the files just to let you know the situation but it is not recommended..



enter image description here



enter image description here



enter image description here



enter image description here



in the above pic there is no gear-icon meaning i have only one session..






share|improve this answer


























  • Thank you. But I want to know the part of removing the entries manually.

    – Logan
    Mar 17 at 15:42











  • sure i will update the answer..but since you have a login loop.. you need to purge ubuntu-session and then install ubuntu-desktop

    – PRATAP
    Mar 17 at 15:42













  • Thanks. I went through the config files for gdm under etc folder but did not find anything related to entries under that cog on login screen. Hence, turned to Ask Ubuntu for help.

    – Logan
    Mar 17 at 15:49











  • That was helpful. Thanks a lot. Moreover, I just printed the contents of those files using cat command. These are basically .desktop files. I guess I will have to uninstall whatever is mentioned in front of Exec in that file. Can you check once?

    – Logan
    Mar 17 at 16:13











  • you can simply cut and save them in your home folder if you want them in future..

    – PRATAP
    Mar 17 at 16:20














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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1126411%2fremove-entries-from-login-settings-menu%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









1














Run the below commands to keep only Gnome-Classic session and remove other sessions completely..



sudo apt purge gnome-session
sudo apt purge ubuntu-session
sudo apt autoremove && sudo apt autoclean
sudo apt install ubuntu-desktop



Still you will have Ubuntu and Ubuntu on wayland entries along with gnome-classic..
those things can be removed manually..



the sessions are stored in /usr/share/xsessions/ and /usr/share/wayland-sessions/ but removing them manually is not suggested as some other dependent files will still be there in other folders.



i have manually deleted the files just to let you know the situation but it is not recommended..



enter image description here



enter image description here



enter image description here



enter image description here



in the above pic there is no gear-icon meaning i have only one session..






share|improve this answer


























  • Thank you. But I want to know the part of removing the entries manually.

    – Logan
    Mar 17 at 15:42











  • sure i will update the answer..but since you have a login loop.. you need to purge ubuntu-session and then install ubuntu-desktop

    – PRATAP
    Mar 17 at 15:42













  • Thanks. I went through the config files for gdm under etc folder but did not find anything related to entries under that cog on login screen. Hence, turned to Ask Ubuntu for help.

    – Logan
    Mar 17 at 15:49











  • That was helpful. Thanks a lot. Moreover, I just printed the contents of those files using cat command. These are basically .desktop files. I guess I will have to uninstall whatever is mentioned in front of Exec in that file. Can you check once?

    – Logan
    Mar 17 at 16:13











  • you can simply cut and save them in your home folder if you want them in future..

    – PRATAP
    Mar 17 at 16:20


















1














Run the below commands to keep only Gnome-Classic session and remove other sessions completely..



sudo apt purge gnome-session
sudo apt purge ubuntu-session
sudo apt autoremove && sudo apt autoclean
sudo apt install ubuntu-desktop



Still you will have Ubuntu and Ubuntu on wayland entries along with gnome-classic..
those things can be removed manually..



the sessions are stored in /usr/share/xsessions/ and /usr/share/wayland-sessions/ but removing them manually is not suggested as some other dependent files will still be there in other folders.



i have manually deleted the files just to let you know the situation but it is not recommended..



enter image description here



enter image description here



enter image description here



enter image description here



in the above pic there is no gear-icon meaning i have only one session..






share|improve this answer


























  • Thank you. But I want to know the part of removing the entries manually.

    – Logan
    Mar 17 at 15:42











  • sure i will update the answer..but since you have a login loop.. you need to purge ubuntu-session and then install ubuntu-desktop

    – PRATAP
    Mar 17 at 15:42













  • Thanks. I went through the config files for gdm under etc folder but did not find anything related to entries under that cog on login screen. Hence, turned to Ask Ubuntu for help.

    – Logan
    Mar 17 at 15:49











  • That was helpful. Thanks a lot. Moreover, I just printed the contents of those files using cat command. These are basically .desktop files. I guess I will have to uninstall whatever is mentioned in front of Exec in that file. Can you check once?

    – Logan
    Mar 17 at 16:13











  • you can simply cut and save them in your home folder if you want them in future..

    – PRATAP
    Mar 17 at 16:20
















1












1








1







Run the below commands to keep only Gnome-Classic session and remove other sessions completely..



sudo apt purge gnome-session
sudo apt purge ubuntu-session
sudo apt autoremove && sudo apt autoclean
sudo apt install ubuntu-desktop



Still you will have Ubuntu and Ubuntu on wayland entries along with gnome-classic..
those things can be removed manually..



the sessions are stored in /usr/share/xsessions/ and /usr/share/wayland-sessions/ but removing them manually is not suggested as some other dependent files will still be there in other folders.



i have manually deleted the files just to let you know the situation but it is not recommended..



enter image description here



enter image description here



enter image description here



enter image description here



in the above pic there is no gear-icon meaning i have only one session..






share|improve this answer















Run the below commands to keep only Gnome-Classic session and remove other sessions completely..



sudo apt purge gnome-session
sudo apt purge ubuntu-session
sudo apt autoremove && sudo apt autoclean
sudo apt install ubuntu-desktop



Still you will have Ubuntu and Ubuntu on wayland entries along with gnome-classic..
those things can be removed manually..



the sessions are stored in /usr/share/xsessions/ and /usr/share/wayland-sessions/ but removing them manually is not suggested as some other dependent files will still be there in other folders.



i have manually deleted the files just to let you know the situation but it is not recommended..



enter image description here



enter image description here



enter image description here



enter image description here



in the above pic there is no gear-icon meaning i have only one session..







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 17 at 16:57

























answered Mar 17 at 15:41









PRATAPPRATAP

3,3402931




3,3402931













  • Thank you. But I want to know the part of removing the entries manually.

    – Logan
    Mar 17 at 15:42











  • sure i will update the answer..but since you have a login loop.. you need to purge ubuntu-session and then install ubuntu-desktop

    – PRATAP
    Mar 17 at 15:42













  • Thanks. I went through the config files for gdm under etc folder but did not find anything related to entries under that cog on login screen. Hence, turned to Ask Ubuntu for help.

    – Logan
    Mar 17 at 15:49











  • That was helpful. Thanks a lot. Moreover, I just printed the contents of those files using cat command. These are basically .desktop files. I guess I will have to uninstall whatever is mentioned in front of Exec in that file. Can you check once?

    – Logan
    Mar 17 at 16:13











  • you can simply cut and save them in your home folder if you want them in future..

    – PRATAP
    Mar 17 at 16:20





















  • Thank you. But I want to know the part of removing the entries manually.

    – Logan
    Mar 17 at 15:42











  • sure i will update the answer..but since you have a login loop.. you need to purge ubuntu-session and then install ubuntu-desktop

    – PRATAP
    Mar 17 at 15:42













  • Thanks. I went through the config files for gdm under etc folder but did not find anything related to entries under that cog on login screen. Hence, turned to Ask Ubuntu for help.

    – Logan
    Mar 17 at 15:49











  • That was helpful. Thanks a lot. Moreover, I just printed the contents of those files using cat command. These are basically .desktop files. I guess I will have to uninstall whatever is mentioned in front of Exec in that file. Can you check once?

    – Logan
    Mar 17 at 16:13











  • you can simply cut and save them in your home folder if you want them in future..

    – PRATAP
    Mar 17 at 16:20



















Thank you. But I want to know the part of removing the entries manually.

– Logan
Mar 17 at 15:42





Thank you. But I want to know the part of removing the entries manually.

– Logan
Mar 17 at 15:42













sure i will update the answer..but since you have a login loop.. you need to purge ubuntu-session and then install ubuntu-desktop

– PRATAP
Mar 17 at 15:42







sure i will update the answer..but since you have a login loop.. you need to purge ubuntu-session and then install ubuntu-desktop

– PRATAP
Mar 17 at 15:42















Thanks. I went through the config files for gdm under etc folder but did not find anything related to entries under that cog on login screen. Hence, turned to Ask Ubuntu for help.

– Logan
Mar 17 at 15:49





Thanks. I went through the config files for gdm under etc folder but did not find anything related to entries under that cog on login screen. Hence, turned to Ask Ubuntu for help.

– Logan
Mar 17 at 15:49













That was helpful. Thanks a lot. Moreover, I just printed the contents of those files using cat command. These are basically .desktop files. I guess I will have to uninstall whatever is mentioned in front of Exec in that file. Can you check once?

– Logan
Mar 17 at 16:13





That was helpful. Thanks a lot. Moreover, I just printed the contents of those files using cat command. These are basically .desktop files. I guess I will have to uninstall whatever is mentioned in front of Exec in that file. Can you check once?

– Logan
Mar 17 at 16:13













you can simply cut and save them in your home folder if you want them in future..

– PRATAP
Mar 17 at 16:20







you can simply cut and save them in your home folder if you want them in future..

– PRATAP
Mar 17 at 16:20




















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1126411%2fremove-entries-from-login-settings-menu%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局