Results 1 to 10 of 10

Thread: /usr/bin/X11 gone wild

  1. #1
    Join Date
    Jan 2011
    Beans
    30

    /usr/bin/X11 gone wild

    I have been running Ubuntu 11.04 for a while. I now notice that I have a lot of disk storage being consumed at /usr/bin/X11. My assumption is that this space is some type of stranded cache from my use of xrdp (remote desktop). There are currently about 20 X11 nested folders, each folder having a virtuoso-t file (9.7 mb).

    Anyone know if I can safely delete these?

  2. #2
    Join Date
    Jan 2011
    Beans
    30

    Re: /usr/bin/X11 gone wild

    Here are more files that are part of each nested X11 folder:

    net.samba3
    net
    rpcclient
    smbcacls
    smbget
    smbclient
    smbpasswd
    gdb
    cinelerra
    Xvnc4

    It appears that each folder accounts for 259 MB, combining for 5 GB of disk space dedicated to this. There are 20 levels of nested x11 folders currently.

    Currently, each X11 folder has exactly the same creation date and time, so my guess is these folders were all created at the same time rather than one after another.

    If that is true, that blows my original theory that these might be generated each time a new XRDP session is initiated and then stranded by somehow not exiting properly. There must be another reason why this issue has occurred.

    So, can anyone advance a theory as to why this would have occurred on a specific date (approximately 2 days ago) and is it ok to delete all these nested folder (I assume I should keep the top level X11 folder)?
    Last edited by F35; April 10th, 2012 at 12:20 PM.

  3. #3
    Join Date
    Jan 2011
    Beans
    30

    Re: /usr/bin/X11 gone wild

    After more investigation, I have found a second computer with exactly the same issue. This computer shows it happened about 5 days ago. To me, it is looking more like it occurred with some update download. Since I now show two computers exhibiting the same thing, there must be others who are experiencing this.

  4. #4
    Join Date
    Mar 2007
    Beans
    676
    Distro
    Ubuntu Development Release

    Re: /usr/bin/X11 gone wild

    Quote Originally Posted by F35 View Post
    After more investigation, I have found a second computer with exactly the same issue. This computer shows it happened about 5 days ago. To me, it is looking more like it occurred with some update download. Since I now show two computers exhibiting the same thing, there must be others who are experiencing this.
    This is happening for me in oneiric, one install checked so far. I have never used XRDP, so it doesn't arise from that...

    Further observations: the top-level /usr/bin/X11 is marked as a link; it is linked to itself! This implies that there is in fact only one X11 folder, that is linked so that however far you go there is always a folder called X11. No need to worry about wasting space, though I am also curious as to why this is necessary.

    It's also there in Precise...
    Last edited by scradock; April 11th, 2012 at 05:05 AM. Reason: Further observations
    Sony vaio vgn-fw235j; Synaptics touchpad; triple boot: mint 12 64-bit; Precise 64-bit & Saucy 64-bit. 2TB external USB drive with more...

  5. #5
    Join Date
    Jan 2011
    Beans
    30

    Re: /usr/bin/X11 gone wild

    ...wasting space...

    I discovered this X11 issue while performing a backup. I saw a very large consumption of space (about 11 gb) being used just for /usr/bin. That is how I discovered it. I agree that it says it is a link (in Nautilus, it says Link to folder), but I feel like there is a large amount of wasted space being caused by this.

  6. #6
    Join Date
    Jul 2012
    Beans
    2

    Re: /usr/bin/X11 gone wild

    I am having the same Issue on an ASUS ux32vd laptop. Is it safe to delete the nested directories?

  7. #7
    Join Date
    Mar 2007
    Beans
    6

    Re: /usr/bin/X11 gone wild

    Ubuntu 12.04 64bit

    I have the 'nested' X11 folders too. I only looked because someone at vanlug posted a question about it wondering if it was causing him some slow downs.

    I also have slowdowns - to the point of hangs - that seem to be related to the gui (going to shell and coming back fixes it).

    Has anyone got any thoughts please?

    Cheers

    Jel

  8. #8
    Join Date
    Mar 2009
    Location
    The Freight Yard
    Beans
    174
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: /usr/bin/X11 gone wild

    Found this link here: http://ubuntuforums.org/showthread.php?t=829402

    Someone said it's just a Symbolic link & shouldn't be taking up much if any space. If you look at it in Thunar, it does show the Symbolic Link icon on it. Just checked the size. "1 item, totalling 1 byte"
    I'm a man, I can re-install, if I have to, I guess!

  9. #9
    Join Date
    Aug 2010
    Location
    BC, Canada
    Beans
    3
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: /usr/bin/X11 gone wild

    In the good(bad) old days of X11, programs that used X (GUI-based programs) were placed in /usr/bin/X11 while command line programs were placed in /usr/bin. Nowadays this distinction is not made anymore and so X-based programs are just left in /usr/bin. However to maintain backward compatibility with older programs that may expect to find X-based programs in /usr/bin/X11, the sym link
    X11 --> .
    is created in /usr/bin.

  10. #10
    Join Date
    Feb 2010
    Location
    U.K.
    Beans
    782
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: /usr/bin/X11 gone wild

    Interesting explanation

    And as already stated, it's not wasting any space.

    I can see how it might cause a problem for a backup routine that is not configured not to recurse into symlinked directories as it is going to recurse into that X11 symlink ad infinitum.

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
  •