LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   strace kdesu konqueror & > ./strace_kdesu (diagnosing failing kdesu) (https://www.linuxquestions.org/questions/linux-desktop-74/strace-kdesu-konqueror-and-strace_kdesu-diagnosing-failing-kdesu-746020/)

GrapefruiTgirl 08-10-2009 07:57 PM

Well I have marked this thread as "UNsolved".

:banghead: This crap persists. I just wiped /tmp again, no luck. For the life of me I cannot start a root konqueror right now.
I just rebooted, to no avail.

I cannot WAIT :confused: until KDE4 (read: it's background processes, as I'm using XFCE again) is at least as usable as KDE-3.5.4 was.

too many freakin' daemons running around, none of them with their &%$#*@ heads on right.

I've reloaded messagebus, restarted kdeinit & kdeinit4, kill -HUP kdesud.. Can't just su to root and start Konqueror directly, because it complains about $DISPLAY not being set. If I set $DISPLAY, it tells me it can't connect to X server on $DISPLAY :banghead: and the odd time it pretends it's gonna 'connect', it quits, telling me DCOP_server session is missing. Can't win here. :(

gankoji 08-10-2009 11:11 PM

the only way you can do that is if you run konsole or some other terminal emulator from within your current X session. so if you are on your XFCE desktop, hit alt+F2 and type konsole (or maybe xterm if you feel like not using kde's crap). then su, then konqueror. should do the trick!

GrapefruiTgirl 08-11-2009 07:13 AM

nope, but thanks :)
 
Quote:

Originally Posted by gankoji (Post 3638698)
the only way you can do that is if you run konsole or some other terminal emulator from within your current X session. so if you are on your XFCE desktop, hit alt+F2 and type konsole (or maybe xterm if you feel like not using kde's crap). then su, then konqueror. should do the trick!

Nope :( -- did exactly as you suggested:

Alt+F2 > `konsole` > `kdesu ...` = failed
Alt+F2 > `kdesu ...` = failed
Alt+F2 > `xterm` > `kdesu ...` = failed
Alt+F2 > `xterm` > `konqueror ...` = failed

Generally, I'd like to think that by this long investigating a proble,, I'd have a reasonably good idea where the problem is occurring, but I'm stumped -- especially with the inconsistencies of it working on occasion, but not usually.

Thanks for the added input, gankoji!

Sasha

GrapefruiTgirl 08-11-2009 07:20 AM

Quote:


bash-3.1# ./mirror-slackware-current-basicDVD -X $PWD/excludefile
#
# Mirroring slackware64-current from slackware.mirrors.tds.net::slackware/slackware64-current ...
#
Changing to /var/cache/slackware64-current ...
Tue Aug 11 09:21:23 ADT 2009 [1770]: Getting ChangeLog.txt...

receiving file list ... done
ChangeLog.txt

sent 138 bytes received 15873 bytes 1883.65 bytes/sec
total size is 60409 speedup is 3.77
/var/cache/slackware64-current
0a1,28
> Tue Aug 11 01:04:25 CDT 2009
> a/etc-13.0-noarch-1.txz: Upgraded.
> Added root to power, netdev, and scanner groups in /etc/group.
> a/pciutils-3.1.3-x86_64-1.txz: Upgraded.
> a/rpm2tgz-1.1-x86_64-1.txz: Upgraded. Make .tgz with makepkg, not tar.
> ap/man-1.6f-x86_64-2.txz: In man.conf, change nroff from using -Tlatin1 to
> using -mandoc. Thanks to Ricardo Garcia.
> ap/man-pages-3.22-noarch-1.txz: Upgraded.
> d/guile-1.8.7-x86_64-1.txz: Upgraded.
> kde/kaudiocreator-r1008583-x86_64-1.txz: Upgraded.
> kde/kdelibs-4.2.4-x86_64-3.txz: Rebuilt. Patched kdesu to fix NOPASS option.
> Thanks to Piter Punk!
The above is among the changes in the -current tree's latest changes/additions. While I haven't a clue why nobody else seems to be having this trouble, **maybe** that patch will do something :confused:

Maybe I need to wipe the partition, and reinstall the whole thing again, instead of upgrading.. That should fix it if this is due to screwy configuration, package overlap, or similar oddities.

Sasha

matti3 09-15-2009 04:37 PM

Quote:

Originally Posted by jschiwal (Post 3636639)
Before rebooting, log out and go to the single user init level (init level 2?) and clear out everything in /tmp.

dude, thanks a ton! I was having kdesu troubles and that did the trick!

GrapefruiTgirl 09-15-2009 08:18 PM

Quote:

Originally Posted by matti3 (Post 3684167)
dude, thanks a ton! I was having kdesu troubles and that did the trick!

matti,

let us know if your troubles stay gone for good; mine are still here, and sadly, I've just adapted to them :\

1) kdesu
2) hit enter a couple times
3) enter password, get rejected, close dialog box
4) kdesu
5) hit enter at least once with no password
6) enter password, get accepted, hope application starts
7) if application didn't start, return to (4) and repeat

matti3 09-16-2009 04:40 PM

hi,

i'm afraid i won't be of much help. I stumbled upon this thread through a google search on how to solve kdesu trouble. I guess my case is totally different (I even didn't fully get your problem as it seems to be detailed on other forum posts), but it happened to be solved through the advise found in this thread. sorry to disappoint you, my problem is fully solved, but it was probably not really related to yours. When I launched kdesu, simply nothing happened. that was my problem :) now everything still works after removing the /tmp files.

cheers
matthias

GrapefruiTgirl 09-22-2009 09:13 AM

Since fully re-installing virtually my entire system on top of itself in one shot, rather than running the previously rsynced situation I had been running during the process of upgrading & testing -current, I can now confirm that `kdesu` is working as it should :D :D

So, I must have had some slight mess with some packages or libs, perhaps due to slight overlap/underlap of packages while maintaining the system via rsync. Don't really know for sure, but it's now working!

I wish to thank everyone who contributed thoughts and information during the course of this thread: Thanks!

Cheers!
Sasha

matti3 11-02-2009 05:03 PM

lol, I'm glad for you, congrats! =)


All times are GMT -5. The time now is 02:06 PM.