Announcement

Collapse
No announcement yet.

XSession: unable to write to /tmp .... tried everything with no results

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    XSession: unable to write to /tmp .... tried everything with no results

    Hi all.I have an eee pc 901, notorious for their retared hard drive setup. Iv'e been using Kubuntu 10.10 for a few months and i've had this error several times. However, the last few timesi was able to just type "sudo apt-get clean" and then restart to encounter a properly working kubuntu. However, this time I've tried the same command with no success. The hard drive is 100% full.. which is no surprise onsidering its an eee pc901, but ive searched for hours for an answerto free up some spaceto at least get Kubuntu booted up so i can startslimming it down. Anyone haveany ideas? I love kubuntu, but this crap is getting old. Any help is greatly appreciated.

    #2
    Re: XSession: unable to write to /tmp .... tried everything with no results

    How many kernel versions do you have installed?
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: XSession: unable to write to /tmp .... tried everything with no results

      I'm sorry, but I honestly have no clue. I know there's been several. Theres usually one everytime i do updates. In fact, just before this happened I believe i did a kernel and other updates with it. Is there a specific command/commands that I can type in and post the results to help give you a better idea of how to solve the issue?

      Comment


        #4
        Re: XSession: unable to write to /tmp .... tried everything with no results

        First, can you boot into recovery mode?
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          Re: XSession: unable to write to /tmp .... tried everything with no results

          im not sure if it's recovery mode.. but after it shows the xsession error message and i click ok, it takes me to a console screen where i login and then can type commands. I'vealso done research on how to get to the recovery mode, but couldn't find instructions on how to get there through terminal commands, so i'm hoping this is recovery mode, lol.

          Comment


            #6
            Re: XSession: unable to write to /tmp .... tried everything with no results

            That's good enough.

            From the prompt, type:
            Code:
            cat /boot/grub/grub.cfg | more
            You're looking for the line that reads:

            ### BEGIN /etc/grub.d/10_linux ###

            Pressing the space bar advances a screen at a time.

            Look at how many menuentry 'Ubuntu, with Linux 2.6.35-xx-generic entries you have. What are the xx numbers?
            Windows no longer obstructs my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              Re: XSession: unable to write to /tmp .... tried everything with no results

              Originally posted by Snowhog
              That's good enough.

              From the prompt, type:
              Code:
              cat /boot/grub/grub.cfg | more
              You're looking for the line that reads:

              ### BEGIN /etc/grub.d/10_linux ###

              Pressing the space bar advances a screen at a time.

              Look at how many menuentry 'Ubuntu, with Linux 2.6.35-xx-generic entries you have. What are the xx numbers?
              theres 6 total. 2 for each kernel. 1regular, 1forrecovery modefor each

              35-24
              35-23
              35-22
              thats them in order

              Comment


                #8
                Re: XSession: unable to write to /tmp .... tried everything with no results

                The following command will remove completely, the specified 'older' kernel, in this case, the 35-22 kernel.
                Code:
                sudo apt-get remove --purge linux-image-2.6.35-22-generic
                Follow this by:
                Code:
                sudo apt-get autoremove && sudo apt-get clean
                and:
                Code:
                sudo updatedb
                Then check on the space stats with:
                Code:
                df -h
                What is reported for your root partition under Use%?
                Windows no longer obstructs my view.
                Using Kubuntu Linux since March 23, 2007.
                "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                Comment


                  #9
                  Re: XSession: unable to write to /tmp .... tried everything with no results

                  wow. that was amazing lol. usage is now at 89% ... perhaps enough to successfully startup. do you know of anything i can do to slim down kubuntu? i was wondering if maye theres a way to install packages to my /home or move the folder the packages are in to the other drive which has 8 gigs as opposed to 3.5

                  Comment


                    #10
                    Re: XSession: unable to write to /tmp .... tried everything with no results

                    How do you have Kubuntu configured, partition wise? Type:
                    Code:
                    sudo fdisk -l
                    (lower-case L)
                    Copy and paste the results.
                    Windows no longer obstructs my view.
                    Using Kubuntu Linux since March 23, 2007.
                    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                    Comment


                      #11
                      Re: XSession: unable to write to /tmp .... tried everything with no results

                      Disk /dev/sda: 4034 MB, 4034838528 bytes
                      255 heads, 63 sectors/track, 490 cylinders
                      Units = cylinders of 16065 * 512 = 8225280 bytes
                      Sector size (logical/physical): 512 bytes / 512 bytes
                      I/O size (minimum/optimal): 512 bytes / 512 bytes
                      Disk identifier: 0x0009c3c8

                      Device Boot Start End Blocks Id System
                      /dev/sda1 * 1 462 3708928 83 Linux
                      Partition 1 does not end on cylinder boundary.
                      /dev/sda2 462 491 228353 5 Extended
                      Partition 2 does not end on cylinder boundary.
                      /dev/sda5 462 491 228352 82 Linux swap / Solaris

                      Disk /dev/sdb: 8069 MB, 8069677056 bytes
                      255 heads, 63 sectors/track, 981 cylinders
                      Units = cylinders of 16065 * 512 = 8225280 bytes
                      Sector size (logical/physical): 512 bytes / 512 bytes
                      I/O size (minimum/optimal): 512 bytes / 512 bytes
                      Disk identifier: 0xb89d9a27

                      Device Boot Start End Blocks Id System
                      /dev/sdb1 1 980 7871818+ 7 HPFS/NTFS

                      Disk /dev/sdc: 2002 MB, 2002255872 bytes
                      255 heads, 63 sectors/track, 243 cylinders
                      Units = cylinders of 16065 * 512 = 8225280 bytes
                      Sector size (logical/physical): 512 bytes / 512 bytes
                      I/O size (minimum/optimal): 512 bytes / 512 bytes
                      Disk identifier: 0x0217934c

                      Device Boot Start End Blocks Id System
                      /dev/sdc1 * 1 244 1955296+ e W95 FAT16 (LBA)
                      Partition 1 has different physical/logical endings:
                      phys=(242, 254, 63) logical=(243, 108, 57)


                      there it is lol... btw, i greatly appreciate all of your help man.. i think you might have save this laptop from a skyscraper suicide haha

                      Comment


                        #12
                        Re: XSession: unable to write to /tmp .... tried everything with no results

                        Originally posted by fdcdude
                        Disk /dev/sda: 4034 MB, 4034838528 bytes
                        255 heads, 63 sectors/track, 490 cylinders
                        Units = cylinders of 16065 * 512 = 8225280 bytes
                        Sector size (logical/physical): 512 bytes / 512 bytes
                        I/O size (minimum/optimal): 512 bytes / 512 bytes
                        Disk identifier: 0x0009c3c8

                        Device Boot Start End Blocks Id System
                        /dev/sda1 * 1 462 3708928 83 Linux
                        Partition 1 does not end on cylinder boundary.
                        /dev/sda2 462 491 228353 5 Extended
                        Partition 2 does not end on cylinder boundary.
                        /dev/sda5 462 491 228352 82 Linux swap / Solaris
                        Okay, so you have Kubuntu installed to a single partition, with another partition for swap. That means that your /home partition is actually part of the root ( / ) partition - /dev/sda1. This is not a very large HD - 4GB - based on the info above. Is this correct? That is not a very large amount for a working install of Kubuntu. For the moment, you can gain some more space by removing the other 'older' kernel:
                        Code:
                        sudo apt-get remove --purge linux-image-2.6.35-23-generic
                        Follow that again with:
                        Code:
                        sudo apt-get autoremove && sudo apt-get clean
                        and
                        Code:
                        sudo updatedb
                        and
                        Code:
                        sudo updatedb
                        You should have no problem booting into the remaining 35-24 kernel. Your three HDs are all small, and I'm assuming that the /dev/sdc is a USB Thumb Drive?
                        Windows no longer obstructs my view.
                        Using Kubuntu Linux since March 23, 2007.
                        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                        Comment


                          #13
                          Re: XSession: unable to write to /tmp .... tried everything with no results

                          yeah its actually my small sd card that i use for misc. storage. Do you think Xubuntu would work better on my netbook? or should i just look into swapping out the hard drives. I have experience working with hardware so i know i could install the parts if i bought them. I guess I've got some more research to do. But do you know of a system that wouuld be more suitable, yet as close to kubuntu as possible. before kubuntu, i had ubuntu netbook remix on it. it was far too slow and not so fun to use.

                          Comment


                            #14
                            Re: XSession: unable to write to /tmp .... tried everything with no results

                            Given the small HD you have to work with, Xubuntu or Lubuntu might be reasonable choices to concider.
                            Windows no longer obstructs my view.
                            Using Kubuntu Linux since March 23, 2007.
                            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                            Comment


                              #15
                              Re: XSession: unable to write to /tmp .... tried everything with no results

                              gotcha. ill test them out on the flash drive first. again, thank you for your assistance!

                              Comment

                              Working...
                              X