
https://bugzilla.novell.com/show_bug.cgi?id=778786 https://bugzilla.novell.com/show_bug.cgi?id=778786#c0 Summary: xdg-su broken for environments where is XDG_CURRENT_DESKTOP set with non-mainstream DEs Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: All OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: petr@scribus.info QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) QupZilla/1.3.1 Safari/534.34 For razor-qt environement the XDG_CURRENT_DESKTOP env. variable is set to Razor in running session. The YaST.desktop tries to open "xsu" instead of "xterm ..." as in previous versions. small patch for detectDE() can fix it: if [ -n "${XDG_CURRENT_DESKTOP}" ]; then case "${XDG_CURRENT_DESKTOP}" in GNOME) DE=gnome; ;; KDE) DE=kde; ;; LXDE) DE=lxde; ;; XFCE) DE=xfce; ;; Razor) DE=generic; ;; esac fi I'd like to provide an upstream fix for portland/xdg but I think the xdg-su is obsolete there (portland.freedesktop.org is down with 500 internal server error now) and it's usedonly in openSUSE YaST suite. Am I right? Reproducible: Always Steps to Reproduce: 1. /usr/bin/xdg-su -c /sbin/yast2 Actual Results: xdg-su: no graphical method available for invoking '/sbin/yast2' as 'root' Expected Results: su_generic called with xterm as su holder -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.