[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KTextBrowser urlClick() opens konqueror as su!
From:       Karim Ryde <karim () bredband ! net>
Date:       2006-01-11 18:14:32
Message-ID: 200601111914.33011.karim () bredband ! net
[Download RAW message or body]

How about using dcop server? Add openUrl to kdesktop which is run as user.
Just speculating...

On Wednesday 11 January 2006 16:48, Joseph Kerian wrote:
> On 1/9/06, David Faure <faure@kde.org> wrote:
> > On Monday 09 January 2006 09:31, Karim Ryde wrote:
> > > Hi!
> > >
> > > I'm using KTextBrowser with the nice feature of having clickable url,
> > > but when running my app with kdesu konqueror will also run as su.
> > > Is there anyway to prevent this?
> >
> > I don't think so; how would the app know which user id you want to open
> > konqueror with? The app is running as root, so anything it launches runs
> > as root, unless you modify the command to launch the app; but even then
> > you'll have to solve the problem of finding the uid to use...
>
> From the command line... kdesu can specify a user... after that's been
> done, there seems to be an environment variable set named KDESU_USER
> (at least when I 'kdesu konsole'). This would seem to indicate that
> you could kdesu down to that user again. Although I have to admit I'm
> not certain how.
>
> Regards,
> Joe
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic