Announcement

Collapse
No announcement yet.

adept not working

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

    adept not working

    I'm using kubuntu 7.10 of course (originally a ubuntu install with kubntu-desktop added) and I'm unable to get adept to work. For instance, the update notification will appear in the sys tray but when I click on it the program times-out while loading. Or, if I click on add/remove programs, adept will time out.

    Is it possible to (by command line with apt-get) remove adept then re-install it? Or is there a more robust fix?

    #2
    Re: adept not working

    How about reinstalling from Synaptic ? I use Kubuntu, including the adept updates manager, but I do 99% of the software installs with Synaptic. I find it more reliable and intuitive, and I love that it allows to keep a history of past transactions (very useful to undo things down the road)

    Also, maybe try running adept from the command line and see what output you get. I think the syntax is "kdesu adept"

    HTH!

    Comment


      #3
      Re: adept not working

      Are you experiencing the same behavior when trying to open Adept Manager (K Menu | Systems | Adept Manager)? Are you prompted for your password, or does the prompt not come up? If the latter, retry it again, and are you then presented with the password prompt?

      There is a 'timing' issue that has/does show up in Gutsy when accessing a GUI app that requires your password.
      Windows no longer obstructs my view.
      Using Kubuntu Linux since March 23, 2007.
      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

      Comment


        #4
        Re: adept not working

        When I try to open Adept Manager the password prompt appears but like the update app the manager fails to appear. I thought about synaptic as well but that doesn't appear either. The Add/Remove programs that is default in ubuntu works (it's in python right?). Update Manager does as well. Is it possible to run this app as a service in kde?

        Comment


          #5
          Re: adept not working

          Re: Bouncing icon
          Don't let the link topic fool you. It deals directly with apps that require password entry not opening after the password is given.
          Windows no longer obstructs my view.
          Using Kubuntu Linux since March 23, 2007.
          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

          Comment


            #6
            Re: adept not working

            That doesn't solve my problem with adept update.

            Comment


              #7
              Re: adept not working

              Let's try some generic troubleshooting.
              Open Konsole and execute "kdesu kate". Post back with what it does and what it prints to the terminal.
              For external use only.

              Comment


                #8
                Re: adept not working

                And maybe also "kdesu adept" or "kdesu sybaptic" too. It might be a problem with you configuratino, maybe both adept and synaptic get stuck when trying to load the sources. Also, what happens if you do in a terminal "sudo apt-get update" ? (this command reloads all the repositories, it does not install anything). You may need to do "dpkg --reconfigure -a" if your apt-get is stuck ...

                Comment


                  #9
                  Re: adept not working

                  Seems the problem has been targeted. I tried SheeEttin's suggestion with the end result being:

                  kate: cannot connect to X server :0.0

                  There was output before this, but I was prompted for my password before hand. None the less, the intial output:

                  X Error: BadDevice, invalid or uninitialized input device 171
                  Major opcode: 149
                  Minor opcode: 3
                  Resource id: 0x0
                  Failed to open device
                  X Error: BadDevice, invalid or uninitialized input device 171
                  Major opcode: 149
                  Minor opcode: 3
                  Resource id: 0x0
                  Failed to open device
                  Xlib: connection to ":0.0" refused by server
                  Xlib:
                  No protocol specified

                  Comment


                    #10
                    Re: adept not working

                    Weird! Did you type kdesu before Kate ? What happens if you run "xhost +" as a regular user before running kate as root ? This should allow any client to open a window under the xserver. But I thought this should not be necessary (and it's not a safe policy as a general rule).

                    Comment


                      #11
                      Re: adept not working

                      i ran "xhost +" as a regular user and received this feedback:

                      access control disabled, clients can connect from any host

                      I then rate kdesu kate and kate opened after a delay...

                      X Error: BadDevice, invalid or uninitialized input device 171
                      Major opcode: 149
                      Minor opcode: 3
                      Resource id: 0x0
                      Failed to open device
                      X Error: BadDevice, invalid or uninitialized input device 171
                      Major opcode: 149
                      Minor opcode: 3
                      Resource id: 0x0
                      Failed to open device
                      passprompt


                      X Error: BadDevice, invalid or uninitialized input device 171
                      Major opcode: 149
                      Minor opcode: 3
                      Resource id: 0x0

                      Failed to open device

                      X Error: BadDevice, invalid or uninitialized input device 171
                      Major opcode: 149
                      Minor opcode: 3
                      Resource id: 0x0

                      Failed to open device

                      /usr/bin/iceauth: creating new authority file /root/.ICEauthority

                      X Error: BadDevice, invalid or uninitialized input device 171
                      Major opcode: 149
                      Minor opcode: 3
                      Resource id: 0x0

                      Failed to open device

                      X Error: BadDevice, invalid or uninitialized input device 171
                      Major opcode: 149
                      Minor opcode: 3
                      Resource id: 0x0

                      Failed to open device

                      kbuildsycoca running...

                      kio (KService*): WARNING: Invalid Service : media_decrypt.desktop

                      Invalid entry (missing '=') at /tmp/kde-root/kconf_updateOKjUca.tmp:1

                      kdecore (KProcess): WARNING: _attachPty() 11

                      I wonder if i should reconfig the x.org file (per the reconfig line in x.org) or just re-install kubuntu-desktop? What does "xhost +" allow or why is it not exactly secure and how can i return it to a more secure state? Also, adept(update/add-remove) work now.



                      p.s. thanks for all the input. it is greatly appreciated.

                      Comment


                        #12
                        Re: adept not working

                        I am not really a guru in X security or config. My quick reaction is that if you are running Kubuntu at home, behind a firewall, you should be fine AFAICT. The security issues of xhost + have to do with having other people in your local network being able to access your display. See here for instance:
                        http://www.ocf.berkeley.edu/help/X_W.../security.html

                        I'm on a trip now, and don't have Kubuntu handy to test (running default xandros on my eeepc). My best guess is that, as you suggest, something is wrong in your configuration. Sudoing to run Synaptic and friends is supported flawlessly in a vanilla install. I am not sure what to suggest next. Maybe add a new user and see if the new user has the same issue. There may be something odd in your /home/username ...

                        Best luck!

                        Comment


                          #13
                          Re: adept not working

                          Try opening a terminal and enter sudo dpkg --configure -a . Close the terminal and try to open Adept Package Manager. You can copy and paste the command to make sure it is entered correctly. That may work.

                          Comment


                            #14
                            Re: adept not working

                            Yeah, I noticed xhost + isn't a permanent change. Anyway, I'm just going to re-install kubuntu and forget about it. Thanks for all the input.

                            Comment

                            Working...
                            X