Make ubuntu gui login work regardless of home folder content

Bug #1020944 reported by Patrik Gustafsson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Light Display Manager
New
Undecided
Unassigned
Unity
Invalid
Undecided
Unassigned
gnome-session (Ubuntu)
New
Undecided
Unassigned
unity (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

It should be easy to keep a home folder for a user when doing an installation or to swap home folder.
Login should always work to some degree regardless of what errors might exist in a users home folder.

Expected:
When login in to an account i should be logged in.

What happends:
When login in to an account i get returned to login screen.

Workarund:
"Very bizarre situation you have their. My best advice to this would create a new user from TTY1 (terminal) using the command adduser.

sudo adduser newuser
If you are able to login with the newuser account, then just copy the files out of /home/newuser into your home folder. Also, if you have to copy the files as root, make sure you correct the file ownerships.

sudo cp -a /home/newuser/. /home/myname/
sudo chown -R myname:myname /home/myname"
- Sepero from http://askubuntu.com/questions/158441/what-files-do-i-need-in-my-home-to-login-in-to-unity

Possible Solution:
Have fall back settings that is used if login is not possible because the /home-folder is corrupt or missing required files..

lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04

apt-cache policy unity
unity:
  Installed: 5.12-0ubuntu1.1
  Candidate: 5.12-0ubuntu1.1
  Version table:
 *** 5.12-0ubuntu1.1 0
        500 http://se.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     5.10.0-0ubuntu6 0
        500 http://se.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

I thought of this as a new feature so i first filed it against brainstorm. But it was rejected as being a bug:
http://brainstorm.ubuntu.com/idea/29920/

Revision history for this message
Andrea Azzarone (azzar1) wrote :

Should not be an Unity problem. Probably lightdm or gnome-session.

no longer affects: gnome-session
Changed in unity:
status: New → Invalid
Changed in unity (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.