LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 04-08-2010, 07:05 AM   #1
ethereal1m
Member
 
Registered: Jan 2010
Distribution: slackware 13.0 64
Posts: 259

Rep: Reputation: 30
Question Kick off dolphin from terminal emulator inside KDE


Dear all,
I try to kick off dolphin from regular user account after executing "su -" from terminal emulator inside KDE, but got a error:
Code:
<unknown program name>(10707)/: KUniqueApplication: Cannot find the D-Bus session server:  "dbus-launch failed to autolaunch D-Bus session: Autolaunch error: X11 initialization failed.
"

<unknown program name>(10706)/: KUniqueApplication: Pipe closed unexpectedly.
Is this something to do with xwindow authorization? Please help.

regards,
ethereal1m
 
Old 04-08-2010, 07:14 AM   #2
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,520

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
Try " kdesu dolphin ".
If you get an error (as happens in Slackware 13.0), then try " kdesu 'dolphin --nofork' ".
 
Old 04-08-2010, 11:19 AM   #3
ethereal1m
Member
 
Registered: Jan 2010
Distribution: slackware 13.0 64
Posts: 259

Original Poster
Rep: Reputation: 30
there's a bug open that makes kdesu for dolphin doesn't act as root but instead as a regular user. Any other ideas?
 
Old 04-08-2010, 11:22 AM   #4
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,520

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
You do not do 'su' before running 'kdesu'. i.e. Start kdesu as a normal user.
 
Old 04-08-2010, 11:32 AM   #5
ethereal1m
Member
 
Registered: Jan 2010
Distribution: slackware 13.0 64
Posts: 259

Original Poster
Rep: Reputation: 30
According to KDE forum:
Quote:
This is a known bug, caused by the inability to contact KLauncher in the root session due to being unable to setup the D-Bus session bus properly.
See http://forum.kde.org/viewtopic.php?f=63&t=87032
 
Old 04-08-2010, 11:42 AM   #6
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,520

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
That bug report refers to the inability to launch other programs from within dolphin running under kdesu. You can still use dolphin to perform file operations (copying, moving, deleting) from within kdesu.
If you want to launch other programs while using a file manager running within kdesu, then I suggest using thunar, i.e. 'kdesu thunar'.
PS- If you search this forum, you will find an old thread that discusses this topic.
 
1 members found this post helpful.
Old 04-08-2010, 12:05 PM   #7
ethereal1m
Member
 
Registered: Jan 2010
Distribution: slackware 13.0 64
Posts: 259

Original Poster
Rep: Reputation: 30
Can thunar be run from KDE? Or is there any other way to make dolphin (from su terminal) launching applications?
 
Old 04-08-2010, 01:33 PM   #8
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 227Reputation: 227Reputation: 227
Perhaps my prior thread here is useful to you. It goes through running "a root version" of dolphin/konqueror.
 
1 members found this post helpful.
Old 04-08-2010, 11:27 PM   #9
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,520

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
Quote:
Can thunar be run from KDE?
Yes.
A tip for running thunar, so it uses icons, is to a create a file .gtkrc-2.0 in the home directory for a user (/root for root) containing this line.
Code:
gtk-icon-theme-name="Tango"
 
1 members found this post helpful.
Old 04-29-2010, 09:20 AM   #10
ethereal1m
Member
 
Registered: Jan 2010
Distribution: slackware 13.0 64
Posts: 259

Original Poster
Rep: Reputation: 30
Thanks guys!
 
  


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
Wine directory exists on HD, terminal can access, dolphin cannot - Gentoo elusive_night Linux - Newbie 3 08-19-2009 07:06 AM
Terminal Emulator JMJ_coder Linux - General 3 09-26-2007 06:09 PM
What is a terminal Emulator bharathgowda8 Linux - Software 5 09-06-2007 03:37 PM
terminal emulator iNET_boss Linux - Newbie 2 11-15-2005 04:06 PM
Terminal Emulator aukekim Linux - Software 5 09-07-2005 09:12 AM


All times are GMT -5. The time now is 01:19 PM.

Main Menu
Advertisement
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