having problem starting progs that need my password to start up in admin. Sometimes they work but not all time.

Asked by johnbeveridge

if i start a prog that needs my admin password they dont start up.

starting admin appears at bottom panel then all just dissapears.

no prog starts.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu sudo Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Run:
gksudo appname

e.g.
gksudo nautilus

What is output?

Revision history for this message
johnbeveridge (johnbeveridge06) said :
#2

root@john-Inspiron-1010:/home/john# gksudo nautilus
Initializing nautilus-open-terminal extension
Initializing nautilus-ideviceinfo extension
** Message: Initializing gksu extension...
Initializing nautilus-gdu extension

** (nautilus:4101): WARNING **: Failed to get the current CK session: GDBus.Error:org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to lookup session information for process '4101'

(nautilus:4101): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#3

You don't need gksudo if you have a root shell running. You already have the access.

Revision history for this message
johnbeveridge (johnbeveridge06) said :
#4

Thanks actionparsnip, that solved my question.