Yast 2 does not run in Enlightenment 19

Hi,

I performed a Minimal X install (IceWM) of openSUSE 13.2. I installed Enlightenment 19 from the enlightenment package in YaST. I also installed gnomesu. However, when I’m using Enlightenment 19 and I run gnomesu yast2 from the command line, a dialog opens and prompts me for my password. After I enter the password and click Continue, the dialog closes and yast2 does not open. It works fine in IceWM, however.

A screenshot:
https://dl.dropboxusercontent.com/u/17660862/Screen%20Shot%202014-12-28%20at%2012.26.14%20AM.png

Thanks.

On Sat, 27 Dec 2014 16:36:02 +0000, tamag9 wrote:

> Hi,
>
> I performed a Minimal X install (IceWM) of openSUSE 13.2. I installed
> Enlightenment 19 from the enlightenment package in YaST. I also
> installed gnomesu. However, when I’m using Enlightenment 19 and I run
> gnomesu yast2 from the command line, a dialog opens and prompts me for
> my password. After I enter the password and click Continue, the dialog
> closes and yast2 does not open. It works fine in IceWM, however.
>
> A screenshot:
> http://tinyurl.com/qcr5z77
>
> Thanks.

If you run from a terminal window, what error message do you get?

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Yast2 runs perfectly fine when i use sudo yast2 from the command line.

https://dl.dropboxusercontent.com/u/17660862/Screen%20Shot%202014-12-28%20at%203.14.49%20PM.png

Try to run YaST with gnomesu again, and then post the last lines of /var/log/YaST/y2log:

sudo tail /var/log/YaST/y2log

My guess would be that in Enlightenment it tries to run a different GUI than in IceWM (Gtk vs. Qt) and you lack the corresponding packages.

So please post the list of installed YaST UI packages as well:

rpm -qa libyui*

Yast2 log:

https://db.tt/DVrfpRNP

YaST UI packages:

https://db.tt/tSF8cXdp

Thanks for your time.

Hm, I only see messages about the ncurses (i.e. text mode) interface there, so it seems YaST is not even started.

YaST UI packages:

https://db.tt/tSF8cXdp

Looks ok.

Maybe it’s actually a problem of gnomesu? Not all GNOME applications run well outside of GNOME (and GNOME doesn’t seem to care about running their apps outside of GNOME…).
Try to use something else than gnomesu as a test:

xdg-su -c /sbin/yast2

And try to force the Qt or Gtk interface. Maybe only one of them works.

xdg-su -c /sbin/yast2 --gtk
xdg-su -c /sbin/yast2 --qt

Unfortunately xdg-su doesn’t seem to work either :frowning:

https://db.tt/y2Xvjwiv

Pity, apparently xdg-su doesn’t support enlightenment yet.
https://bugzilla.opensuse.org/show_bug.cgi?id=778786#c5

Well, try “su -” then:

su -
yast2
yast2 --gtk
yast2 --qt

You can also try “gnomesu /sbin/yast2 --gtk” and “gnomesu /sbin/yast2 --qt”, maybe one of them will work.

The su command worked! The GUI opened up. Do you how to create an application launcher in E19 for this?

https://db.tt/fWYHrhwd <- I tried that but it didn’t seem to work. Maybe something that brings up a terminal window and prompts for the su password?

Thanks.

“su -c yast2 -” should work (or try “su - -c yast2” I’m not sure at the moment).

I don’t know enlightenment, but maybe there’s an option to run the command in a terminal window (like there is in KDE). On the “General Options” tab maybe? You should enable this if available.
If not, you could try to run it in xterm manually:

xterm -e "su - -c yast2"

On Sun, 28 Dec 2014 07:26:01 +0000, tamag9 wrote:

> Yast2 runs perfectly fine when i use sudo yast2 from the command line.
>
> http://tinyurl.com/l4xdup9

The problem probably is gnomesu not running properly, then - try running
“gnomesu -c ‘yast2’” from a terminal window and see what happens.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Hi,

The application launcher with su -c worked!

Thanks for your help.