[SOLVED] Dolphin error opening folder as root

Forum rules
Before you post please read how to get help
Post Reply
User avatar
Taffman
Level 3
Level 3
Posts: 133
Joined: Fri May 06, 2011 10:51 am
Location: United Kingdom
Contact:

[SOLVED] Dolphin error opening folder as root

Post by Taffman » Fri Oct 06, 2017 2:48 pm

Whenever I try and open a folder as 'Root' in dolphin, after entering the root password, I get this error:
The process for the file protocol died unexpectedly.
Is this a Linux Mint KDE 18.1 Plasma 64-bit bug?
Last edited by Taffman on Mon Oct 09, 2017 4:10 am, edited 1 time in total.
Linux Mint KDE 18.1 Plasma 64-bit, Dell Dimension 9200, 4GB, 2.4GHz Core2, Radeon X1300

minitux
Level 5
Level 5
Posts: 860
Joined: Tue Sep 12, 2017 10:05 am

Re: Dolphin error opening folder as root

Post by minitux » Fri Oct 06, 2017 3:28 pm

That service menu on mint kde 18.2 work properly, I used only 18.2 , never had install 18.1.

However, try to edit the sevice menu .desktop for Dolphin Root

Code: Select all

kdesudo kate /usr/share/kservices5/ServiceMenus/mint_root_dolphin.desktop
and in the file , change the line Exec= in

Code: Select all

Exec=kdesudo -c "KDE_SESSION_VERSION=5 KDE_FULL_SESSION=true dbus-launch dolphin %U"
after editing, save the file and close it and try dolphin open folder as root

dth2
Level 1
Level 1
Posts: 8
Joined: Wed Sep 13, 2017 7:35 am

Re: Dolphin error opening folder as root

Post by dth2 » Sun Oct 08, 2017 4:45 pm

I usually open a terminal window and use the command:

sudo dolphin

minitux
Level 5
Level 5
Posts: 860
Joined: Tue Sep 12, 2017 10:05 am

Re: Dolphin error opening folder as root

Post by minitux » Sun Oct 08, 2017 4:59 pm

it's best not to use sudo with graphics applications, furthermore, if you open dolphin with that command, then you have to explore the path where you want to go, while with the services menu (default on Mint KDE), you open the folder directly which you are positioned

EDIT: however, if he has the problem with the dolphin root service menu, he most likely also has him launching dolphin from terminal with sudo or kdesudo

User avatar
Taffman
Level 3
Level 3
Posts: 133
Joined: Fri May 06, 2011 10:51 am
Location: United Kingdom
Contact:

Re: Dolphin error opening folder as root

Post by Taffman » Mon Oct 09, 2017 4:09 am

Many thanks, your edits to mint_root_dolphin.desktop seems to have worked for me :D
Linux Mint KDE 18.1 Plasma 64-bit, Dell Dimension 9200, 4GB, 2.4GHz Core2, Radeon X1300

User avatar
catweazel
Level 15
Level 15
Posts: 5917
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Dolphin error opening folder as root

Post by catweazel » Mon Oct 09, 2017 4:16 am

minitux wrote:it's best not to use sudo with graphics applications
kdesudo works fine.

http://ksudo.sourceforge.net/kdesudo/
KdeSudo is a graphical frontend to the sudo command.
A new scientific truth does not triumph by convincing its opponents and making them see the light, but rather because its opponents eventually die, and a new generation grows up that is familiar with it. - Max Planck

minitux
Level 5
Level 5
Posts: 860
Joined: Tue Sep 12, 2017 10:05 am

Re: Dolphin error opening folder as root

Post by minitux » Mon Oct 09, 2017 5:14 am

catweazel wrote:
minitux wrote:it's best not to use sudo with graphics applications
kdesudo works fine.

http://ksudo.sourceforge.net/kdesudo/
KdeSudo is a graphical frontend to the sudo command.
yes, but most likely it does not work even kdesudo, it's a problem that had the first releases of kubuntu 16.04 and he has mint kde 18.1

