trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: September 2011

Re: [trinity-users] kdesu in Trinity

From: "Mag. Dr. Nikolaus Klepp" <office@...>
Date: Sun, 25 Sep 2011 14:52:28 +0200
Am Sonntag, 25. September 2011 schrieb Lisi:
> On Sunday 25 September 2011 12:39:12 Mag. Dr. Nikolaus Klepp wrote:
> > Am Sonntag, 25. September 2011 schrieb Lisi:
> > > I have TDE running on Squeeze.  I need to run wireshark as root.  Can
> > > I? Or have I hit a fatal flaw in Trinity? :-(
> > >
> > > I.e.  has anyone got a viable workaround for it (other than learn how
> > > to set sudo up.)
> >
> > you'll need sudo-trinity instead of sudo.
>
> Thanks Nic, but I don't want to have to use sudo at all if I can avoid it. 
> I want to use su with a gui, which means kdesu since I am running Debian
> and Trinity, and I am hoping that someone has a workaround that I can use
> to do it.

If i remember right, kdesu is from KDE4, not trinity. Trinity comes with 
kdesudo.

but if it's just wireshark, then you can write a wrapper script, create a 
shortcut which calles the script using a terminal (for the root password), 
something like this:


#!/bin/sh
xhost +localhost
su -c "DISPLAY=:0 wireshark &"
exit

nik

>
> Lisi
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> trinity-users-unsubscribe@... For additional
> commands, e-mail: trinity-users-help@... Read list
> messsages on the Web archive: http://trinity-users.pearsoncomputing.net/
> Please remember not to top-post:
> http://trinity.pearsoncomputing.net/mailing_lists/#top-posting



-- 

Mag. Dr. Nikolaus Klepp
Einnehmerstraße 14
A-4810 Gmunden
Tel.: +43 650 82 11 724
email: office@...