trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: December 2015

Re: [trinity-users] Superuser rights problem

From: Lisi Reisz <lisi.reisz@...>
Date: Wed, 30 Dec 2015 22:58:28 +0000
On Wednesday 30 December 2015 21:40:45 Thierry de Coulon wrote:
> On Wednesday 30 December 2015 19.59:42 Michele Calgaro wrote:
> (...)
>
> > > Now I've got a small problem with superuser rights with  some programs.
> > > Until now kpackage-trinity and Gostcrypt have shown this behaviour:
> > >
> > > - if I start the program (from TDE), at some point it will ask for the
> > > password. Neither the root password nor the user password work.
> > >
> > > - if I modify the program "icon" by adding "tdesu" before the command,
> > > the password is asked first, and the program works correctly.
>
> (...)
>
> > > Thierry
> >
> > Hi Thierry,
> > I tried to reproduce the problem on my system but I didn't see anything
> > wrong. But maybe I was doing something different from you.
> > Could you file a bug report with detail instructions on how to reproduce
> > the post? Some screenshots would also be useful .
> > Thanks
> >   Michele
>
> OK, I once again forgot to link the pictures... :)
>
> Hi Michele,
>
> Not so easy... There's not much showing.
>
> With kpackage, I get the same behaviour wether I start kpackage (from the
> TDE/kicker menu) or by right-clicking on the *.deb file and choosing "open
> with":
>
> kpackage opens, I choose install, kpackage asks for the password (snapshot
> 1). Maybe a clue? It asks for the SUDO password - I have no sudo password.
> Neither the root nor the user password work. The dialog box disappears,
> then comes back, and so on.
>
> If I modify the menu command in "tdesu kpackage", kpackage works (albeit I
> get a "tdeinit could not start tdesu" message...).
>
> I tried starting kpackage from the command line but all I get is:
>
> thierry@haswell:~$ kpackage
> TQSettings::sync: failed to open '/etc/tqt3/tqt_plugins_3.5rc.tmp' for
> writing TQLayout "unnamed" added to TQVBox "page", which already has a
> layout thierry@haswell:~$ ^C
> thierry@haswell:~$
>
> No idea if this tells you something...
>
> Gostcrypt shows a similar behaviour, but with no message at all. I can
> select the crypted partition, but when I want to mount it this requires the
> root password, which is not taken, so of course gostcrypt does not get the
> superuser rights (snapshot 2).
> tdesu gostcrypt works perfectly, so this is not really a problem.
>
> I also need tdesu to start synaptic, but this is more to get a nice dialog
> box (otherwise some text window is used to ask for the root password.
>
> Thank you,
>
> Thierry

Speaking as a Debian user, those screen-shots look like Ubuntu screen shots 
and I suspect that this is another attack of cross-over-itis.

Try :

Change to the directory in which you have placed the file:
# dpkg -i kpackage-trinity_3.5.13.2-0debian7.0.0+0_amd64.deb
(except that hopefully you have a Jessie one for Jessie and you will need to 
use that name)
Aptitude install all missing dependencies.
And if my guess is correct, all will be well.

Though mine installed automatically, which raises the question of why yours 
did not.

Lisi