Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Deleted /tmp using rm -R /tmp now GDM keeps on crashin

  1. #1
    Join Date
    Nov 2007
    Location
    Sydney, Australia
    Beans
    15
    Distro
    Ubuntu 8.04 Hardy Heron

    Angry Deleted /tmp using rm -R /tmp now GDM keeps on crashin

    I accidentally deleted the /tmp directory using sudo rm -R /tmp everything was fine till the time I didn't restart. Now after restart I'm not able to login through the GDM and tty 1-6 is just blank with cursor blinking. I'm due for a submission of my work and I want to complete it and recover from this problem.

    Please Help Me.

  2. #2
    Join Date
    Aug 2005
    Location
    Spain
    Beans
    326
    Distro
    Ubuntu

    Re: Deleted /tmp using rm -R /tmp now GDM keeps on crashin

    Use a live cd, mount your root partition and then create the directory tmp on your mounted root partition.

  3. #3
    Join Date
    Nov 2007
    Location
    Sydney, Australia
    Beans
    15
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Deleted /tmp using rm -R /tmp now GDM keeps on crashin

    Quote Originally Posted by joselin View Post
    Use a live cd, mount your root partition and then create the directory tmp on your mounted root partition.
    Just tried it doesn't works GDM keep on crashing stating "The greeter application appears to be crashing. Attempting to use a different one"
    Last edited by nair.arun; June 19th, 2008 at 01:45 PM. Reason: more details

  4. #4
    Join Date
    Mar 2008
    Location
    Rolla, MO, USA
    Beans
    74
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Deleted /tmp using rm -R /tmp now GDM keeps on crashin

    /tmp isn't really that important of a folder since random downloaded stuff is stored there, that's all. Are you sure you didn't delete anything else?

    Anyways, reboot your machine, hit Escape to get to the GRUB menu, select the recovery-mode option, which should boot you up to a terminal. Just recreate the directory with the command below, and you should be good to go:

    Code:
    sudo mkdir /tmp

    In your root directory, you should see the following directories:

    bin, boot, dev, etc, home, initrd, lib, lost+found, media, mnt, opt, proc, root, sbin, srv, sys, tmp, usr, var
    Last edited by krlhc8; June 19th, 2008 at 02:19 PM.

  5. #5
    Join Date
    Nov 2007
    Location
    Sydney, Australia
    Beans
    15
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Deleted /tmp using rm -R /tmp now GDM keeps on crashin

    Quote Originally Posted by krlhc8 View Post
    /tmp isn't really that important of a folder since random downloaded stuff is stored there, that's all. Are you sure you didn't delete anything else?

    Anyways, reboot your machine, hit F1 to get to the GRUB menu, select the recovery-mode option, which should boot you up to a terminal. Just recreate the directory with the command below, and you should be good to go:

    Code:
    sudo mkdir /tmp

    In your root directory, you should see the following directories:

    bin, boot, dev, etc, home, initrd, lib, lost+found, media, mnt, opt, proc, root, sbin, srv, sys, tmp, usr, var
    Tried it made the /tmp directory but still doesn't works it just keeps on giving me the error of GDM greeter application crashing attempting to use another one and also my tty 0-6 are blank with the cursor blinking in normal mode but i can access the recovery mode but still doesn't works. I even tried http://liltux.wordpress.com/2007/09/...ing-in-ubuntu/ this post to fix the gdm greeter but its already there.

  6. #6
    Join Date
    Mar 2008
    Location
    Rolla, MO, USA
    Beans
    74
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Deleted /tmp using rm -R /tmp now GDM keeps on crashin

    Whenever I had that problem, I would hit ctrl+alt backspace whenever the GDM error message popped up. Did you load any new kernel recently? Maybe that's what is causing your problem. Try loading an earlier kernel in the GRUB menu. Like 2.6.24-17 or -16 or whatever works.

  7. #7
    Join Date
    Mar 2008
    Beans
    159

    Smile Re: Deleted /tmp using rm -R /tmp now GDM keeps on crashin

    hello arun what does gdm says when it get crashed????????????????

  8. #8
    Join Date
    Nov 2007
    Location
    Sydney, Australia
    Beans
    15
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Deleted /tmp using rm -R /tmp now GDM keeps on crashin

    Quote Originally Posted by krlhc8 View Post
    Whenever I had that problem, I would hit ctrl+alt backspace whenever the GDM error message popped up. Did you load any new kernel recently? Maybe that's what is causing your problem. Try loading an earlier kernel in the GRUB menu. Like 2.6.24-17 or -16 or whatever works.
    No new kernel has been updated and the older one than this also gives the same error

  9. #9
    Join Date
    Mar 2008
    Location
    Rolla, MO, USA
    Beans
    74
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Deleted /tmp using rm -R /tmp now GDM keeps on crashin

    Did you try pressing ctrl+alt backspace whenever the error popped up?

  10. #10
    Join Date
    Mar 2008
    Location
    Rolla, MO, USA
    Beans
    74
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Deleted /tmp using rm -R /tmp now GDM keeps on crashin

    As a temporary fix, what I did whenever I came across this problem was to edit gdm.conf in the terminal:

    Code:
    sudo pico /etc/gdm/gdm.conf
    Edit the line:
    Code:
    Greeter=/usr/lib/gdm/gdmgreeter
    to say:
    Code:
    Greeter=/usr/lib/gdm/gdmlogin
    It should let you use your computer, but you'll have an ugly login screen.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •