Centos – Banish a popup error message

centosnotifications

I am connected through VNC to a CentOS 6.4 machine at my workplace. Every five minutes a box pops up that says:

Authentication is required to set the network proxy used for downloading packages

An application is attempting to perform an action that requires privleges. Authentication as the super user is required to perform this action

Password for root:

Details

Role unknown

Action: org.freedesktop.packagekit.system-network-proxy-configure

Vendor: The PackageKit Project

[Cancel] [Authenticate]

I don't have the root password, so usually I just click it an make it go away but it tends to come back a few minutes later. My local sysadmin has tried to deal with the problem a few times and given up and told me just to keep closing the popup box. That said, its driving me nuts. Is there some way I can make it so I don't have to see the popup, even if the problem isn't itself fixed? Less preferably, is there some very easy thing I can tell the sysadmin to do to actually fix the problem?

Best Answer

I hope you're not one of my users haha! I manage a cluster and this particular warning has been bugging me for a while. I've been trying to figure out a way to fix this programatically on the command line with little success. This error comes from something bundled in gnome-packagekit.

I have come across three solutions to this problem

  1. disable /yum/pluginconf.d
    [main] enabled=0 This has not worked for me.

  2. Today I found a different answer on the redhat solutions page and I believe that this one works! just add X-GNOME-Autostart-enabled=false to the end of the /etc/xdg/autostart/gpk-update-icon.desktop file. I restarted vnc after this and have the popup has not returned.

Unfortunately both solutions so far have required root on the box. I do not believe that the following procedure requires root. But I never tried it since it's done via the GUI:

  1. Launch a Terminal Console and type gnome-session-properties and then uncheck the PackageKit Update Applet.

gnome something screenshot

sources :

Related Question