How can I remove "Ubuntu Netbook Edition" option from the GDM session menu?
772
I was trying out Unity and then I uninstalled it but there is still an Ubuntu Netbook Edition option in the GDM session list. Accidentally clicking on that causes the user to log in to a broken desktop. How can I remove it from the list?
Go to the Ubuntu Software Center and use the search box in the upper right corner. Search for ubuntu-netbook and remove the packages ubuntu-netbook and ubuntu-netbook-default-settings.
The list is populated by looking at the contents of the /usr/share/xsessions directory. In here you’ll find files with the .desktop extension (extension hidden in some file managers, press CTRL+H). As these files are in a system folder, you will need root privileges to change or delete them.
After upgrading from Ubuntu 10.10 Lucid Lynx (10.10) Netbook Edition to Ubuntu 11.04 Natty Narwhal, the upgrade process does not remove the ubuntu-netbook and ubuntu-netbook-default-settings packages. Subsequent login attempts result in a broken desktop being displayed with background but no panels whatsoever.
In order to fix this problem, press CTRL+ALT+DEL and select the Restart option. When logging in after restart, after selecting a username, select Ubuntu session option from the drop-down box in the bottom bar. This will start the Natty's default session with Unity.
Next, run the following command in a Terminal window in order to remove the non-working option from the session list.
Go to the Ubuntu Software Center and use the search box in the upper right corner. Search for ubuntu-netbook and remove the packages
ubuntu-netbook
andubuntu-netbook-default-settings
.The list is populated by looking at the contents of the
/usr/share/xsessions
directory. In here you’ll find files with the.desktop
extension (extension hidden in some file managers, press CTRL+H). As these files are in a system folder, you will need root privileges to change or delete them.After upgrading from Ubuntu 10.10 Lucid Lynx (10.10) Netbook Edition to Ubuntu 11.04 Natty Narwhal, the upgrade process does not remove the ubuntu-netbook and ubuntu-netbook-default-settings packages. Subsequent login attempts result in a broken desktop being displayed with background but no panels whatsoever.
In order to fix this problem, press CTRL+ALT+DEL and select the Restart option. When logging in after restart, after selecting a username, select Ubuntu session option from the drop-down box in the bottom bar. This will start the Natty's default session with Unity.
Next, run the following command in a Terminal window in order to remove the non-working option from the session list.