Announcement

Collapse
No announcement yet.

Bleachbit as root fails to launch

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

  • Qqmike
    replied
    Wrong forum

    Btw, the mods started my thread for me by moving a post I made in an old thread, but I just noticed it is under Pre-Release Testing. It shoud be under 14.04. Thanks.

    Leave a comment:


  • Qqmike
    replied
    I filed this as a bug.

    Bleachbit as root fails to launch after running as user

    Bug #1377719
    https://bugs.launchpad.net/bleachbit/+bug/1377719

    Leave a comment:


  • Qqmike
    replied
    The version offered through Muon Package Manager is Bleachbit 1.0. I got the upgrade to version 1.4 (the latest for Linux). The problem persists with 1.4.

    Leave a comment:


  • Qqmike
    replied
    Nice investigative work S-R, makes sense. But note this:
    (1) It works OK in 12.04.
    (2) and note this pattern:

    After reading your post, I rebooted.
    Then successfully ran Bleachbit as admin 3 times in a row.
    Then ran Bleachbit as user: OK.
    Then ran Bleachbit as admin: Failed: it would not open.

    Then did Ctrl-Alt-Backspace.
    Then ran Bleachbit as admin: OK, no problem.
    Then ran Bleachbit again as admin: OK, no problem.
    Then ran Bleachbit as user: OK.
    Then ran Bleachbit as admin: Failed: it would not open.

    (So, in particular, running Bleachbit as user BEFORE running it as admin, causes a failure to open as admin--on my system (and for the user in the link posted in #1 above).)

    Leave a comment:


  • SteveRiley
    replied
    Well...

    Code:
    steve@t520:~$ [B]ll /usr/bin/bleachbit [/B]
    lrwxrwxrwx 1 root root 31 Nov 24  2013 /usr/bin/bleachbit -> ../share/bleachbit/bleachbit.py*
    Code:
    steve@t520:~$ [B]cat /usr/share/bleachbit/bleachbit.py[/B]
    #!/usr/bin/env python
    
    {...snip...}
    
    import os
    import sys
    
    if 'posix' == os.name and os.path.isdir('/usr/share/bleachbit'):
        # This path contains bleachbit/{C,G}LI.py .  This section is
        # unnecessary if installing BleachBit in site-packages.
        sys.path.append('/usr/share/')
    
    if 1 == len(sys.argv):
        import gtk
        try:
            gtk.gdk.Screen().get_display()
        except RuntimeError:
            print "Could not open X display"
            sys.exit(1)
        import bleachbit.GUI
        gui = bleachbit.GUI.GUI()
        gtk.main()
    else:
        import bleachbit.CLI
        bleachbit.CLI.process_cmd_line()
    Bleachbit is a Gtk application likely intended for GNOME systems. If perhaps you don't have enough of Gtk installed, the line gtk.gdk.Screen().get_display() is failing somehow?

    ...Steve

    Leave a comment:


  • Qqmike
    replied
    Still a bit preoccupied setting up 14.04, I do intend to chase down this glitch (although whatthefunk probably would have found a solution is there were one), but I'll post this for inquiring tech minds as I continue to ponder:

    ~$ kdesudo bleachbit
    kdesudo(18196) KDESu::KDESuPrivate::KCookie::getXCookie: No X authentication info set for display ":0"

    Bus: : open: Can not get ibus-daemon's address.
    IBusInputContext::createInputContext: no connection to ibus-daemon
    No protocol specified
    /usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
    warnings.warn(str(e), _gtk.Warning)
    Could not open X display


    (Btw, I do not have this problem in 12.04.)

    Leave a comment:


  • whatthefunk
    replied
    Same here. Tried running it over the weekend with no luck.

    Leave a comment:


  • Qqmike
    started a topic Bleachbit as root fails to launch

    Bleachbit as root fails to launch

    Ref: https://www.kubuntuforums.net/showth...ails-to-launch

    Just installed 14.04 and having the same problem described in OP. (No problem, though, in 12.04.)
    Still observing this; anyone have input, please post!

    For example, deleting .Xauthority ... in user account: when to do this? Do it and re-boot?
    Last edited by Snowhog; Oct 02, 2014, 10:26 PM.

Users Viewing This Topic

Collapse

There are 0 users viewing this topic.

Working...
X