PDA

View Full Version : [ubuntu] Reset desktop choice



ELD
April 5th, 2013, 06:18 PM
So I have done a fresh install of 13.04 beta, is there a way to reset my users default desktop choice as my user seems to try to login to a desktop (Cinnamon) that doesn't exist.

This is as a result of using my previous /home that I had partitioned.

carl4926
April 5th, 2013, 06:25 PM
I'd probably go in with one of my parallel installs and delete all the hidden files and folder (except the ones I need and know are OK to leave)
If you don't have another Linux install in the system, you can do it with Parted Magic

stinkeye
April 5th, 2013, 08:32 PM
I believe you need to edit /var/lib/AccountsService/users/$USER

eg mine is /var/lib/AccountsService/users/glen

List your installed sessions

ls /usr/share/xsessions

and edit /var/lib/AccountsService/users/$USER
to your chosen session.

gksudo gedit /var/lib/AccountsService/users/$USER


eg my file

glen@Raring:~$ cat /var/lib/AccountsService/users/glen
[User]
Language=en_AU
XSession=ubuntu
XKeyboardLayouts=
Background=/home/glen/Pictures/coffee.jpeg

zika
April 5th, 2013, 08:39 PM
So I have done a fresh install of 13.04 beta, is there a way to reset my users default desktop choice as my user seems to try to login to a desktop (Cinnamon) that doesn't exist.

This is as a result of using my previous /home that I had partitioned.If I got Your question right:

1. get out of {lightdm,gdm} to tty1 (AltCtrlF1)
2.1 (if You use LightDM) disable autologin in /etc/lightdm/lightdm.conf
2.2 (if You use GDM) disable autologin in /etc/gdm/custom.conf
3. restart GDM
sudo service {lightdm,gdm} restart
4. choose another WM and You're OK...