You are not logged in.

#1 2007-12-27 22:03:54

BrettRS
Member
Registered: 2007-11-28
Posts: 4

Gksu, Kdesu Alternatives?

I was wondering if anyone knew of any Gksu or Kdesu alternatives.. reason being is I find that gksu depends on some gnome dependencies (at least for me) and I'm trying to use as little gnome/kde dependencies as possible.

Thanks,

Brett

Offline

#2 2007-12-27 22:29:59

barry
Member
Registered: 2007-11-27
Posts: 39

Re: Gksu, Kdesu Alternatives?

I use sudo and run everything from a terminal.

Offline

#3 2007-12-28 00:15:16

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: Gksu, Kdesu Alternatives?

Yeah, sudo should be enough. Even when I'm on GNOME or KDE I always use sudo.


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#4 2007-12-28 01:03:38

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Gksu, Kdesu Alternatives?

You can also use sudo <gui app> in some window managers. For instance in E17, I use sudo with both Thunar and Scite for occasional tasks.

Offline

#5 2007-12-28 05:05:19

synorgy
Member
From: $HOME
Registered: 2005-07-11
Posts: 272
Website

Re: Gksu, Kdesu Alternatives?

The problem I believe he is having is the same I'm experiencing. Imagine this:

launch gmrun via a keyboard shortcut
input some command (sudo thunar for instance)
If you haven't already verified this session with sudo (by entering your password the first time after you log in), The process will never launch as it never recieves your password.

gksudo pops up a dialog, whereas sudo does not. sudo expects to be launched from an interactive terminal and kinda freaks out when it is launched from some non-persistently interactive location.


"Unix is basically a simple operating system, but you have to be a genius to understand the simplicity." (Dennis Ritchie)

Offline

#6 2007-12-28 08:39:49

onearm
Member
From: Anywhere but here
Registered: 2006-07-06
Posts: 359
Website

Re: Gksu, Kdesu Alternatives?

Using sudo without needing to insert a password?
Something like this in /etc/sudoers:

$yourusername localhost = (ALL) NOPASSWD: SETENV: ALL

not the most secure way to do it but you should at least trust yourself smile


To get something done, a committee should consist of no more than three persons, two of them absent.
--
My Github

Offline

#7 2007-12-28 11:28:03

BrettRS
Member
Registered: 2007-11-28
Posts: 4

Re: Gksu, Kdesu Alternatives?

synorgy wrote:

The problem I believe he is having is the same I'm experiencing. Imagine this:

launch gmrun via a keyboard shortcut
input some command (sudo thunar for instance)
If you haven't already verified this session with sudo (by entering your password the first time after you log in), The process will never launch as it never recieves your password.

gksudo pops up a dialog, whereas sudo does not. sudo expects to be launched from an interactive terminal and kinda freaks out when it is launched from some non-persistently interactive location.

Freaks out is an understatement for me.. my whole box freezes and refuses to respond; forcing me to do a hard restart.

Offline

#8 2007-12-29 18:42:40

tami
Member
From: Norway, Oslo
Registered: 2007-11-10
Posts: 58
Website

Re: Gksu, Kdesu Alternatives?

How about sux?

community/sux 1.0.1-1
    A wrapper around su which will transfer your X credentials

It works at least here wink

All the best,

tami


"Possession means worries and luggage bags one has to drag along." Little My wink

Offline

Board footer

Powered by FluxBB