You are not logged in.

#1 2013-12-02 19:59:09

HenryJia
Member
Registered: 2013-11-30
Posts: 19

Alternative to kdesu?

Hi guys,

Well I'm trying to use finger print scanner on my laptop and I have installed fingerprint-gui and it works perfectly smile

My problem is that whenever I try to run something like wicd by clicking on its icon, it asks for the root password through kdesu (as I am running kdm).
Kdesu is kinda buggy with fingerprint scanners as it freezes after I type the password or swipe my finger.
Are there any alternatives to kdesu which I can try which might not have these problems?


Amateur C++ coder
Java Beginner
Linux & Windows power user

Offline

#2 2013-12-02 22:04:02

Sanne
Member
Registered: 2012-03-13
Posts: 87

Re: Alternative to kdesu?

There's a comand line tool called sux, which is "a wrapper around su which will transfer your X credentials". I'm using it in one of my for-play virtualbox Linux installs to start graphical applications, works fine.

There's also gksu, the GTK equivalent of kdesu.

Last edited by Sanne (2013-12-02 22:05:57)


If our currency were not money but appreciation and acknowledgement for what we do for others, for the community, for the benefit of all, we would have paradise on earth.

Offline

#3 2013-12-03 00:10:38

HenryJia
Member
Registered: 2013-11-30
Posts: 19

Re: Alternative to kdesu?

ok, I installed sux how do I remove kdesu?


Amateur C++ coder
Java Beginner
Linux & Windows power user

Offline

#4 2013-12-03 00:18:38

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Re: Alternative to kdesu?

Or you could use the very simple but reliable method of:
- install dmenu or dmenu2
- at startup set the environment variable SUDO_ASKPASS=/path/dudo
- install /path/dudo script:

#!/bin/bash
# dudo : Helps 'sudo --askpass' prompt (with text $1) for a password when $SUDO_ASKPASS=/path/dudo
# Refs: https://bbs.archlinux.org/viewtopic.php?pid=777137#p777137 and 'man sudo'
#       https://bitbucket.org/melek/dmenu2

m=${DMENU:-dmenu -i}; p=${1:-Password}

# Standard dmenu version
$m -p "$p" -nf '#xxxxxx -nb '#xxxxxx' <&- && echo  # edit: set xxxxxx to desired colour - will be invisible anyway

# Slicker dmenu2 version
# $m -p "$p" -noinput -mask && echo

wink

Last edited by ninian (2013-12-03 00:19:36)

Offline

#5 2013-12-03 21:31:02

HenryJia
Member
Registered: 2013-11-30
Posts: 19

Re: Alternative to kdesu?

Ok, but how do I remove KDE SU which is my existing authentication thingy as I noticed that KDESU is not a package in pacman.


Amateur C++ coder
Java Beginner
Linux & Windows power user

Offline

#6 2013-12-03 22:05:47

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Re: Alternative to kdesu?

HenryJia wrote:

Ok, but how do I remove KDE SU which is my existing authentication thingy as I noticed that KDESU is not a package in pacman.

See file list for kdebase-runtime, where usr/bin/kdesu is listed. Don't use KDE myself, but it looks as though it's part of the essential KDE base.

Offline

Board footer

Powered by FluxBB