Ubuntu Installation :: Restore The Home/username File To A Default State?
Jul 1, 2010
System Specs:
CPU: Intel Core2 Quad Extreme X9450
Memory: 4GB, Patriot DDR3 PC3-10666 1333Mhz
MoBo: ASUS P5E3 Delux
OpSys: Ubuntu 10.4 (64Bit)
Short Description: I wanted to see what would happen if I upgraded from Kubuntu 8.04 (32bit) to Ubuntu 10.4 (64bit) by copying my home directory then restoring it after the upgrade. It almost worked sans a few interesting problems that I'm hoping might teach me a bit more about how Ubuntu works.
Detailed Description:
1. I copied my home directory to another hard disk.
2. I let the installation disk for Ubuntu 10.4 (64bit) reformat and overwrite the disk that contained Kubuntu 8.04 (32bit) and chose to maintain the partition and swap size for that disk.
3. Once I worked out some bugs in the hardware and got the OS up and running smoothly, I "merged" my home directory with the backup I had created in step one. (Merge was an option given to me when I was attempting to paste the files copied from the backup disk.)
4. It should also be noted that I was trying for a while last night to install TrueCrypt. In order to do that I had to check its "sig" file. The GUI for the gpg installation was complaining that I didn't have gtk+-2.0 installed so I installed gtk (I think it might have been 2.4 or whatever the most recent one was) from source without any errors. It got late so I gave up on attempting to install TrueCrypt any further.
The Results: This morning the computer seemed to boot faster than it had been before, but I was left without a functioning Theme manager. It will open, and I can click on all of its features, but nothing seems to do anything. For example: If I right click on the desktop and choose "Change Desktop Background" Then select "Get more themes online", nothing happens. Also if I select the "theme" tab, there are only two themes listed when there used to be about 9 by default.
Questions: 1.) Is there a way to restore the files that are important for correct system operation (possibly all the files starting with a dot ".*") in my home directory to there default state like they would have been from a fresh install, but without doing a fresh install and without loosing any of the documents or archives in my home file?
2.) Is this even the correct approach or might this cause more problems? For example, if your computer had this problem would you try and restore the home directory, or would you troubleshoot each problem as it arises one at a time until everything became stable?
3.) What could I do next to continue troubleshooting the theme manager?
I'll keep researching and trying to find some links that can help while I wait for your responses. If I find anything that helps I'll post the fix here.
View 1 Replies
ADVERTISEMENT
Nov 25, 2009
I'm having trouble with my sound on my new Fedora 12 machine. when I first installed F12 sound was working but it appears that I have messed up some settings somewhere and now alsa is no longer recognizing my sound card (integrated into my ASUS M4A79XTD EVO motherboard)
Code:
$ aplay -l
aplay: device_list:223: no soundcards found...
I'm sure that when I tried to fix it I probably messed it up worse. Is there an easy way to restore all of my sound settings and audio Drivers back to the F12 defaults without losing everything else?
View 2 Replies
View Related
Jan 27, 2009
I installed F9 for a friend. She wasn't getting any sound. I ran aplay -l, but got no sound card listed. I ran lspci -v, but got no sound card listed. However,the output of lspci -v said the computer had a particular motherboard. I Googled for it and was told it had an onboard sound card. That led me to the package called realtek-linux-audiopack-4.06a, which I installed. It included an installation script, which I ran.
The script didn't work to compile various files it was supposed to, but it did work to delete various files from my friend's system. Here are the bits of the script that removed files:
echo "Remove old sound driver"
if [ -d /lib/modules/$KERNEL_VER/kernel/sound ]; then
rm -rf /lib/modules/$KERNEL_VER/kernel/sound/pci > /dev/null 2>&1
[code]....
In the result, the failure of the compilation didn't matter, because lspci -v lied. She didn't have the motherboard shown, but a different one without an onboard sound card. Of the files deleted by the script.
I was able to reinstall libasound.so.2 and libasound.so.2.0.0, but I haven't yet tried to reinstall the other ones deleted by the script. Now, I want her to buy a sound card, but I'm afraid it won't work unless all the deleted files are reinstalled. I'm looking for guidance as to how I can reinstall the files deleted by the bits of the script I set out above, without completely reinstalling Fedora.
View 4 Replies
View Related
Apr 21, 2011
Can't log into my XFCE desktop like I normaly do. all the sudden I get notified that my xsession lasted less then 10 secondsLooking at the error I can see this:
Unable to access file /home/username/.iceauthority: No such file or directory
Using failsafe I can start a terminal. From terminal I tried to start X
Code: sudo startx Result: Running on desplay:0
So I tried to run this;
Code: sudo startxfce4 And I get up a graphical desktop.
So this is not a critical situation as I easily can use this method to log on, but as there has been something causing this I would like to be able to resolve this nonetheless. Btw it is not the old chmod trick in play here, cause my .iceauthority file is gone alltogheter.
View 6 Replies
View Related
Nov 22, 2010
The download page says the CD should boot into the desktop. Instead I am getting a login screen. What is the default username and password? (I assume that after I log in I will have an option to actually install it on my hard disc ...)
View 9 Replies
View Related
Jun 7, 2010
i initially installed ubuntu, working with gnome for a while. i now migrated to kde as i like it better. however, the kde session still has lots of the "old" file associations set as they are in gnome...
some examples? text files open in gedit, instead of kate pdfs open in "document viewer" instead of okular double clicking zip folder opens the "archiver" (gnome?), extracting an archive from the archiver and then pressing the "open folder" dialog after extracting has finished, opens nautilus (although dophin is the default program for inodes). etc.
i'm aware of the possibility to edit file associations, however thats a tedious thingy to do, if you want to get it complete... furthermore, the file association edit dialog has the "defaults" button disabled, hence my questions:
is there any way to "restore" the kde default file associations, just as i would have installed kubuntu initially? i don't want to reinstall just because of this.
View 5 Replies
View Related
Jun 25, 2011
By naming one of my folders wrong I thought I don't need it anymore and pressed delete button while holding shift. Is there any way I could get that folder back? (I'm actually looking for the file inside that folder - .conky config file to be more precise) I've tried scalpel and extundelete, but none of them worked.
View 2 Replies
View Related
Dec 21, 2010
how I managed this, but somehow during a reinstall I changed the ownership of all my home stuff to root, instead of my normal username. So now nothing loads, unless I sudo it. I had to use sudo just to open firefox.
View 3 Replies
View Related
Dec 4, 2009
I was working on a shell script to change the permissions of large directories and subdirectories because of an exploit discovered in the programs that run in those said directories that allow a client to upload and download files to the server. Loan behold I accidentally added a space and had something along the lines of "chmod -R 770 ." run on / logged in as root.
Yes, it was an incredibly noob move on my part, but nothing ventured nothing gained. I am surprisingly calm about this. I tried sliding in my CentOS installation disk and "Upgrading" CentOS but that only made it worse, beforehand I made everything owned by root so I could at least log into GNOME. This does not work for obvious reasons, namely having to change the permissions back for every user and every group, which far beyond a possibility.
View 7 Replies
View Related
Feb 9, 2010
I installed Fedora 12 a couple of days ago. This is my secondary operating system. The main one is Mint 8 and in order to have the same documents in both OSs I have a separate /home partition, but for some reason I don't see any of my Documents. In the installation I told fedora that I already had a /home partition and to use it. Also if I mount Mint's disk, while I can browse the folders, I can't see any document .
Finally I can access my Mint's home folder and files but since my username in fedora has a capital A it created another home folder. How can I change my home folder path so it point to the other home folder?
View 1 Replies
View Related
Aug 15, 2011
I recently had a problem in Ubuntu 11.04. I had just installed GNOME 3, however, I didn't really like it as much so I decided to go back using GNOME 2,but then a whole bunch of things happened. I tried re-installing GNOME 2,but then I lost the Ubuntu enviorment and stuck only with GNOME and now I'm only left with a terminal whenever I log in. how to restore Ubuntu 11.04 back to its original state, like as if it had a fresh installation?
View 7 Replies
View Related
Feb 18, 2010
I've updated my password some days back and when I restarted my machine I got error messages stating...
1. Could not update ICEauthority file /home/username/.ICEauthority it gives me only xClose tab and when I click it I get another error message saying...
2. There is a problem with the configuration server.
(/usr/lib/libgconf2-4/gconf-sanity-check-2 exited with status 256) xClose and the last message which i get says that...
3. Nautilus could not create the required folder "/home/username/Desktop".Before running Nautilus, please create the following folder, or set permissions such that Nautilus can create it.
Now every time when I restart my machine I've to follow this procedure...
1. I select my username and then login using xterm.
2. I give command ecryptfs-mount-private and give another password to mount it (it's not taking my regular password)
3. After doing this it takes me back to the login screen and allow me to log in normally...
View 9 Replies
View Related
Aug 5, 2011
The top right panel item contains the shutdown, time, network icons, etc. I don't use the messaging icon so right-clicked and chose 'remove from panel'. The whole lot disappeared! How can I restore things to their original state?
View 5 Replies
View Related
Oct 23, 2009
I tried to install KDevelop4, decided I didn't want to use it, and now I am having trouble getting KDevelop3 working again. The only steps to installing kdevelop4 were installing a new version of kdevplatform and then kdevelop itself. I did this:
1) sudo yum remove "kdevplatform* kdevelop*"
2) disable updates and testing repo
3) sudo yum install "kdevelop"
The problem is that there is something wrong with the menus (File, Edit, etc). There are many important items missing, as well as one of them says "No text!". This indicates that this is not the original packaged version with F11 because I used it for a year and it was certainly not like this. Is there a better way to get back to the original version than I showed here?
View 1 Replies
View Related
Nov 3, 2010
I recently installed vsftpd on my server. I noticed that users on the machine can login into vsftpd with their username and password on the machine and go to their root dir "/home/username".Now, I want to give some people a vsftpd username and password so they can upload and download files and folders to their folder, but this folder has to be in the "/var/www/(username)" folder. I don't want them to be able to go to any other folder than their own folder like "/var", "/etc" or "/home" etc. Also I don't want them to be able to login on the machine as a user, through putty for example. They should only be allowed to acces their folder with vsftpd, nothing else.
View 1 Replies
View Related
Sep 1, 2011
I recently lost the default panel from the top task bar, a message appeared on boot up saying a config file was missing or couldn't load - or something to that effect. I didn't realise to what it was referring until the computer (an Acer One) completed its start up and I could see the desktop
How can I restore the panel? (graphic from my other Ubuntu laptop attached showing the default panel appearance)
View 5 Replies
View Related
Oct 18, 2009
Does anybody here use Foxit Reader 1.1 as PDF viewer? I did since it handles PDF ebook with complex layout better than Evince. No need to mention its smaller size and faster speed than Adobe Reader.
However, it seems that recently it's unable to restore the document state when the file was closed. I do not know which part goes run right now but quite sure in the late August it works well. It always jumped to the position when I stopped last time. Now it simply starts from the the first page. :-)
I looked through the Foxit Reader forum and found none similar problems reported. I posted here to see whether it is a Fedora specific problem or generalised one.
View 3 Replies
View Related
Feb 26, 2011
I was in real doubt where to put this, so I hope I picked the right forum; otherwise, my apologies!
I want to build Roadsend PHP on my system. There seems to be no way to do this with the package manager, so I have to build it from source.
Turns out it depends on something called 'Bigloo'. Again no luck with the package manager, so I had to build this one from source too.
I took version 3.0c (Roadsend website recommends this version), did a
Code:
./configure && make && make install
, which did the job. Builing Roadsend worked, but I got a runtime error, which had to do with the Bigloo version.
No problem, I tought, then I'll just install Bigloo 3.1a. I did a "make uninstall" in the 3.0c dir, and tried to build 3.1a. This also worked, but now when I try to make Roadsend, I reports:
Code:
*** ERROR:bigloo.heap:
Release mismatch -- Heap is `3.0c', Bigloo is `3.1a'
So, somehow, there are still traces of 3.0c on my system. Maybe some file that didn't get deleted or some table entry that hasn't been undone?
My question is: How can I remove all traces of this version? Apparently, "make uninstall" is not thorough in this case.
And: Is there a general solution to remove everything when I did a "make install". So that my system is in the same state as it was before I ran the command?
View 4 Replies
View Related
Jul 14, 2011
I've got a CentOS 5.2 installation with broken package system. When I try to do "yum update" I get lots of "Missing Dependency" errors. How could I restore it to a usable state?
View 6 Replies
View Related
Oct 8, 2010
I think I did something dumb. I was trying to increase the space allocation to my /home virtual disk on my wubi installation of Ubuntu. I ran the wubi-add-virtual-disk utility (as I had done before the first time I increased my space), but I received the message "The target virtual disk /host/ubuntu/disks/$virtual_disk already exists, aborting." So, thinking that all my data was in a different path and that the file home.disk was probably just some configuration file of little importance (I should've checked and I should've made a backup of it myself), I browsed to /host/ubuntu/disks and ran "rm home.disk", then reran the wubi-add-virtual-disk utility (stored in my still existing /home/cportiz/Downloads directory), and I thought I had successfully increased my space.
To my horror, upon restarting my computer, my desktop was empty and basically unusable as there is nothing to click on. I rebooted on recovery mode and logged on in terminal mode, then browsed to /home and found an EMPTY folder. I ran locate home.disk and found a file at /host/ubuntu/disks with the size that I specified when I ran the virtual disk utility, but I don't know where my old contents are. I didn't just delete all that stuff. it is still somewhere on my hard drive and that all I need to do is modify the home.disk file in this or that way or hit restore. There is not a home.backup file at /host/ubuntu/disks/.
Anyhow, if indeed I've lost everything, I can probably restore most of the work I'd done (only a couple of weeks worth) pretty quickly. Some of the files were backed up in other computers, etc... How to restore my wubi installation to a functional one? I would prefer not to have to reinstall ubuntu altogether since I believe the majority of the packages I've installed were housed on /opt meaning I can get back up and running compiling certain programs from source fairly quickly and most of the recovery effort is in rewriting some of the files that were stored in /home.
View 4 Replies
View Related
Jun 15, 2011
we have a customer that ran a sudo chmod +x -R * command on his / filesystem by mistake and now the machine cannot be accessed on the network Has anyone any idea what chmod command to run to restore the system to its original state ?
View 1 Replies
View Related
May 16, 2011
when i powered on my pc today i saw that windows manger, cursor and some other things have disappeared. My hard disk has problems with bad sectors, so i guess that could cause it. How can i restore previous state? I have xubuntu 11.04
View 2 Replies
View Related
May 9, 2010
After resetting a pc running lenny I get iptables errors at boot ("resource temporarily unavailable", "bad rule" etc). "setting up firewall" (Guarddog) is not followed by any errors and the firewall apparently operates ok.How can I restore my iptables to the default installation values?
View 2 Replies
View Related
May 18, 2010
I upgraded from Karmic to Lucid recently. Before upgrading, I had customized my desktop on Karmic with Compiz, Emerald and new set of fonts. After upgrade (which appears to have gone smoothly, yay!), my desktop retained the previous appearance settings. I want to try the factory default gnome appearance settings for Lucid and still stuck with restoring fonts.
What I have done till now:
0. Enabled Visual Effects from Appearance menu.
1. Theme -> Changed to Human
2. Window Manager -> Still using Compiz
3. Window Decorator -> Switched from Emerald to GTK
4. Font -> Changed first 3 font types in the Font tab to Sans, size 10, 4th to Sans Bold and 5th to Monochrome. Rendering -> subpixel smoothing (LCD)
What I want:
1. Is this the default setting? Have I missed anything in restoring default settings?
2. I have done too many changes to firefox font rendering over time. How do I restore default 10.04 font settings for Firefox? I would ideally love to have an option in Ubuntu which would help me restore factory settings.
View 1 Replies
View Related
Apr 18, 2010
I was trying to install a couple of the sun packages to have and after the install I get the follow error. Xsession: unable to start X session--- no "/home/username/.xsession" file, no "/home/username/.xsession" file, no session managers, no window managers, and no terminal emulators found; aborting. I am now not able to log into the system at all....Can someone tell me what I've done wrong? How can a repair this?
View 6 Replies
View Related
Jan 5, 2011
i was follow a tutorial how to change show desktop to minimize all windows
can any body help me how to restore it to default ?
View 3 Replies
View Related
Jun 12, 2011
when installing ubuntu, the installer asks for username/login/password of the first user which will be allowed to sudo and administer the system... let's call that user "ubuntu"
what if I want to:
1) Automate those answers (which preseed variables should I set if any?)
2) Change the default home directory only for that user... let say I want it to be /ubuntu instead of /home/ubuntu (because I want /home/ to be empty after setup).
I know I could tweak /etc/passwd after setup (before first reboot) but I would like to know if there is a "clean way" to do that.
View 1 Replies
View Related
May 27, 2010
People usually suggest workarounds to do this, as it's not possible with usermod while the user is logged in. Did I overlook anything or is this method not preferable over creating a new account, setting the user permissions, then moving the files and messing with the file permissions? Using the right tool for the job would seem to be less error-prone to me. 1. Activate the root account by setting a password.
Code:
sudo passwd
2. Log out and log into the root account.
3. Change the username and home directory from user1 to user2. This will also move the files to the new home directory and rename the group to user2.
Code:
usermod -l user2 -d /home/user2 -m user1
[Code]...
View 3 Replies
View Related
Oct 29, 2010
i have problem on my ubuntu 10.10 after i change user name to root and home directory username ( old one ) , and now users and groups not working asnd all application on old user not working !
View 1 Replies
View Related
Apr 30, 2010
I'm trying to install Lubuntu 10.04 beta 3 on an old computer to see if i can bring new life into the system but when i run the Cd if i choose run live session or try install Lubuntu straight it automatically takes me to a login screen to enter username and password.
Does anyone know the default username and password for Lubuntu 10.04 beta 3 ? ? ?
I really need to install or try out Lubuntu but i dont know the username and password to try or install it
View 5 Replies
View Related