User avatar
catweazel
Level 15
Level 15
Posts: 5917
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Dolphin error opening folder as root

Post by catweazel » Mon Oct 09, 2017 5:38 am

minitux wrote: yes, but most likely it does not work even kdesudo, it's a problem that had the first releases of kubuntu 16.04 and he has mint kde 18.1
Then he can try kdesu.
A new scientific truth does not triumph by convincing its opponents and making them see the light, but rather because its opponents eventually die, and a new generation grows up that is familiar with it. - Max Planck

minitux
Level 5
Level 5
Posts: 860
Joined: Tue Sep 12, 2017 10:05 am

Re: [SOLVED] Dolphin error opening folder as root

Post by minitux » Mon Oct 09, 2017 5:52 am

is the same, to run the dolphin open as root service menu he only must to modify the. desktop as I said.

almost certainly, if he starts dolphin with kdesudo or kdesu gets the same problem as the service menu

mandaputra8
Level 1
Level 1
Posts: 1
Joined: Tue Nov 21, 2017 1:52 pm

Re: Dolphin error opening folder as root

Post by mandaputra8 » Tue Nov 21, 2017 1:59 pm

minitux wrote:That service menu on mint kde 18.2 work properly, I used only 18.2 , never had install 18.1.

However, try to edit the sevice menu .desktop for Dolphin Root

Code: Select all

kdesudo kate /usr/share/kservices5/ServiceMenus/mint_root_dolphin.desktop
and in the file , change the line Exec= in

Code: Select all

Exec=kdesudo -c "KDE_SESSION_VERSION=5 KDE_FULL_SESSION=true dbus-launch dolphin %U"
after editing, save the file and close it and try dolphin open folder as root

this is my first comment, thanks thats work for me too

minitux
Level 5
Level 5
Posts: 860
Joined: Tue Sep 12, 2017 10:05 am

Re: [SOLVED] Dolphin error opening folder as root

Post by minitux » Mon Nov 27, 2017 6:30 pm

Nice :)

User avatar
Destry
Level 4
Level 4
Posts: 272
Joined: Thu Mar 03, 2016 11:57 am

Re: Dolphin error opening folder as root

Post by Destry » Sat Dec 23, 2017 3:50 am

minitux wrote:That service menu on mint kde 18.2 work properly, I used only 18.2 , never had install 18.1.

However, try to edit the sevice menu .desktop for Dolphin Root

Code: Select all

kdesudo kate /usr/share/kservices5/ServiceMenus/mint_root_dolphin.desktop
and in the file , change the line Exec= in

Code: Select all

Exec=kdesudo -c "KDE_SESSION_VERSION=5 KDE_FULL_SESSION=true dbus-launch dolphin %U"
after editing, save the file and close it and try dolphin open folder as root
Worked for me! :D Thanks!
Distro: Linux Mint 18.3 KDE
Quad core Intel Core2 Quad Q9550
NVIDIA GM206 [GeForce GTX 960]
ID-1: size: 1000.2GB SSD
ID-2: size: 2000.4GB
ID-3: size: 2000.4GB
ID-4: size: 3000.6GB

User avatar
BG405
Level 6
Level 6
Posts: 1189
Joined: Fri Mar 11, 2016 3:09 pm
Location: England

Re: [SOLVED] Dolphin error opening folder as root

Post by BG405 » Mon Dec 25, 2017 9:47 am

Bookmarked for future reference. 8) I've had the same issue with Dolphin; worked the first time & then just gave the aforementioned error message every subsequent attempt.
Dell Inspiron 1525 - LM17.3 CE 64-------------------Acer D255E 2GB - Manjaro KDE, LM17.3 KDE 32
Toshiba NB305 - LM17.3 Xfce 32---------------------K7S5A AMD 1.2GHz - LM17.3 Xfce 32 & WinXP-Pro
Acer Aspire E11 ES1-111M - LM18.2 KDE 64 ----Dell PII 350 64MB - Puppy 4.3 & Win98-SE

Post Reply

Return to “KDE”