[SOLVED] Can only open X as root - can't read a file in /tmp/

xkbcomp reports:
Error: cannot close "/tmp/server-0.kbm" properly (not enough space?)
(...) #Some stuff here
Error: couldn't compile keymap
XKB: Failed to compile keymap
Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
df /tmp/
Use: 100%
I "rm -rf'd" /tmp/, and recreated it, but right after df /tmp, said "Use: 100%".
How can I reopen X, or *truly* clean /tmp/?
EDIT:
As root, it works, but I really shouldn't run X as root, and I need to fix this, thank you!
Xorg0.log - The logs.
Last edited by ephan (2012-04-05 10:15:58)

I've been running X as non-root for a few weeks now, it always worked. Only now it only works as root.
Also, I thought I had fixed this last night, because I re-compiled cairo-xcb from source to match new libpng update. It worked after, but now it's not working again.
Output of mount | column -t:
[root@davidarch david]# mount | column -t
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
/sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
/dev on /dev type devtmpfs (rw,nosuid,relatime,size=2006452k,nr_inodes=501613,mode=755)
/run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/sda3 on / type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
devpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)
/dev/sda4 on /home type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
/dev/sda1 on /boot type ext2 (rw,relatime,errors=continue)
[root@davidarch david]#
Thank you!
oliver wrote:I think you need to kill the process that is causing /tmp to fill to 100%.  Simply removing the file isn't enough
How to do find out what it is oliver? Thanks.
Last edited by ephan (2012-02-22 13:11:01)

