Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I created backup of ~/. with TAR by the command-line. I excluded folders like /proc, /sys etc.

But I included the /home folder because there are some important configuration files for settings of some apps (Firefox, VLC, installed fonts, etc).

I restored the backup with live-cd and I booted without problems to the login screen where I can select my user. But I can't login a non-GUI terminal appears and says Could not write bytes: Broken pipe. I deleted .Xauthority, checked .xsession-errors for errors and nothing happens.

I have used chown and chmod to own the files of my home directory, but the problem is still here.

The problem is that I can't login to the Guest, too. I can't login even if I create new user.

The problem may be everywhere. Any suggestions? Thank you!

share|improve this question
    
Please provide the information about all the directories you did backup. Normally, you had to backup only /home folder. –  Danatela Sep 2 '13 at 9:46
    
Just curious, how did you create a new user? –  Jobin Sep 2 '13 at 9:48
    
@Danatela, I backed up all dirs from ~/. except /proc, /sys, /mnt, /media, /run, /dev, /lost+found, /tmp. In the past I was backing up only the /home folder but now I wanted to back up everything because I have many new installed apps and other changes in the root dirs (I know I can create customized live-cd with UCK, but the backup with TAR is faster for restoring and easy - with a few commands). –  Иван Иванов Sep 2 '13 at 10:00
    
@Jobin, I use sudo useradd -c "user" -m -s "/bin/bash" user --groups sudo, followed by sudo passwd user. Then I use chown and chmod to own the files by the newly created user and login. –  Иван Иванов Sep 2 '13 at 10:02
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.