PDA

View Full Version : [ubuntu] Lost my /var/lib/gmd



The Bane
January 10th, 2009, 02:28 AM
I used Clamtk (antivirus) and ended up deleting my /var/lib/gmd folder... doh!

I get something to the following warning when I try to boot:

Server Auth direct (daemon/ServAuthDir) is set to /var/lib/gdm does not exist. Please correct gdm conf and restart gdm.

Lost, can someone help me?

edit: I found an older tar_system_backup_'date' on the hard drive while looking through what I wanted to try to recover before reinstalling... I try to extract it but I get a 'you do not have permission' when I try to untar it. Suggestions? /edit

Best,
The Bane

Partyboi2
January 10th, 2009, 02:21 PM
Have you tried to reinstall gdm?

sudo apt-get --reinstall install gdm

albinootje
January 10th, 2009, 02:28 PM
Have you tried to reinstall gdm?

sudo apt-get --reinstall install gdm

Indeed.
To do this, boot into "recovery mode" at the Grub menu.
Then choose "drop to root shell prompt".

And next time, think twice before deleting something.
Anti virus software for Linux is meant to project you against *MS-Windows* viruses, and nothing else.
If you don't use Windows yourself, then you can use it to scan files from friends which you will give to other friends.

christhegoth
January 10th, 2009, 04:40 PM
Wise words... *ahem*

*Shuffles away sheepishly...*


Oh, and the fix works :D