[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Start Synaptic with user password (NOT root password)



On Wed, Oct 23, 2013 at 12:57 AM, Ralf Mardorf
<ralf.mardorf@alice-dsl.net> wrote:
> On Tue, 2013-10-22 at 20:34 -0400, Frank McCormick wrote:
>>
>> I have also had this problem for a while - I thought it was related to
>> Mate which I run.
>> gksudo will run it here...but pkexec will not.
>
> I don't know pkexec. Does it allow something gksudo doesn't allow?
> If there should be the need to log in as another user with gksudo, this
> does the trick:
>
> xhost +
> gksudo -u add_another_user_here "$*"
> xhost -
> exit

"xhost +" is a sledge-hammer.

"xhost +si:localuser:another_user"


Reply to: