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.
Announcement
Collapse
No announcement yet.
Bleachbit as root fails to launch
Collapse
This topic is closed.
X
X
-
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
- Top
- Bottom
Leave a comment:
-
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.
- Top
- Bottom
Leave a comment:
-
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).)
- Top
- Bottom
Leave a comment:
-
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*
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?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()
...Steve
- Top
- Bottom
Leave a comment:
-
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.)
- Top
- Bottom
Leave a comment:
-
Same here. Tried running it over the weekend with no luck.
- Top
- Bottom
Leave a comment:
-
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.Tags: None
- Top
- Bottom
Users Viewing This Topic
Collapse
There are 0 users viewing this topic.
Leave a comment: