Red Hat Bugzilla – Bug 819906
Implicit (hidden) dependency for yumex password prompt
Last modified: 2012-06-09 08:53:14 EDT
Description of problem:
yumex can not prompt for root password and can not start properly
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install CentOS 6.2 x86_64 "base server", create user "user"
2. enable CentOS Plus, add rpmforge and EPEL repositories
3. install yumex and xauth using yum
4. connect to the CentOS machine with "ssh -Y -l user ..." from a remote host running a desktop environment
5. start yumex from the ssh session
yumex can not start properly and can not prompt for root password
yumex should immediately prompt for the root password
if you issue
yum groupinstall "KDE Desktop"
than the hidden dependency gets installed and I can than start yumex. But I would prefer to not install "KDE desktop" grioup on my "base server" installation of CentOS
try to install "usermode-gtk"
I am working on skipping the use of usermode (consoleheler) to ask for root access and use PolicyKit instead, it should make it work better with a redirected DISPLAY, like when running it over an ssh connection.
a work around could be to run yumex as root using
and it will not ask for a password
Yes, usermode-gtk fixed the problem.
Thank you for the information.
I do not know PolicyKit, I am not really an administrator (yet :), but what I meant was that usermode-gtk should be an explicit dependency for yumex (at least for now)
I have just released a new version, 3.0.5, it should eliminate the need for usermode-gtk, then running over ssh.
It should be available in epel6 testing repos very soon.
usermode is no longer needed in current version 3.0.5-2 in EPEL6