LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-23-2008, 05:29 PM   #1
lazylogic
Member
 
Registered: Aug 2006
Posts: 145

Rep: Reputation: 16
KDE4 - kdesu konqueror not working?


I've just installed KDE4 and seems like unable to get the command kdesu konqueror working.

Is it my installation or is kdesu command somehow obsoleted?

What is the "replacement" command?
 
Old 11-23-2008, 10:14 PM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
Have you tried kdesu kate to see if it opens kate? or some other application.
 
Old 11-23-2008, 10:26 PM   #3
lazylogic
Member
 
Registered: Aug 2006
Posts: 145

Original Poster
Rep: Reputation: 16
Tried that, kdesu kate , kdesu kwrite,

doesn't seem to start anything
 
Old 11-23-2008, 10:29 PM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 4
Posts: 4,297

Rep: Reputation: 205Reputation: 205Reputation: 205
kdesu does not seem to be currently working in KDE4. You're probably getting this error message:
Code:
Could not delete file
file:///root/.kde4/share/apps/konqueror/autosave/owned_by.
I've yet to find a solution to this problem. You could try using Krusader.
 
Old 11-24-2008, 12:06 PM   #5
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
In the past, I wanted to add a port to kppp (dialer) for my modem driver which made it's own unique port that was not in the list of available ports in kppp. Instead of chasing down a guide or instructions on how to do this I sent an e-mail to the kde team and they responded within a few days telling me I couldn't do it, that saved me a lot of time.
I have an older version of KDE, and noticed in synaptic that there is a package called "kdesudo" which is probably the best route to take at this point for a graphical application that allows you to open other applications as root or another user.
Or you can just set up sudo if you just need to do it from command line.
 
Old 08-04-2009, 10:36 AM   #6
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Slack64-current [KDE4]: Trying to start Konqueror as root is ridiculous. Phooey!

I was about to post a new thread with the above title, but found this one where the issue seems perfectly suited.

The problem *seems* to be something to do with either kdesud or kdeinit4.

I can *eventually* get a root konqueror, but it takes numerous restarts of kdeinit and/or kdeinit4 and maybe the odd `kill -HUP <kdesud PID>` to get a root konqueror to start.

Google shows several reports of the same issue.

What happens:

The first few times I try, kdesu often rejects my root password (though I can `su` from commandline no problem.)

After HUP'ing kdesud, my root password is now accepted, but no konqueror appears.

Sometimes, after trying again two or 3 times, a konqueror will start. If not, try restarting kdeinit and kdeinit4 as both root, and as the user trying to run kdesu.



Sasha

Last edited by GrapefruiTgirl; 08-04-2009 at 10:38 AM.
 
Old 08-04-2009, 11:21 AM   #7
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,549

Rep: Reputation: Disabled
Try
Code:
gksu konqueror
My girlfriend's running kde4.2 on Debian Squeeze/Sid and the above code works. It takes a moment after you've supplied your root password for konqueror to open up, but it does and in root mode.
edit: [FLASH] She tried it with kdesu and it works too. Just do alt-f2 and type that in.
cheers,
jdk

Last edited by jdkaye; 08-04-2009 at 11:26 AM.
 
Old 08-04-2009, 11:33 AM   #8
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Dupe again. Sorry (I get this problem of Dupes when my network is clogged/busy, which it is now.)

Last edited by GrapefruiTgirl; 08-04-2009 at 11:36 AM.
 
Old 08-04-2009, 11:33 AM   #9
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
@ jdkaye,

Thanks, but no go for me.

(remember, Slack has not nearly the Gnome stuff that Debian might)

There is no command 'gksu' or 'gtksu' on my system (Slack64-current), and running it via the ALT-F2 didn't help, BUT thanks for the ALT-F2 tip -- I didn't know of that, and I like that vs. opening a terminal and typung my command there.

Sasha
 
Old 08-04-2009, 11:41 AM   #10
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,549

Rep: Reputation: Disabled
@Sasha,
My pleasure. But that's why we tried kdesu afterwards. So even with 0 gnome packages you should be ok. I can't imagine why it would work on hers but not on yours. She's running a 2.6.30 kernel. Could that make a difference?
Cheers,
jdk
 
Old 08-04-2009, 01:34 PM   #11
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
I'm running 2.6.30.2 at the moment, so I suspect that's not influencing this.

Still, I appreciate your input!

Sasha
 
Old 08-04-2009, 01:34 PM   #12
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
I'm running 2.6.30.2 at the moment, so I suspect that's not influencing this.

Still, I appreciate your input!

Sasha
 
Old 08-04-2009, 01:50 PM   #13
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,549

Rep: Reputation: Disabled
does any (helpful) error message appear if you run it in a terminal?
I mean kdesu kwrite (or something similar).
jdk
 
Old 08-04-2009, 02:18 PM   #14
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Nope, nothing useful:

Code:
bash-3.1$ kdesu konqueror &
[1] 2356
bash-3.1$
the PID shown is that of kdesu. IIRC if/when a konqueror starts as it should, I believe there's no further output on the particular console, but I'll check this next time it starts correctly.
 
Old 08-07-2009, 11:31 PM   #15
gankoji
Member
 
Registered: Nov 2007
Location: Southern California
Distribution: Slackware-13.0 x86_64, Slackware 12.2, slackware64-current
Posts: 225

Rep: Reputation: 35
GrapefruiTgirl:

try it with strace, so that we can see precisely what the deal is. i.e.

Code:
somebody@yourbox:~/$ strace `kdesu konqueror &`
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgraded to Mandriva 2009, but cannot get kde4 working - still stuck on kde3.5 Turbo_Addict Mandriva 8 10-12-2008 01:29 AM
I Dont like Konqueror KDE4 yet browser Linux - Newbie 1 03-29-2008 03:05 PM
KDE4 icons stop working after major updates eco2geek Suse/Novell 1 03-08-2008 02:57 AM
Only Konqueror Working fotisman Suse/Novell 5 03-16-2006 03:55 PM
kdesu not working nykysle Linux - Distributions 2 11-22-2005 02:29 AM


All times are GMT -5. The time now is 08:44 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration