When I try skype --secondary, I get:
Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "unity-gtk-module"
With sudo nautilus I get:
(nautilus:15683): Gtk-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
And I also get some other GTK+ warnings when installing for example VMware or other programs.
I get these errors, but everything works just fine, but I want to know why is this happening and how can I resolve this.
pkexecneeds to be configured first to launch graphical applications. You would usually usegksudoor at leastsudo -Hinstead. – Byte Commander Oct 26 '15 at 13:57gksudo(the original) is AFAIK deprecated. And the newgksuis using PolicyKit as its backend. – meskobalazs Oct 26 '15 at 14:18