You are not logged in.

#1 2010-06-18 22:04:44

GodofAnotherWorld
Member
Registered: 2010-06-18
Posts: 5

[SOLVED] Problem with gksudo

Well first of all I'm not sure if I'm posting in the right section tongue but heres my problem. Whenever I use the gksudo command I get an error saying the command wasn't found.

$ gksudo
-bash: gksudo: command not found

Last edited by GodofAnotherWorld (2010-06-18 23:35:19)

Offline

#2 2010-06-18 22:34:07

sisco311
Member
From: Romania
Registered: 2008-05-23
Posts: 112

Re: [SOLVED] Problem with gksudo

Did you install gksu? Is /us/bin in your PATH variable?


don't drink unwashed fruit juice.
i never make predictions, especially about the future.

Offline

#3 2010-06-18 22:44:52

GodofAnotherWorld
Member
Registered: 2010-06-18
Posts: 5

Re: [SOLVED] Problem with gksudo

I can't install it through pacman I always thought it came default with gnome. What do you mean by PATH variable?

Offline

#4 2010-06-18 22:53:06

sisco311
Member
From: Romania
Registered: 2008-05-23
Posts: 112

Re: [SOLVED] Problem with gksudo

GodofAnotherWorld wrote:

I can't install it through pacman I always thought it came default with gnome.

Why? it's in the extra repo.

GodofAnotherWorld wrote:

What do you mean by PATH variable?

http://www.gentoo.org/doc/en/handbook/h … t=2&chap=5


don't drink unwashed fruit juice.
i never make predictions, especially about the future.

Offline

#5 2010-06-18 22:54:56

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Problem with gksudo

this days gksu/gksudo is not needed in gnome. they have other mechanism to gain root permission(hint consolekit and polkit)


Give what you have. To someone, it may be better than you dare to think.

Offline

#6 2010-06-18 23:03:59

sisco311
Member
From: Romania
Registered: 2008-05-23
Posts: 112

Re: [SOLVED] Problem with gksudo

wonder wrote:

this days gksu/gksudo is not needed in gnome. they have other mechanism to gain root permission(hint consolekit and polkit)

Yep, the new gksu will use PolicyKit as backend, instead of su and sudo.


don't drink unwashed fruit juice.
i never make predictions, especially about the future.

Offline

#7 2010-06-18 23:08:52

GodofAnotherWorld
Member
Registered: 2010-06-18
Posts: 5

Re: [SOLVED] Problem with gksudo

Oh, well that's depressing lol, I've always used the code:

# gksudo -u gdm dbus-launch gnome-appearance-properties

to edit my gdm backgrounds and themes, even in ubuntu 10.04, but I guess I'll find other ways.

Offline

#8 2010-06-18 23:15:30

sisco311
Member
From: Romania
Registered: 2008-05-23
Posts: 112

Re: [SOLVED] Problem with gksudo

GodofAnotherWorld wrote:

Oh, well that's depressing lol, I've always used the code:

# gksudo -u gdm dbus-launch gnome-appearance-properties

to edit my gdm backgrounds and themes, even in ubuntu 10.04, but I guess I'll find other ways.

I still don't understand why you can't install gksu, but you can use sudo:

sudo -u gdm dbus-launch gnome-appearance-properties

Last edited by sisco311 (2010-06-18 23:18:08)


don't drink unwashed fruit juice.
i never make predictions, especially about the future.

Offline

#9 2010-06-18 23:26:08

GodofAnotherWorld
Member
Registered: 2010-06-18
Posts: 5

Re: [SOLVED] Problem with gksudo

Haha ok now I feel stupid, I've been trying to install gksudo this whole time and not gksu roll .

Offline

#10 2010-06-18 23:32:57

sisco311
Member
From: Romania
Registered: 2008-05-23
Posts: 112

Re: [SOLVED] Problem with gksudo

GodofAnotherWorld wrote:

Haha ok now I feel stupid, I've been trying to install gksudo this whole time and not gksu roll .

lol smile

gksu is a graphical frontend for su and sudo. 

gksudo is just a symlink to gksu. wink

Please mark this thread as [SOLVED].

Simply edit the original post by clicking on the 'edit' button at the lower right corner of it and prepend [SOLVED] to the title.

Thanks.


EDIT: If memory serves the default Authentication Mode for gksu in Arch is set to su, if you wish you can change it to sudo:

gksu-properties

Last edited by sisco311 (2010-06-18 23:36:25)


don't drink unwashed fruit juice.
i never make predictions, especially about the future.

Offline

#11 2010-06-18 23:35:41

GodofAnotherWorld
Member
Registered: 2010-06-18
Posts: 5

Re: [SOLVED] Problem with gksudo

Ok, thanks for your help smile .

Offline

Board footer

Powered by FluxBB