Description of problem: If you start drakrpm with sudo, or from a sudo environment, you get an error: "The password you typed is invalid. Please try again" However, other drak-tools are working with sudo; drakrpm-edit-media, drakrpm-update, drakuser, drakfont are the ones i tried. Drakrpm works if started from a su environment, or as normal user (in this case, prompts for root password). Desktop: KDE and Openbox ( maybe a kdesu/kdesudo issue? ) Version-Release number of selected component (if applicable): How reproducible: always reproducible Steps to Reproduce: 1. sudo drakrpm or sudo su && drakrpm 2. 3.
Please post the exact error message you get.
Keywords: (none) => NEEDINFO
That was the exact error message I got which I posted. A single window with "The password you typed is invalid.Please try again." text and a Close button. No addition message in command line.
FWIW, 'sudo rpmdrake' never works: $ sudo rpmdrake No protocol specified No protocol specified No protocol specified No protocol specified Cannot be run in console mode. while something like: sudo drakxservices would work, this is because drakxservices has an ncurses interface, i.e. it can be run in a text console (e.g. in tty[1-6]), whereas rpmdrake is a pure GUI app.
Keywords: NEEDINFO => (none)Source RPM: (none) => rpmdrake
But when I launch other drake-tools, it opens the GTK interface, not the ncurses one. The ncurses interface detects if a GUI can be started and starts it?
Assigning to maintainer now that our maintainers database has an entry for this package. Please assign back to bugsquad@mageia.org in case of a mistake from me.
CC: (none) => stormiAssignee: bugsquad => thierry.vignaud
sudo strips out everything related to X11, so usermode complains.
Status: NEW => RESOLVEDResolution: (none) => INVALIDAssignee: thierry.vignaud => bugsquadSource RPM: rpmdrake => usermode
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=17202