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

    #61
    What do I do with those two commands?
    An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

    Comment


      #62
      Sorry... run them and post the outputs here.

      Comment


        #63
        There was a typo in the second command. Please refresh the screen to get the latest.

        Comment


          #64
          OK. The first is running now--taking awhile.
          An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

          Comment


            #65
            Yep, searching through a lot of files. Is your machine SSD? If not, prepare to wait!

            Comment


              #66
              sudo grep -isR xauthority /etc /bin /sbin /lib /lib32 /lib64 /usr/bin /usr/sbin /usr/lib /usr/lib32 /usr/lib64 /opt

              Code:
              mike@mike-desktop14:~$ sudo grep -isR xauthority /etc /bin /sbin /lib /lib32 /lib64 /usr/bin /usr/sbin /usr/lib /usr/lib32 /usr/lib64 /opt
              [sudo] password for mike: 
              /etc/acpi/powerbtn.sh:                export XAUTHORITY=$userhome/.Xauthority
              /etc/acpi/powerbtn.sh:                export XAUTHORITY=""
              Binary file /etc/alternatives/kdesu matches
              /etc/apparmor.d/abstractions/X:  # .Xauthority files required for X connections, per user
              /etc/apparmor.d/abstractions/X:  owner @{HOME}/.Xauthority r,
              /etc/apparmor.d/usr.lib.telepathy:    owner @{HOME}/.Xauthority r,
              Binary file /bin/su matches
              Binary file /lib/i386-linux-gnu/security/pam_xauth.so matches
              /usr/bin/startx:    if [ x"$XAUTHORITY" = x ]; then
              /usr/bin/startx:        XAUTHORITY=$HOME/.Xauthority
              /usr/bin/startx:        export XAUTHORITY
              Binary file /usr/bin/gpg-agent matches
              Binary file /usr/bin/pkexec matches
              Binary file /usr/bin/gpg2 matches
              Binary file /usr/bin/symcryptrun matches
              Binary file /usr/bin/kdeinit4 matches
              Binary file /usr/bin/gnome-keyring-daemon matches
              Binary file /usr/bin/gpgsm matches
              Binary file /usr/bin/kdesudo matches
              Binary file /usr/bin/gpg-connect-agent matches
              Binary file /usr/sbin/lightdm matches
              Binary file /usr/lib/gnupg2/gpg-protect-tool matches
              Binary file /usr/lib/gnupg2/gpg-preset-passphrase matches
              Binary file /usr/lib/i386-linux-gnu/libXau.so.6 matches
              Binary file /usr/lib/i386-linux-gnu/libXp.so.6.2.0 matches
              Binary file /usr/lib/i386-linux-gnu/libbonobo-activation.so.4.0.0 matches
              Binary file /usr/lib/i386-linux-gnu/libbonobo-activation.so.4 matches
              Binary file /usr/lib/i386-linux-gnu/libXp.so.6 matches
              Binary file /usr/lib/i386-linux-gnu/libXau.so.6.0.0 matches
              Binary file /usr/lib/sudo/sudoers.so matches
              Binary file /usr/lib/kde4/libexec/kdesu matches
              Binary file /usr/lib/kde4/libexec/kdesu_stub matches
              Binary file /usr/lib/python3/dist-packages/DistUpgrade/__pycache__/DistUpgradeViewKDE.cpython-34.pyc matches
              /usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeViewKDE.py:        #kdesu requires us to copy the xauthority file before it removes it when Adept is killed
              /usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeViewKDE.py:        if 'XAUTHORITY' in os.environ and os.environ['XAUTHORITY'] != copyXauth:
              /usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeViewKDE.py:            shutil.copy(os.environ['XAUTHORITY'], copyXauth)
              /usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeViewKDE.py:            os.environ["XAUTHORITY"] = copyXauth
              Binary file /usr/lib/ConsoleKit/ck-collect-session-info matches
              Binary file /usr/lib/libreoffice/program/libswlo.so matches
              Binary file /usr/lib/libreoffice/program/libswuilo.so matches
              mike@mike-desktop14:~$
              Still, an error in the second one (I refreshed twice).

              Code:
              mike@mike-desktop14:~$ ps $(sudo grep -lsz '^XAUTHORITY=' /proc/*/environ | cut -d / -f 3)
              error: process ID list syntax error
              
              Usage:
               ps [options]
              
               Try 'ps --help <simple|list|output|threads|misc|all>'
                or 'ps --help <s|l|o|t|m|a>'
               for additional help text.
              
              For more details see ps(1).
              An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

              Comment


                #67
                No SSD here. 2009 build, E8400, 320 GB Seagate HDD! But it got it OK, finally.
                An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                Comment


                  #68
                  The first output isn't significantly different than mine, except that I can tell you're using LightDM. I don't -- I installed KDM and removed LightDM. So one thing to investigate further is whether LightDM is creating the environment variable.

                  Attention, readers: how many of you here have this variable? Please check: run printenv | grep XAUTHORITY and report your findings.


                  Originally posted by Qqmike View Post
                  Still, an error in the second one (I refreshed twice).
                  That's weird...works fine on my machine. The part inside the $() finds the PIDs of every program that sets the variable XAUTHORITY. I'm just sending it to ps so that we can see the actual programs. Let's just try the inside part. What do you see when you run that?
                  Code:
                  sudo grep -lsz '^XAUTHORITY=' /proc/*/environ | cut -d / -f 3

                  Comment


                    #69
                    Code:
                    mike@mike-desktop14:~$ sudo grep -lsz '^XAUTHORITY=' /proc/*/environ | cut -d / -f 3
                    23836
                    23953
                    23957
                    23961
                    23969
                    23980
                    23982
                    23984
                    24047
                    24102
                    24108
                    24109
                    24111
                    24120
                    24130
                    24135
                    24136
                    24149
                    24155
                    24161
                    24165
                    24168
                    24192
                    24194
                    24197
                    24199
                    24246
                    24251
                    24257
                    24263
                    24275
                    24282
                    24291
                    24292
                    24299
                    24302
                    24307
                    24308
                    24325
                    24334
                    24382
                    24707
                    24710
                    24743
                    25402
                    25403
                    self
                    mike@mike-desktop14:~$
                    An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                    Comment


                      #70
                      Try this version.
                      Code:
                      ps $(sudo grep -lsz '^XAUTHORITY=' /proc/[0-9]*/environ | cut -d / -f 3)
                      Me and my damn regex shortcuts...

                      Comment


                        #71
                        Code:
                        mike@mike-desktop14:~$ ps $(sudo grep -lsz '^XAUTHORITY=' /proc/[0-9]*/environ | cut -d / -f 3)
                          PID TTY      STAT   TIME COMMAND
                        23836 ?        Ss     0:00 init --user
                        23953 ?        Ss     0:00 ssh-agent -s
                        23957 ?        Ss     0:00 gpg-agent --daemon --sh
                        23961 ?        Ss     0:00 dbus-daemon --fork --session --address=unix:abstract=
                        23969 ?        Ss     0:00 upstart-event-bridge
                        23980 ?        S      0:00 upstart-file-bridge --daemon --user
                        23982 ?        S      0:00 upstart-dbus-bridge --daemon --session --user --bus-n
                        23984 ?        S      0:00 upstart-dbus-bridge --daemon --system --user --bus-na
                        24047 ?        Ss     0:00 /bin/sh /usr/bin/startkde
                        24102 ?        S      0:00 /usr/lib/kde4/libexec/start_kdeinit +kcminit_startup
                        24108 ?        Ss     0:00 kdeinit4: kdeinit4 Running...                  
                        24109 ?        S      0:00 kdeinit4: klauncher [kdeinit] --fd=9           
                        24111 ?        Sl     0:01 kdeinit4: kded4 [kdeinit]                      
                        24120 ?        S      0:00 /usr/bin/kglobalaccel
                        24130 ?        Sl     0:00 /usr/bin/kactivitymanagerd
                        24135 ?        S      0:00 kwrapper4 ksmserver
                        24136 ?        Sl     0:00 kdeinit4: ksmserver [kdeinit]                  
                        24149 ?        Sl     0:14 kwin -session 1013617513f1480001412179659000000190600
                        24155 ?        Sl     0:07 /usr/bin/plasma-desktop
                        24161 ?        SNl    0:00 /usr/bin/baloo_file
                        24165 ?        S      0:00 /usr/bin/kuiserver
                        24168 ?        Sl     0:00 /usr/lib/telepathy/mission-control-5
                        24192 ?        Sl     0:00 /usr/bin/krunner
                        24194 ?        Sl     0:00 /usr/bin/kmix -session 1013617513f1480001412179674000
                        24197 ?        S<l    0:00 /usr/bin/pulseaudio --start --log-target=syslog
                        24199 ?        Sl     0:56 skype -session 1013617513f148000141227097200000018430
                        24246 ?        Sl     0:00 /usr/bin/zeitgeist-datahub
                        24251 ?        Ss     0:00 /usr/bin/python /usr/bin/hp-systray -x
                        24257 ?        Sl     0:00 /usr/bin/zeitgeist-daemon
                        24263 ?        Sl     0:00 /usr/lib/i386-linux-gnu/zeitgeist-fts
                        24275 ?        S      0:00 /bin/cat
                        24282 ?        Sl     0:00 /usr/lib/gvfs/gvfsd
                        24291 ?        Sl     0:00 /usr/lib/kde4/libexec/polkit-kde-authentication-agent
                        24292 ?        S      0:00 /usr/bin/klipper
                        24299 ?        Sl     2:05 /usr/lib/firefox/firefox
                        24302 ?        Sl     0:00 /usr/bin/knotify4
                        24307 ?        S      0:00 /usr/bin/python /usr/bin/hp-systray -x
                        24308 ?        S      0:00 /usr/bin/python /usr/bin/hp-systray -x
                        24325 ?        Sl     0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
                        24334 ?        Sl     0:00 /usr/lib/firefox/plugin-container /usr/lib/flashplugi
                        24382 ?        S      0:00 /usr/lib/i386-linux-gnu/gconf/gconfd-2
                        24707 ?        Sl     0:04 /usr/bin/konsole
                        24710 pts/1    Ss     0:00 /bin/bash
                        24743 ?        Sl     0:03 /usr/bin/kate -b
                        mike@mike-desktop14:~$
                        An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                        Comment


                          #72
                          Of course, it's Greek to me
                          An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                          Comment


                            #73
                            Wow, that's a lot! Here's mine:
                            Code:
                            steve@t520:~$ [B]ps $(sudo grep -lsz '^XAUTHORITY=' /proc/[0-9]*/environ | cut -d / -f 3)[/B]
                              PID TTY      STAT   TIME COMMAND
                            16492 pts/3    S      0:00 dbus-launch --autolaunch b7b70882192347bc72f5a9a3536e82d9 --binary-syntax --close-stderr
                            16493 ?        Ss     0:00 //bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
                            16498 ?        Ss     0:00 kdeinit4: kdeinit4 Running...
                            16501 ?        S      0:00 kdeinit4: klauncher [kdeinit] --fd=8
                            16504 ?        S      0:00 kdeinit4: kded4 [kdeinit]
                            16513 ?        Sl     0:00 /usr/bin/kactivitymanagerd
                            Need to ponder for a bit. Let's resume later.

                            BTW, why are you running the Zeitgeist framework? That's GNOME's search mechanism, not used anywhere in KDE. Do you have some important GNOME or Gtk programs installed? Same with GVFS -- that's the user-space file system handler, not used in KDE.

                            Comment


                              #74
                              "Do you have some important GNOME or Gtk programs installed? Same with GVFS -- that's the user-space file system handler, not used in KDE."

                              Hmm. Not that I know of. Haven't installed much of anything here.
                              Kaffeine, VLC, Cheese, Firefox, T-Bird, ... GParted, Bleachbit, Skype, hplip, ... not much of anything exciting thus far.

                              OK, we can put it down tonight. Thanks for working on this tonight!
                              An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                              Comment


                                #75
                                Bleachbit = gtk, GNOME, right?
                                An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                                Comment

                                Working...
                                X