checkbox does not accept my valid (for everything else) password

Bug #1184061 reported by Aere Greenway
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
checkbox (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

In trying to run checkbox, it asks for my password, but when I enter my password that works for everything else (signing-on, sudo, etc), it says the password is incorrect.

Entering my old password doesn't work either, or entering a qwerty version of my dvorak-keyboard password doesn't work either. I double-checked if caps-lock was set (it wasn't).

I have no more ideas of what to try. It won't accept my password that works for everything else.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: checkbox 0.15.5
ProcVersionSignature: Ubuntu 3.8.0-22.33-generic 3.8.11
Uname: Linux 3.8.0-22-generic x86_64
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Fri May 24 21:38:51 2013
InstallationDate: Installed on 2013-05-19 (5 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: checkbox
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Aere Greenway (aere) wrote :
Revision history for this message
Daniel Manrique (roadmr) wrote :

Hello,

Checkbox 0.15.5 uses sudo (or gksudo/kdesudo if available) to ask for your password. Thus, the password you use for a standard sudo should work.

However, due to bug 1174411, you will only see the password prompt if you started checkbox from a terminal, unless you have gksudo installed. It is not installed with Ubuntu by default.

Could you please open a terminal (ctrl-alt-t) and try running checkbox-qt from there?

Please let me know of your result.

Changed in checkbox (Ubuntu):
status: New → Incomplete
Revision history for this message
Aere Greenway (aere) wrote : Re: [Bug 1184061] Re: checkbox does not accept my valid (for everything else) password

On 05/29/2013 09:52 AM, Daniel Manrique wrote:
> Hello,
>
> Checkbox 0.15.5 uses sudo (or gksudo/kdesudo if available) to ask for
> your password. Thus, the password you use for a standard sudo should
> work.
>
> However, due to bug 1174411, you will only see the password prompt if
> you started checkbox from a terminal, unless you have gksudo installed.
> It is not installed with Ubuntu by default.
>
> Could you please open a terminal (ctrl-alt-t) and try running checkbox-
> qt from there?
>
> Please let me know of your result.
>
>
> ** Changed in: checkbox (Ubuntu)
> Status: New => Incomplete
>
Daniel:

The problem occurred on an Ubuntu (Unity desktop) partition I use for
testing (not on my primary partition I'm sending this e-mail from),
which is Lubuntu 13.04.

In that test partition, I did see a dialog appear to enter my password,
which I entered, but it rejected it each time, until on the 3rd time it
gave up, reporting the password to be bad.

In looking with Synaptic Package Manager on that machine, a search for
gksudo yields no packages. Likewise, a Synaptic Package Manager search
for gksudo on my primary (Lubuntu) partition yielded no packages.

On the test (Ubuntu) partition, I tried running checkbox from a
terminal, but the behavior was the same. It presented the password
dialog, I entered the password, and it rejected it, re-displaying the
password dialog. After the 3rd try it reported an error.

Interestingly, on my primary machine (a Lubuntu partition), it worked
when fired-up checkbox-qt via a terminal command.

On the Ubuntu partition, I fired it up using a "checkbox" command. On
the Lubuntu partition, I used "checkbox-qt".

A possible difference between the two partitions, is that my primary
partition actually does have a gnome keyring (because I needed it for
using Ubuntu One). The test partition (Ubuntu Unity) does not have a
keyring, or at least, I think it doesn't, because it never asks for a
keyring password.

--
Sincerely,
Aere

Revision history for this message
Daniel Manrique (roadmr) wrote :

Hello!

OK, so you mention in both cases you see a password dialog. Is this an actual, graphical dialog, or just the text on the terminal?

If it's a graphical dialog then something is wrong because unless gksudo (or kdesudo) are installed, checkbox does *not* pop up a password dialog (due to the bug I mentioned before).

Also, you mention using a "checkbox" command to launch it, but this is very strange because there is no checkbox command proper; it's either checkbox-qt or (if you installed one of the alternative UIs), checkbox-cli, checkbox-urwid or checkbox-gtk.

Could you perhaps try running checkbox with the debug parameter to see what's going on in more detail?

- Delete the .cache/checkbox directory
- Open a terminal and run checkbox like this:
  checkbox-qt --log-level=debug
- When the test selection list appears, deselect all the tests and click "start testing" (this will run just the automated data collection jobs).
- When done, please attach the .cache/checkbox/checkbox.log file so I can have a look.

Thanks!

Revision history for this message
Aere Greenway (aere) wrote :

On 05/29/2013 11:47 AM, Daniel Manrique wrote:
> Could you perhaps try running checkbox with the debug parameter to see
> what's going on in more detail?
>
> - Delete the .cache/checkbox directory
> - Open a terminal and run checkbox like this:
> checkbox-qt --log-level=debug
> - When the test selection list appears, deselect all the tests and click "start testing" (this will run just the automated data collection jobs).
> - When done, please attach the .cache/checkbox/checkbox.log file so I can have a look.
Daniel

According to Synaptic Package Manager, I have "checkbox" and
"checkbox-qt" installed.

A "man checkbox" command yields documentation.

It's a graphical window asking for the password.

After the third unsuccessful try, it reports an error.

But running it with debug on, it comes back again. 3 more tries, again
reports an error.

It comes back yet again. Answering by clicking the "Cancel" button does
not make it go away.

Entering control-C in the terminal window does not make it terminate.

I had to close the terminal window to make it go away.

I have attached the checkbox.log file.

Keep in mind that I do use dvorak keyboard layout, both to sign-on, and
for all applications while using the system. I do not type qwerty. In
the past, I have encountered applications (or system tools) that dump
you in qwerty, but this is not my recent Linux experience. Typing my
password in qwerty did not work either.

--
Sincerely,
Aere

Revision history for this message
Jeff Lane  (bladernr) wrote :
Download full text (3.5 KiB)

FWIW, I think the correct pakages are gksu and kdesu, not gksudo and kdesudo.

So see if you have gksu or kdesu installed or can install them (maybe
not on lubuntu, I'm not sure what is "installable" there)

On Wed, May 29, 2013 at 3:09 PM, Aere Greenway
<email address hidden> wrote:
> On 05/29/2013 11:47 AM, Daniel Manrique wrote:
>> Could you perhaps try running checkbox with the debug parameter to see
>> what's going on in more detail?
>>
>> - Delete the .cache/checkbox directory
>> - Open a terminal and run checkbox like this:
>> checkbox-qt --log-level=debug
>> - When the test selection list appears, deselect all the tests and click "start testing" (this will run just the automated data collection jobs).
>> - When done, please attach the .cache/checkbox/checkbox.log file so I can have a look.
> Daniel
>
> According to Synaptic Package Manager, I have "checkbox" and
> "checkbox-qt" installed.
>
> A "man checkbox" command yields documentation.
>
> It's a graphical window asking for the password.
>
> After the third unsuccessful try, it reports an error.
>
> But running it with debug on, it comes back again. 3 more tries, again
> reports an error.
>
> It comes back yet again. Answering by clicking the "Cancel" button does
> not make it go away.
>
> Entering control-C in the terminal window does not make it terminate.
>
> I had to close the terminal window to make it go away.
>
> I have attached the checkbox.log file.
>
> Keep in mind that I do use dvorak keyboard layout, both to sign-on, and
> for all applications while using the system. I do not type qwerty. In
> the past, I have encountered applications (or system tools) that dump
> you in qwerty, but this is not my recent Linux experience. Typing my
> password in qwerty did not work either.
>
> --
> Sincerely,
> Aere
>
>
> ** Attachment added: "checkbox.log"
> https://bugs.launchpad.net/bugs/1184061/+attachment/3690123/+files/checkbox.log
>
> --
> You received this bug notification because you are a member of Checkbox
> Bug Wranglers, which is subscribed to checkbox in Ubuntu.
> https://bugs.launchpad.net/bugs/1184061
>
> Title:
> checkbox does not accept my valid (for everything else) password
>
> Status in “checkbox” package in Ubuntu:
> Incomplete
>
> Bug description:
> In trying to run checkbox, it asks for my password, but when I enter
> my password that works for everything else (signing-on, sudo, etc), it
> says the password is incorrect.
>
> Entering my old password doesn't work either, or entering a qwerty
> version of my dvorak-keyboard password doesn't work either. I double-
> checked if caps-lock was set (it wasn't).
>
> I have no more ideas of what to try. It won't accept my password that
> works for everything else.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 13.04
> Package: checkbox 0.15.5
> ProcVersionSignature: Ubuntu 3.8.0-22.33-generic 3.8.11
> Uname: Linux 3.8.0-22-generic x86_64
> ApportVersion: 2.9.2-0ubuntu8
> Architecture: amd64
> Date: Fri May 24 21:38:51 2013
> InstallationDate: Installed on 2013-05-19 (5 days ago)
> InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
> MarkF...

Read more...

Revision history for this message
Daniel Manrique (roadmr) wrote :

Thanks so much for posting the log file. From this I can see that indeed the backend is not launching as it should:

2013-05-29 12:53:10,091 DEBUG Sending message with sequence number 0 to backend
2013-05-29 12:54:10,152 DEBUG Backend didn't respond, trying to create again.
2013-05-29 12:54:10,153 DEBUG Sending message with sequence number 1 to backend
2013-05-29 12:55:10,214 DEBUG Backend didn't respond, trying to create again.
2013-05-29 12:55:10,215 DEBUG Sending message with sequence number 2 to backend

The failures to create the backend mean that it didn't start, this is usually caused by the privileged runner (sudo, gksudo, etc) not launching the backend, usually due to a bad password (but in your case we know you're entering the correct password, so the problem lies elsewhere).

OK so let's try replicating Checkbox's backend launch process. Could you run these commands on a terminal and let me know what happens? Also, if any of these pop a graphical window, I'd really appreciate if you could take a screenshot of some sort.

kdesudo ls
gksudo ls
sudo ls

My expectations are:
kdesudo ls - This should say that kdesudo is not installed (which is correct).
gksudo ls - On an stock Ubuntu system, this should say that gksudo is not installed. But in your case I suspect it will pop up a window asking for the password. Enter your user's password (not root's). I suspect it will say the password is incorrect and ask you again.
sudo ls - This should ask for the password on the console, and work correctly by showing a directory listing.

If this holds, it would mean that somehow gksudo got installed on your system, and it's not correctly recognizing your password, possibly due to the keyboard layout problem you mention. But let's cross that bridge when we get to it.

Thanks for your help chasing this problem down, I know it's been a slow process but we have some good clues now.

Revision history for this message
Aere Greenway (aere) wrote :

On 05/29/2013 01:24 PM, Jeff Lane wrote:
> FWIW, I think the correct pakages are gksu and kdesu, not gksudo and
> kdesudo.
>
> So see if you have gksu or kdesu installed or can install them (maybe
> not on lubuntu, I'm not sure what is "installable" there)
>
I already have gksu on my Lubuntu system, and probably that is what is
on my Ubuntu system, since it does present a graphical dialog soliciting
the password.

I will double-check the next time I fire up my Ubuntu test partition.

--
Sincerely,
Aere

Revision history for this message
Daniel Manrique (roadmr) wrote :
Revision history for this message
Aere Greenway (aere) wrote :

On 05/29/2013 02:24 PM, Daniel Manrique wrote:
> This bug looks to be related:
>
> https://bugs.launchpad.net/ubuntu/+source/gksu/+bug/949265
>
> There are also a few that are keyboard-layout-related but I'm not sure that's the problem here:
> https://bugs.launchpad.net/ubuntu/+source/gksu/+bug/645838
> https://bugs.launchpad.net/ubuntu/+source/gksu/+bug/36102
> https://bugs.launchpad.net/ubuntu/+source/gksu/+bug/187303
Daniel:

I think they are related.

Another thing different about the system (Ubuntu) having the problem, is
that it's amd64 architecture. The possibly-related bugs had that in
common.

--
Sincerely,
Aere

Revision history for this message
Aere Greenway (aere) wrote :
Download full text (3.8 KiB)

On 05/29/2013 01:36 PM, Daniel Manrique wrote:
> OK so let's try replicating Checkbox's backend launch process. Could you
> run these commands on a terminal and let me know what happens? Also, if
> any of these pop a graphical window, I'd really appreciate if you could
> take a screenshot of some sort.
>
> kdesudo ls
> gksudo ls
> sudo ls
>
Daniel:

I noticed (relative to another person's e-mail on the subject) that
(according to Synaptic Package Manager) on the test system, gksu is the
package that is actually installed.

I performed the above (in a different order) on my test system, and
added another statement:

gksu ls

to the list. It was this added statement that actually triggered the
similar problem.

Here is the console listing of my trying it:

-------------------------------

aere@aere-Inspiron-620:~$ *kdesudo ls*
The program 'kdesudo' is currently not installed. You can install it by
typing:
sudo apt-get install kdesudo
aere@aere-Inspiron-620:~$ sudo ls
[sudo] password for aere:
Desktop MIDI-Installation-sys.log
Documents MIDI-Training
Downloads Migration
eclipse Music
error-trace.txt Pictures
examples.desktop Public
KeyMusician-Keyboard rosegarden
KeyMusician-Keyboard-bak Templates
KMK.jar Videos
KMK-old.jar VirtualBox VMs
libfluidsynth1_1.1.5-3ubuntu1~diwicppa_i386.deb workspace
MIDI-Installation.log Zyn-16chan-blank.xmz
aere@aere-Inspiron-620:~$*gksudo ls*
Desktop MIDI-Installation-sys.log
Documents MIDI-Training
Downloads Migration
eclipse Music
error-trace.txt Pictures
examples.desktop Public
KeyMusician-Keyboard rosegarden
KeyMusician-Keyboard-bak Templates
KMK.jar Videos
KMK-old.jar VirtualBox VMs
libfluidsynth1_1.1.5-3ubuntu1~diwicppa_i386.deb workspace
MIDI-Installation.log Zyn-16chan-blank.xmz
aere@aere-Inspiron-620:~$*gksudo ls*
Desktop error-trace.txt KMK.jar MIDI-Installation-sys.log
Pictures Videos
Documents examples.desktop KMK-old.jar MIDI-Training
  Public VirtualBox VMs
Downloads KeyMusician-Keyboard
libfluidsynth1_1.1.5-3ubuntu1~diwicppa_i386.deb Migration
  rosegarden workspace
eclipse KeyMusician-Keyboard-bak MIDI-Installation.log
Music Templates Zyn-16chan-blank.xmz
aere@aere-Inspiron-620:~$ *gksu ls*

-------------------------------
I marked the entered statements above in *bold* emphasis.

Notice that all of the statements returned output, except the last one.
It was the only one that brought up a graphics dialog box for entering
my password.

As in the test before, it appeared once, and I entered my password in
it. In response it displayed the dialog box again, indicating the
password was wrong. I entered the qwerty version of my password. But
again, it re-displayed the dialog asking for the pas...

Read more...

Revision history for this message
Aere Greenway (aere) wrote :

On 05/29/2013 02:24 PM, Daniel Manrique wrote:
> This bug looks to be related:
>
> https://bugs.launchpad.net/ubuntu/+source/gksu/+bug/949265
>
> There are also a few that are keyboard-layout-related but I'm not sure that's the problem here:
> https://bugs.launchpad.net/ubuntu/+source/gksu/+bug/645838
> https://bugs.launchpad.net/ubuntu/+source/gksu/+bug/36102
> https://bugs.launchpad.net/ubuntu/+source/gksu/+bug/187303
>
Daniel:

I just tried checkbox on an Ubuntu (Unity) partition on a MacBook
(amd64) laptop. It worked on that machine.

I use dvorak keyboard on that machine as well, but there is one
significant difference:

The password on that machine is made up entirely of characters that are
the same in qwerty as in dvorak.

--
Sincerely,
Aere

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for checkbox (Ubuntu) because there has been no activity for 60 days.]

Changed in checkbox (Ubuntu):
status: Incomplete → Expired
Daniel Manrique (roadmr)
Changed in checkbox (Ubuntu):
status: Expired → Confirmed
Revision history for this message
Jeff Lane  (bladernr) wrote :

Checkbox in this for no longer exists, so I'm closing this. The Next Gen version does not have this problem.

Changed in checkbox (Ubuntu):
status: Confirmed → Incomplete
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.