Similar Messages

  • How can I read text files from LAN if I only know the hostname?

    I'm new in Java Developing, and dont know the written classes yet. I need help, how to do the following steps?
    <p>1. How can I read text files from LAN if I only know the hostname, or IP address?
    <p>2. How to read lines from text files without read all lines from the beginning of file, just seek to a position.
    (ex. how can I read the 120th line?)
    <p>Please help!
    <p>sorry for the bad english

    I'm new in Java Developing, and dont know the written classes yet. I need help, how to do the following steps?
    1. How can I read text files from LAN if I only know the hostname, or IP address?You need to know the URL of the file. You need to know the hostname, port, protocl and relative path.
    The hostname is server, not file.
    2. How to read lines from text files without read all lines from the beginning of file, just seek to a position.Use the seek() to get to a random byte.
    (ex. how can I read the 120th line?)The only way to find the 120th line is to read the first 120 lines. You can use other file formats to find the 120th line without reading the whole file but to need to be able to detremine where the 120th line is

  • I have a problem with the mac can not read video files with the extension IMOD. How can I solve this problem?

    I have a problem with the mac can not read video files with the extension IMOD. How can I solve this problem?

    By doing a Google search. 

  • New pc with windows 8.1, downloaded and installed cs5,no problem open bridge and cs5, but can't read raw file , try to update, can't complete or failed updating, please help

    new pc with windows 8.1, downloaded and installed cs5,no problem open bridge and cs5, but can't read raw file , try to update, can't complete or failed updating, please help

    Sounds like you somehow got the mac version.
    Download the windows 6.7 camera raw update from this link:
    Adobe - Photoshop : For Windows : Camera Raw 6.7 Update

  • Can't read HD files with QT on Intel Mac? (only got sound)

    Alright so it seems like quiktime can't read HD files completely since it still manages to read the audio.
    I'm wondering if someone's got a solution for this...the files are in .mov format.
    Thanks

    They are HD video files uploaded from a Panasonic AG-HVX200 camera.
    They are imported in .mov format, I guess they should be working in QT but it can only read sound.
    These files work in final cut though.
    thanks

  • I can't read acsm files on my e-reader after transferring them from the pc with ADE. it seems to work, but then when I try to open the files on the e-reader it says "open failure". what's wrong?

    I can't read acsm files on my e-reader after transferring them from the pc with ADE. it seems to work, but then when I try to open the files on the e-reader it says "open failure". what's wrong?

    The acsm file is not the book, it is a ticket to get the book.  I sometimes get library books online, here is what I do.
    1. Start ADE on the computer
    2. Go to library website and find the book I want to download.
    3. Click on the download link
    4. In windows 7 a box opens asking whether I want to open( or run) or save the acsm file
    5. Click open/run and ADE downloads the book into the "Library"
    6. Transfer the book (epub file) to the reader.

  • X can't read lock file

    After a recent update of X, following error occured by running startx:
    Fatal Server error
    can't read lock file /tmp/.X0-lock
    Has anybody an idea how to solve this problem?
    PS: sry for my bad english...

    Yep, I was root, and I'm wondering too....
    I also tried to delete the file using the inode number, no success.
    Everytime an application wants to access the file it gives me an: "stale nfs filehandle" message, but I don't even use nfs.
    Last edited by x0rg (2009-08-07 19:41:49)

  • Can't read attached files to older emails in Outlook 2010

    Hello,
    I have Outlook 2010 connected with MS Exchange.
    I can’t read attached files to older emails than 3 months. In attached elements there are only small files and I’m not able to open them (size in Bytes!) - double click doesn't work. I've tried different solutions:
    1. https://social.technet.microsoft.com/Forums/en-US/dd2869cb-5e53-4852-b0bb-15de6653db0c/dont-see-attachments-in-old-emails-on-outlook-2013?forum=outlook
    2. https://social.technet.microsoft.com/Forums/office/en-US/cbd420f1-ec7f-44ae-8f78-c7613e2eabb6/unable-to-retrieve-attach-document-for-older-emails-in-outlook-2010?forum=outlook
    3. Clear cache in Advanced Settings of Forms and clear C:\Users\%username%\AppData\Local\Microsoft\FORMS
    None of them works
    Thanks in advance

    Hi,
    Can you read the attachments if we logon in OWA? If attachments can be read in OWA, we may try to delete the original OST file and restart Outlook to sync a new one to see the result. If still no luck, we can create a new mail profile in Control Panel to
    check the result. See:
    http://support.microsoft.com/kb/829918
    If same issue continues in OWA, you may need to recover the data from the backup you create before.
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • I am trying to import cr2files from the camera into lightroom 5 and keep getting an error message saying Lightroom can not read the files and therefore will not import them.  Has anyone had a similar problem-.thanks

    I am trying to import cr2files from the camera into lightroom 5 and keep getting an error message saying Lightroom can not read the files and therefore will not import them.  Has anyone had a similar problem….thanks

    If you are having the same problem, i.e. a disk permission problem, open your favorite search engine and search on, "change disk permissions", and I think you'll find plenty of information on how to fix the problem. This is a Lightroom forum. Your problem is with your operating system. There is no sense in rewriting instructions that are already available if you do a simple search.

  • How can I read pdf files from LabVIEW with different versions of Acrobat reader?

    How can I read pdf files from LabVIEW with different versions of Acrobat reader?
    I have made a LabVIEW program where I have possibility to read a PDF document.  When I made this LabVIEW program it was Acrobat Reader 5.0.5 that was installed on the PC. Lather when the Acrobat Reader was upgraded to version 6.0, there was an error when VI tries to launch the LabVIEW program. And Later again when we upgraded to Acrobat Reader 7.0.5 I must again do some changes and rebuild the EXE files again
    It isn't so very big job to do the changes in one single LabVIEW program, but we have built a lot of LabVIEW programs so this take time to due changes every time vi update Acrobat Reader. (We have build EXE files.)
    The job is to right click the ActiveX container and Click "Insert ActiveX Object", then I can brows the computer for the new version of acrobat Reader. After this I must rebuild all the "methods" in the Activex call to make the VI executable again.
    Is there a way to build LabVIEW program so I don't have to do this job every time we update Acrobat Reader?
    This LabVIEW program is written in LabVIEW 6.1, but I se the problem is the same in LabVIEW 8.2.
    Jan Inge Gustavsen
    Attachments:
    Show PDF-file - Adobe Reader 7-0-5 - LV61.vi ‏43 KB
    Read PDF file.jpg ‏201 KB
    Show PDF-file - Adobe Reader 5-0-5 - LV61.vi ‏42 KB

    hi there
    try the vi
    ..vi.lib\platform\browser.llb\Open Acrobat Document.vi
    it uses DDE or the command line to run an external application (e.g. Adobe Acrobat)
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • Hi there, I need to be able to read raw files from an Olympus Stylus 1 via CS5 and Lightroom 4.  I have downloaded Raw file plug-in v 6.7.1 but still can't read the files.

    Hi there, I need to be able to read raw files from an Olympus Stylus 1 via CS5 and Lightroom 4.  I have downloaded Raw file plug-in v 6.7.1 but still can't read the files?

    Read this table http://helpx.adobe.com/creative-suite/kb/camera-raw-plug-supported-cameras.html
    The Olympus Stylus 1 was first supported in Camera Raw 8.3 which is only compatible with CS6 and CC.
    It is not compatible with CS5 or older and never will be.
    If you do not want to upgrade to CS6 or CC then you can dwonload the free Adobe DNG converter, convert all Stylus 1 Raw files to DNGs then edit the DNGs in CS5.
    Camera raw, DNG | Adobe Photoshop CC

  • I can't read a file with the ext PDF the sender informed me that the file was reset to PDF.

    I can't read a file with the .ext PDF the sender informed me that the file was reset to PDF. But when I tried to open it the caption box informed me"the file is not in PDF format. I suspect the sender simply changed the file .ext which is why I can't open it! What can I do about it! I am working on an iPad.
    Thanks
    Mr Jim Lapthorn

    If the document is not, in fact, a PDF, then you will need to get your sender to provide a PDF.
    Can you open this document in any other application?

  • Can Yosemite read pdf files made in Snow Leopard?

    can Yosemite read pdf files made in Snow Leopard?

    Yup, restarted my system. First thing I did was open Firefox and try to open a .pdf.
    There isn't an Acrobat icon in my system tray, and it's not showing up in my task manager, so is there another way of seeing if it's open?

  • IIOException: Can't read input file!

    Hi all,
    I have a incomprehensible problem. I have a java application wich manipulate images. This application works fine with a desktop environment but when I try to migrate it on production server (without X), a exception is catch...
    javax.imageio.IIOException: Can't read input file!
            at javax.imageio.ImageIO.read(ImageIO.java:1279)
            at FaceplateBuilder.fillImageByClients(FaceplateBuilder.java:95)
            at FaceplateBuilder.createPack(FaceplateBuilder.java:68)
            at FaceplateBuilder.run(FaceplateBuilder.java:39) This is the following code...
    File tmp = new File("/tmp/test.jpg");
    BufferedImage in = ImageIO.read(tmp);The file /tmp/test.jpg exist.
    Here are all tested solutions without success :
    *I've tried to upgrade the java version (1.5.0_14 to 1.6.0_06). 1.6.0_06 is the desktop environment configuration.
    * I read this page: [Using Headless Mode in the Java SE Platform|http://java.sun.com/developer/technicalArticles/J2SE/Desktop/headless/] and I try to launch java with java.awt.headless=true variable.
    * I have install the [X11 dev library|http://javatechniques.com/public/java/docs/hosting/headless-java-x11-libraries.html]. (apt-get install libice-dev libsm-dev libx11-dev libxp-dev libxt-dev libxtst-dev)
    * I have changed the ImageIO code by following :
    Image tmp = loadImageFile("/tmp/test.jpg");
    BufferedImage in = toBufferedImage(tmp);
    public static BufferedImage toBufferedImage(Image image) {
              if (image instanceof BufferedImage) {
                   return ((BufferedImage) image);
              } else {
                   BufferedImage bufferedImage = new BufferedImage(image
                             .getWidth(null), image.getHeight(null),
                             BufferedImage.TYPE_INT_RGB);
                   Graphics g = bufferedImage.createGraphics();
                   g.drawImage(image, 0, 0, Color.WHITE, null);
                   g.dispose();
                   return (bufferedImage);
         public static Image loadImageFile(String imgFile) {
              Image img = Toolkit.getDefaultToolkit().getImage(imgFile);
              MediaTracker mediaTracker = new MediaTracker(new Container());
              mediaTracker.addImage(img, 0);
              try {
                   mediaTracker.waitForID(0);
              } catch (InterruptedException e) {
                   e.printStackTrace();
                   System.out.println(e.getMessage());
              return (img);
         }This code catches a new error...
    java.lang.IllegalArgumentException: Width (-1) and height (-1) cannot be <= 0
            at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:999)
            at java.awt.image.BufferedImage.<init>(BufferedImage.java:314)
            at FaceplateBuilder.toBufferedImage(FaceplateBuilder.java:122)
            at FaceplateBuilder.fillImageByClients(FaceplateBuilder.java:95)
            at FaceplateBuilder.createPack(FaceplateBuilder.java:73)
            at FaceplateBuilder.run(FaceplateBuilder.java:44)I think it's the same problem... The Image can't be loaded and I don't know why ! This problem make me crazy so I tried to post here.
    Thanks in advance

    # la /tmp/test.jpg
    -rw-r--r-- 1 root root 148K 2008-07-15 13:19 /tmp/test.jpg
    # ps aux | grep java
    root     19147  0.0  1.8 269716 23848 pts/1    Ssl+ 19:09   0:00 java FaceplateManager     Everything seems good :)

  • How can I read a file with ASCII Special Character into a SQL table using SSIS 2008?

    I've tried everything to read this file and am getting no where.   Help how can I read this file and load a SQL table?
    RS - AscII - 30  (Record Separator)
    GS - AscII - 29 (Group Separator)
    Thank you for your assistance - Covi
    Mark Covian

    We can use script component as source/transformation to read the text file and assign the contains to a string. Split the string by chr(30)  i.e RS and finally stored into an array or write to the output buffer of the script component.
    For example on how to use script component refer this link
    http://social.technet.microsoft.com/Forums/en-US/6ff2007d-d246-4107-b77c-624781baab38/how-to-use-substring-in-derived-column-in-ssis?forum=sqlintegrationservices
    Regards, RSingh

Maybe you are looking for