[Bug 622080] New: kdesu doesn't work?
http://bugzilla.novell.com/show_bug.cgi?id=622080 http://bugzilla.novell.com/show_bug.cgi?id=622080#c0 Summary: kdesu doesn't work? Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: KDE4 Workspace AssignedTo: kde-maintainers@suse.de ReportedBy: jnelson-suse@jamponi.net QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.6) Gecko/20100626 SUSE/3.6.6-1.2 Firefox/3.6.6 For some reason, kdesu doesn't work: jnelson@frank:~> kdesu -- xterm kdesu(5918) KDESu::KDESuPrivate::KCookie::getXCookie: No X authentication info set for display ":0.0" kdesu(5918) KDESu::PtyProcess::exec: [ /usr/src/packages/BUILD/kdelibs-4.4.4/kdesu/process.cpp : 295 ] Running "/bin/su" kdesu(5918) KDESu::SuProcess::ConverseSU: [ /usr/src/packages/BUILD/kdelibs-4.4.4/kdesu/su.cpp : 259 ] Read line "Password: " kdesu(5918) KDESu::KDESuPrivate::KCookie::getXCookie: No X authentication info set for display ":0.0" kdesu(5918) KDESu::PtyProcess::exec: [ /usr/src/packages/BUILD/kdelibs-4.4.4/kdesu/process.cpp : 295 ] Running "/bin/su" kdesu(5918) KDESu::SuProcess::ConverseSU: [ /usr/src/packages/BUILD/kdelibs-4.4.4/kdesu/su.cpp : 259 ] Read line "Password: " kdesu(5918) KDESu::PtyProcess::WaitSlave: [ /usr/src/packages/BUILD/kdelibs-4.4.4/kdesu/process.cpp : 381 ] Child pid 5923 kdesu(5918) KDESu::SuProcess::ConverseSU: [ /usr/src/packages/BUILD/kdelibs-4.4.4/kdesu/su.cpp : 259 ] Read line "" kdesu(5918) KDESu::SuProcess::ConverseSU: [ /usr/src/packages/BUILD/kdelibs-4.4.4/kdesu/su.cpp : 259 ] Read line "kdesu_stub" jnelson@frank:~> Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=622080 http://bugzilla.novell.com/show_bug.cgi?id=622080#c1 Geoff Farrell <gfarrell@netspeed.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gfarrell@netspeed.com.au --- Comment #1 from Geoff Farrell <gfarrell@netspeed.com.au> 2010-07-14 09:53:28 UTC --- Try 'dbus-launch' instead of 'kdesu'. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=622080 http://bugzilla.novell.com/show_bug.cgi?id=622080#c2 --- Comment #2 from Jon Nelson <jnelson-suse@jamponi.net> 2010-07-14 13:03:16 UTC --- After logging out and eveen after rebooting I was still having issues. I removed the .Xauthority file (in a console) and for reasons that are a complete mystery to me everything is working fine again. Any idea what went wrong? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=622080 http://bugzilla.novell.com/show_bug.cgi?id=622080#c3 --- Comment #3 from Jon Nelson <jnelson-suse@jamponi.net> 2010-08-15 23:06:59 UTC --- I hit this issue again today. For some reason, it only seems to effect this machine, and not the other one (which I use /quite/ a bit more). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=622080 http://bugzilla.novell.com/show_bug.cgi?id=622080#c4 --- Comment #4 from Geoff Farrell <gfarrell@netspeed.com.au> 2010-08-16 02:05:08 UTC --- Jon, if you look at the command that the system menu uses, you will see that kdesu is not used anymore. In KDE, look at System-> File Manager-> File Manager (Super User Mode). It's command is 'dbus-launch dolphin %i -caption "%c" "%u"'. The Gnome menu will probably have the same (can't check here - don't use it). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=622080 http://bugzilla.novell.com/show_bug.cgi?id=622080#c5 --- Comment #5 from Jon Nelson <jnelson-suse@jamponi.net> 2010-08-16 15:27:19 UTC --- With all due respect, dbus-launch is *not* used to obtain super-user privileges. dbus-launch has no capabilities to change user ids. The "File Manager (Super User Mode)" menu entry gets its user-changing abilities from the X-KDE-SubstituteUID=true entry in the dolphinsu.desktop file: cat /usr/share/applications/kde4/dolphinsu.desktop X-KDE-SubstituteUID=true essentially means "run kdesu for me". (Click that command and instead of entering your password/passphrase, type in another shell 'ps wax | grep dolphin') and you will see (something like) this: /usr/lib64/kde4/libexec/kdesu -u root -c /usr/bin/dbus-launch dolphin -icon system-file-manager -caption 'File Manager - Super User Mode' '' I did eventually find out that moving the .Xauthority file (or removing it) is sufficient to restore kdesu functionality. However, I can't tell you *why* the Xauthority file is being corrupted, or how. On another machine, which I execute kdesu *much* more frequently, I don't have the same issue (different filesystem and block device layout, but both are openSUSE 11.3). I wonder if the underlying issue has to do with this: http://osdir.com/ml/network.openssh.general/2005-06/msg00029.html -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=622080 https://bugzilla.novell.com/show_bug.cgi?id=622080#c6 Jon Nelson <jnelson-suse@jamponi.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |NORESPONSE --- Comment #6 from Jon Nelson <jnelson-suse@jamponi.net> 2011-08-04 16:18:36 UTC --- noresponse -- 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.
participants (1)
-
bugzilla_noreply@novell.com